RedpointArchive / netcode.io-browser

Browser extensions which enable the use of netcode.io (secure UDP) prior to adoption in web browsers
293 stars 22 forks source link

Golang server getting InvalidConnectToken #6

Closed jonpchin closed 6 years ago

jonpchin commented 6 years ago

Hi,

There seems to be a mismatch in the implementation when using the Golang server. It seems to work okay when using the Golang client and the Golang server but replace the Golang client with the netcode.io browser plugin and there are problems.

I am currently getting the error in the JS console:

"State is InvalidConnectToken"

I am using the Netcode.io installer that was provided on the link and the JS code sample on the demo website. I am running the netcode.io Golang server example. I did get another error before hand which was related to the string not able to be decoded but I resolved that, but this one has stumped me.