Chrome/Canary issues
verysimplyms opened this issue · 1 comments
There seems to be a problem when trying to use both Chrome and Canary.
For example, when I connect FIRST using Chrome, THEN using Canary -- Everything works fine and as expected.
When using CANARY, then CHROME -- 'Missing error handler on socket' and 'Cannot read property of Undefined'
Furthermore, when I close Canary and continue to use Chrome, it once again resumes to return to normal. Lots of refreshing also tends to fix issues with my specific problem. However I use localStorage quite a bit, so it'd be rather helpful if I could use both browsers while experimenting with p2p,
ALSO: I'm getting an error where, when I spam refresh, i get an 'offerId of undefined' error as well.
EDIT: I was able to fix my initial problem with chrome/canary, as I had wrongly labeled my opts on the client side.(I still occasionally get cannot read property of undefined, but it's nowhere near as consistent as before.) The spam refreshing essentially crashing the server is still a problem, though.
Closing issue because now I can't recreate either problem. Going to assume wrongly labeled opts was the cause.
Is there any way to validate opts when it gets sent to the server?