question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception only when building and running

See original GitHub issue

Hey, 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:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
pmwisdomcommented, Jul 21, 2017

By the way the newest WebSocketSharp dll worked, but alas I found out it doesn’t work with WebGL!

0reactions
pmwisdomcommented, Jul 21, 2017

Doh! Just realized you had one in Vendor.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found