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

Splash wont load home page on 8050, cannot run script #797

Open
Swordyjohn opened this issue Jul 25, 2018 · 2 comments
Open

Splash wont load home page on 8050, cannot run script #797

Swordyjohn opened this issue Jul 25, 2018 · 2 comments

Comments

@Swordyjohn
Copy link

Swordyjohn commented Jul 25, 2018

Hello, I am having an issue with splash. when running the
"docker run -p 5000:5000 -p 5023:5023 scrapinghub/splash"
commmand I am getting the
"Starting factory <twisted.web.server.Site object at 0x7efc279d97f0>" hang time in my powershell (windows 10),
and localhost:8050 shows no page.
in addition, when i run the example script from the docs it returns:"ConnectionError: HTTPConnectionPool(host='localhost', port=8050): Max retries exceeded with url: /run (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000209C41382B0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',))"
i cannot locate port 8050 with a netstat search. any ideas on how to fix this?

@lopuhin
Copy link
Member

lopuhin commented Jul 26, 2018

@Swordyjohn it could be that on Windows you need to use a different ip address instead of localhost, please see https://docs.docker.com/machine/reference/ip/

@Swordyjohn
Copy link
Author

Thank you for getting back to me lopuhin, I tried to navigate to all 3 of these ip addresses using both port 5000 and port 8050 and neither worked to bring up the splash page. When i first installed splash i was able to navigate to this page with localhost:8050 but now i am unable to. when i try to start it with :
docker run --restart=always --expose 8050 --net=host -p 8050:8050 scrapinghub/splash
I get the following error:

2018-07-30 21:43:08.567199 [-] twisted.internet.error.CannotListenError: Couldn't listen on 0.0.0.0:8050: [Errno 98] Address already in use.

as stated before i cannot locate 8050 with a netstat search, i am thinking maybe splash is still running on this port? any idea how i can either get it to start again on this port or switch it to a new port?

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