I’m developing a web application using Realm + GraphQL + Apollo Client
I have a problem with connection to my realm on server
I created a realm on the server with path: /commonRealm (type is Full and user owner role is admin)
And on client I config below:
const credentials = Credentials.usernamePassword("my-username", "mypass"); const user = await User.authenticate(credentials, 'http://[my-ros-server]:9080'); const config = await GraphQLConfig.create( user, `/commonRealm` ); ...
But when I run my app, I got an error below:
WebSocket connection to 'ws://[my-ros-server]:9080/graphql/%2FcommonRealm' failed: Error during WebSocket handshake: Unexpected response code: 404
Please help me, Where can I go wrong during the configuration process or anything else?