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

On-demand chrome window auto-closing with error #6

Closed
d-tdhillon opened this issue Mar 19, 2023 · 3 comments
Closed

On-demand chrome window auto-closing with error #6

d-tdhillon opened this issue Mar 19, 2023 · 3 comments
Assignees

Comments

@d-tdhillon
Copy link

I am setting up my environment on a new mac machine (M1 processor). I am getting the below error when I am trying to run spproxy.

go run ./samples/spproxy -strategy ondemand -config ./config/private.json

The chrome window temporarily flashes and closes with the below message in the terminal

2023/03/19 09:38:23 can't request the site, unable to request api: websocket.Dial ws://127.0.0.1:51290/devtools/browser/4a02b57d-72a3-40cd-8d1e-26f71c775dda: bad status
exit status 1

Any suggestions on what potentially could be the problem ?

Thanks
Tarun

@koltyakov
Copy link
Owner

Hi @d-tdhillon,

Looks like this zserge/lorca#184

Checking if adding this Chrome flag will help.

@koltyakov koltyakov self-assigned this Mar 19, 2023
@koltyakov
Copy link
Owner

Yep, that was it. Worked for me. 8845e13

@d-tdhillon
Copy link
Author

Thanks @koltyakov ! That worked for me too..

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