Vorlonjs
Vorlonjs copied to clipboard
Websocket error after update iOS 10.3.1
Hi,
Everything was fine since yesterday. We upgrade our IOS device to version 10.3.1 and now we got "Websocket error" from vorlon.
We can see the console.log from the device on our cordova app, but are not enable for example to send command (like alert or whatever), and we cannot reach the device information anymore.
When the device's launch we got this (see screenshot).
Any idea? Everything work fine on Android.
Uninstall; Reinstall the app,and the problem's gone.
Weird.
Speaking too fast, probem came back.... Exactly the same.... Just after reload the app.
Deactivating DomExplorer, And ObjectExplorer seems to remove the error. Interactive console is working fine, but we cannot explorer dom and object.
I can reproduce the same error my iPhone and also my mac:
Here is the stack on Safari 10.1
When I put a break point here:
I see that it's throwing in json3 library.
Let us know how we can help to troubleshoot the issue
Hey guys!
Thanks for reporting this, I will have a look today :)
Cool Merci :)
Ok so I can reproduce it but it seems there is a racing condition here as it does not happen everytime. I am going to love fixing this... :) Keep you posted as soon as I know more
Yes, it's like random, I cannot reproduce anytime too, but most part of the time.
So i digged a little and apparently there is a regression in Safari in this build around websocket. Someone already created a bug issue in the webkit bugzilla: https://bugs.webkit.org/show_bug.cgi?id=170463
I will give them until next week to fix it and if they don't I will be forced to implement a workaround in Vorlon. I do not want to do it if I can avoid it.
Does it sound ok to you?
Yep, for now we don't use dom explorer or object explorer.
Calling console.log(object) or console.log(DOMHtml), do the job anyway, even if it's less user friendly.
Thank you for your attention meulta.
Waiting for the fix so.
@meulta Any update on this allready? :)
@michaelfaisst good question. :)
Gonna test with iOS 10.3.3 beta to see if this is resolved, will report back
I still face this problem in the last Vorlon js and Safari version. any update?
I was searching for this same issue in a different context and I think it's fixed in 10.3.3. I couldn't reproduce the bug with 10.3.3