when backplane is not up, .Net client webSockets connection becomes connected after start #2186

Closed
Xiaohongt opened this Issue Jun 21, 2013 · 6 comments

Projects

None yet

3 participants

@Xiaohongt
SignalR member

Functional impact:
when backplane is not up, in .Net client start webSockets connection and connection become connected, but it should not be connected when backplane is not up.

Repro:
1). use the asp.net sample as app server
2). in the asp.net sample Startup update to use scale-out but make backplane not up
3). build and start the asp.net sample
4). use Client.Samples for .Net client, build it
5). run the sample exe file, choose webSockets

Expected result:
.Net client webSockets connection become disconnected

Actual result:
connection is connected, here is output from the sample exe:

URL: http://localhost:40476/raw-connection/
Choose transport:
1. AutoTransport
2. WebSocketsTransort
3. ServerSentEventsTransport
4. LongPollingTransport
Option: 2
Disconnected => Connecting
Connecting => Connected
Using webSockets

@davidfowl
SignalR member

@NTaylorMullen Don't we only raise connect when the init message is received?

@NTaylorMullen

Correct

@davidfowl
SignalR member

@Xiaohongt is this with the latest .NET client as well?

@davidfowl davidfowl was assigned Jun 27, 2013
@Xiaohongt
SignalR member

this should be same as the #2219

@Xiaohongt Xiaohongt was assigned Jun 27, 2013
@davidfowl
SignalR member

This was fixed as a result of #2219 as well.

@Xiaohongt
SignalR member

verified

@Xiaohongt Xiaohongt closed this Jun 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment