Skip to content

HTTP 502 and HTTP 504 Received from Curl Test given on Github #54

Description

@ktaylor007

Hi,

I just rand the following on my local desktop:

C:\Users\amcor>docker run -d -p 5566:5566 -p 4444:4444 --env tors=25 mattes/rotating-proxy
be67a2de890ddaeddee53672cd5c1fc46207c6bc09277e1b3c81f7331801d8ae

C:\Users\amcor>curl --proxy 127.0.0.1:5566 https://api.my-ip.io/ip
curl: (56) CONNECT tunnel failed, response 502

C:\Users\amcor>curl --proxy 127.0.0.1:5566 https://api.my-ip.io/ip
curl: (56) CONNECT tunnel failed, response 504

C:\Users\amcor>curl --proxy 127.0.0.1:5566 https://whatismyipaddress.com/
curl: (56) CONNECT tunnel failed, response 504

As you can see above, the curl test seems to always return a http 502 (Bad Gateway) or a http 504 (Gateway Timeout). Where is it going wrong? How can I fix this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions