You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to set up a basic graphql project using Spring-Graphql. When starting the project, I first set it up using the com.graphql-java-kickstart graphql-spring-boot-starter and spring boots websocket starter and had everything working. When attempting to listen on ws://localhost:8080/subscriptions it would connect and start listening and would pull data. I then found this project and wanted to switch. I changed everything over, my queries work great, but now, when I try to connect to ws://localhost:8080/subscriptions to listen for subscriptions, I get the following error in the graphql playground.
{
"error": "Could not connect to websocket endpoint ws://localhost:8080/subscriptions. Please check if the endpoint url is correct."
}
Seems as though the websocket component is not being stood up by the starter provided.
Note: I have the following property set in my config - spring.graphql.websocket.path=/subscriptions