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

Docker image is broken #99

Closed
ghost opened this issue Feb 17, 2018 · 2 comments
Closed

Docker image is broken #99

ghost opened this issue Feb 17, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 17, 2018

I'm using Scrapoxy with Docker. I followed Quick Start :
1- Get AWS credentials (done)
2- Create a security group (done)
3- Run Scrapoxy with Docker, with the following command:
sudo docker run -e COMMANDER_PASSWORD='xxxxxxxxxxxx' \ -e PROVIDERS_AWSEC2_ACCESSKEYID='xxxxxxxxxxxxxxxx' \ -e PROVIDERS_AWSEC2_SECRETACCESSKEY='xxxxxxxxxxxxxxxxx' \ -it -p 8888:8888 -p 8889:8889 fabienvauchelles/scrapoxy

4- Go to http://localhost:8889,
screenshot from 2018-02-17 14-43-37

Then after waiting for 5 minutes I open another terminal and run the test:

scrapoxy test http://localhost:8888

it takes some time and prints out:

2018-02-17T12:04:39.729Z - error: [Test] Error: Cannot get IP address: Error: socket hang up at createHangUpError (_http_client.js:330:15) at Socket.socketOnEnd (_http_client.js:423:23) at Socket.emit (events.js:165:20) at endReadableNT (_stream_readable.js:1101:12) at process._tickCallback (internal/process/next_tick.js:152:19)

when I try the other test:

curl --proxy http://127.0.0.1:8888 http://api.ipify.org

same behavior but with a different error message:

curl: (52) Empty reply from server

I searched previous issues but nothing seems similar to my case
How can I fix this?

Thanks in advance,
Mostafa

@ghost
Copy link
Author

ghost commented Feb 18, 2018

@fabienvauchelles any ideas?

@fabienvauchelles
Copy link
Owner

duplicate of #97

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