Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket connection to xxx failed on Chromium #20

Open
putuyoga opened this issue Apr 12, 2015 · 0 comments
Open

Websocket connection to xxx failed on Chromium #20

putuyoga opened this issue Apr 12, 2015 · 0 comments

Comments

@putuyoga
Copy link

Hi, current i'm developing mobile apps (Xamarin) using disqus javascript mobile embed solution. While on Windows Phone work fine, on Android (minimum 5.0) WebView based on Chromium, this solution never work flawlessly.

I can login and success, but when back to embed page, i'm still not logged in. When try login again, i automatically back to embed page without enter credential again, and i assume session or cookies is work fine.

Trying see debug output, i've found this:

[chromium] [INFO:CONSOLE(0)] "Scripts may close only the windows that were opened by it.", source: (0)
[chromium] [INFO:CONSOLE(1)] "WebSocket connection to 'ws://realtime.services.disqus.com/ws/2/thread/3673053070?' failed: Error during WebSocket handshake: Unexpected response code: 400", source: http://a.disquscdn.com/next/embed/lounge.bundle.20b16d338a6075d33134dcc2ade8eb76.js (1)

Not sure, what is that, but i think the cause of this problem is disqus trying use websocket that not work on chromium ?

Temporary solution i have found is set my android target build to 4.4 and it will work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant