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

read message:websocket: close 1006 (abnormal closure): unexpected EOF #17

Closed
xfort opened this issue Jun 6, 2017 · 4 comments
Closed

Comments

@xfort
Copy link

xfort commented Jun 6, 2017

RemoteDebugger.EvaluateWrap(jsString),
if len(jsString)>2000, it do not work

@raff
Copy link
Owner

raff commented Jun 6, 2017

I can reproduce the problem, with a bigger string. But I think it's a problem with headless chrome.
I'll see if I can report the bug.

@xfort
Copy link
Author

xfort commented Jun 6, 2017

I use "github.com/knq/chromedp" to do a test,it can work (send bigger string ).
And, I find you use the same "github.com/gorilla/websocket".
I do not like "chromedp",too cumbersome.
Maybe it is not bug of chrome.
I hope you can understand my bad English。
0.0

@xfort
Copy link
Author

xfort commented Jun 6, 2017

env : go_version=1.8.1
OS=macOSX
Chromium start cmd=--no-default-browser-check --remote-debugging-port=9222

@raff
Copy link
Owner

raff commented Jun 6, 2017

You were right. I looked at chromedp and fixed my side. Thanks!

3a46de0

@raff raff closed this as completed Jun 6, 2017
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

2 participants