Exception only when building and running
See original GitHub issueHey, great plugin. I’ve successfully made a full lobby room with websockets in phoenix and your plugin and it works great up until I actually build and run it.
When I build and run I get this in the console:
<i>WindowsPlayer(DESKTOP-8SSLH3E)</i> 7/20/2017 12:35:09 PM|Fatal|WebSocket.acceptException|WebSocketSharp.WebSocketException: An exception has occurred while receiving a handshake. ---> System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: value
at WebSocketSharp.Ext.EqualsWith (Int32 value, Char c, System.Action`1 action) [0x00000] in <filename unknown>:0
at WebSocketSharp.WsStream.readHandshakeHeaders (System.IO.Stream stream) [0x00000] in <filename unknown>:0
at WebSocketSharp.WsStream.ReadHandshake[HandshakeResponse] (System.Func`2 parser, Int32 millisecondsTimeout) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at WebSocketSharp.WsStream.ReadHandshake[HandshakeResponse] (System.Func`2 parser, Int32 millisecondsTimeout) [0x00000] in <filename unknown>:0
at WebSocketSharp.WsStream.ReadHandshakeResponse () [0x00000] in <filename unknown>:0
at WebSocketSharp.WebSocket.receiveHandshakeResponse () [0x00000] in <filename unknown>:0
at WebSocketSharp.WebSocket.sendHandshakeRequest (WebSocketSharp.HandshakeRequest request) [0x00000] in <filename unknown>:0
at WebSocketSharp.WebSocket.sendHandshakeRequest () [0x00000] in <filename unknown>:0
at WebSocketSharp.WebSocket.doHandshake () [0x00000] in <filename unknown>:0
at WebSocketSharp.WebSocket.connect () [0x00000] in <filename unknown>:0
Any thoughts? Have you been able to successfully build and connect while using this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
nunit tests throwing exception only when run as part of tfs ...
I'm building and deploying a solution from Visual Studio 2015 using TFS 2012 without issues. I have decided to incorporate my unit tests...
Read more >Project throws exception only in debug mode
It works fine in Release Mode, but when I attempt to run the project in Debug mode it throws an exception. The exception...
Read more >Best practice to throws exception when creating a custom ...
The throws/exception only occurs when specifically runs the task, e.g: ./gradlew taskB (without parameter throw error) .
Read more >[SOLVED] Works in Unity, exception in build.
Code works fine, untill I do build & run, then I get an exception. Code (CSharp):. async Task Start().
Read more >Debug build runs fine, but release builds throw exception
When I run a Debug build it compiles and runs on the emulator just fine, but if I try to run a release...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
By the way the newest WebSocketSharp dll worked, but alas I found out it doesn’t work with WebGL!
Doh! Just realized you had one in Vendor.