Skip to content

Disconnect during handshake #23

@addudley

Description

@addudley

This is my first attempt at using anything with graphql. Just trying to get a simple example running. I followed the setup instructions provided, including the creation of the "hello world" subscription and an exact copy of the routing.py file.

When I try to connect to the websocket server from my web browser, my server displays the following:
INFO 2020-06-08 17:10:53,544 runserver 105285 140070039136000 WebSocket HANDSHAKING /graphql/ [127.0.0.1:41850] WebSocket DISCONNECT /graphql/ [127.0.0.1:41850] INFO 2020-06-08 17:10:57,761 runserver 105285 140070039136000 WebSocket DISCONNECT /graphql/ [127.0.0.1:41850]

and the browser displays
WebSocket connection to 'ws://localhost:8000/graphql/' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET

I can't seem to complete the handshake, and don't receive any error to help debug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions