Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Problem with websocket

    Posted 06-05-2025 19:21

    Falcon | 2021-07-30 15:15:32 UTC | #1

    Hello,

    I am having a problem trying to connect a web socket for a conversation with the Guest Chat API. Sometimes I am getting the message:

    The server returned status code '500' when status code '101' was expected

    These last few days I am receiving this error message, it is a new error message for me. Check the code and i get when i try to connect to the websocket. I attach the code that I am using to carry out the connection.

    ClientWebSocket webSocket; try { webSocket = new ClientWebSocket(); webSocket.ConnectAsync(new Uri(jwtToken.UrlWebSocket), CancellationToken.None).Wait(); } catch (Exception e) { throw e; }

    It is specifically that catch that is catching the error I receive when trying to connect to the websocket to start the conversation


    John_Carnell | 2021-07-30 20:59:19 UTC | #2

    Hi Falcon,

    I talked with the Auth team and the Notifications teams. They have been seeing some socket errors on their end that they believe were being caused by some undersizing of the Redis pool backing this service. They deployed a fix late last night. So I suggest if you continue to see an error like above, I would open a ticket with our Customer Care team.

    If you do end up opening a ticket, make sure you include a link to this post. This will provide context and help them assign the ticket to the appropriate engineering team for further research.

    Thanks, John Carnell Manager, Developer Engagement


    system | 2021-08-30 20:27:31 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 11627