burkeholland / burkeholland/workshop-vs-code-can-do-that

Server returned handshake error

Open
#19 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
247
Forks
121
PR merge metrics
No merged PRs in 30d

Description

At the start of "exercise-3", trying to pull up the site returns these 3 errors that stop the light from displaying anything and seems like it cannot connect to the API.

`Uncaught Error: Server returned handshake error: SignalR Service is now in 'Default' service mode. Current mode works as a proxy that routes client traffic to the connected app servers. However app servers are not connected.
at HubConnection.processHandshakeResponse (signalr.min.js:16)
at HubConnection.processIncomingData (signalr.min.js:16)
at WebSocketTransport.HubConnection.connection.onreceive (signalr.min.js:16)
at WebSocket.webSocket.onmessage (signalr.min.js:16)`

`Error: Connection disconnected with error 'Error: Server returned handshake error: SignalR Service is now in 'Default' service mode. Current mode works as a proxy that routes client traffic to the connected app servers. However app servers are not connected.'.`

`app.js:47 Uncaught (in promise) Server returned handshake error: SignalR Service is now in 'Default' service mode. Current mode works as a proxy that routes client traffic to the connected app servers. However app servers are not connected.`

Following the link "https://lifx-lamp-api.azurewebsites.net/api" which is where the API end point lives returns a "page cannot be found"

This seems to be similar to this issue, https://github.com/burkeholland/workshop-vs-code-can-do-that/issues/9

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with app.js at line 47 and reproduce the handshake failure while loading "exercise-3". Check the Azure API endpoint at lifx-lamp-api.azurewebsites.net/api and compare the symptoms with issue 9; done means the site connects to the API and the light displays instead of returning the SignalR handshake errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, javascript
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.