kerryjiang / WebSocket4Net

A popular .NET WebSocket Client
752 stars 272 forks source link

Looking for commit id of NuGet package release #137

Closed dxdxdt closed 6 years ago

dxdxdt commented 6 years ago

Howdy,

I'm looking for the commit id of the NuGet package version 0.14.1. There's no way for me to find this specific commit(no tag, release note), but I assume it's c54a0cf13a3469d3237d4878f3e62c88695194f7?


Amazon GameLift Server API depends on the version 0.14.1. I've imported the API to my Unity project to service the multiplayer game.

I'm investigating a bug where the WebSocket connection to a server is dropped after 1000~3600 seconds for reasons unknown. I think the issue #47 is legit. Packet capture suggests that there's no sign of any malformed WebSocket frame coming in or out and that the library sends a close frame to the server like it's closing normally. GameLift Server API handles connection lost, so the WebSocket connection is reestablished automatically. However, there's another bug in GameLift Service(whitewater) process where the proces doesn't recognize the reconnection, terminating the game process reporting healthy through the reestablished connection.

There's still a lot to scrutinise, so more on the way. But one thing is sure: These two bugs must be fixed. Amazon should make their move. I'll elaborate #47 when I identify the issue.

dxdxdt commented 6 years ago
WebSocket
    1... .... = Fin: True
    .000 .... = Reserved: 0x0
    .... 1000 = Opcode: Connection Close (8)
    1... .... = Mask: True
    .000 0010 = Payload length: 2
    Masking-Key: ba4acc8e
    Masked payload
    Payload
        Close
            Status code: Normal Closure (1000)
dxdxdt commented 6 years ago

nvm. On the second thought, I'll just contact Amazon to fix their bug. I give up. What is this SuperSocket anyway? What a mess.