Websocket connection_init message not send when using spring-graphql with spring-webmvc and undertow #1112
Labels
for: team-attention
An issue we need to discuss as a team to make progress
status: waiting-for-triage
An issue we've not yet triaged
Dependencies
Description
When executing a subscription using spring graphql with spring-webmvc, spring-websocket and an undertow server, the server throws an error because the ACK message during connection init cannot be sent. During connection init, in
org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler
the methodsession.sendMessage(outputmessage)
does not return until an timeout Exception is thrown.However, when removing
.publishOn(state.getScheduler())
, everything works fine and the ACK message is send.Reproduce
To reproduce the issue i added a minimal sample project :
DemoApplication
http://localhost:8080/graphiql
The text was updated successfully, but these errors were encountered: