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

Shared proxies returning 407 status code error #30

Open
Patrick9263 opened this issue Sep 13, 2021 · 0 comments
Open

Shared proxies returning 407 status code error #30

Patrick9263 opened this issue Sep 13, 2021 · 0 comments

Comments

@Patrick9263
Copy link

Hi! I've been trying to use shared proxies using the API, but I keep receiving the error:

tunneling socket could not be established, statusCode=407

I saw in the README the parameters to the API are:

const stockX = new StockXAPI({
    proxy: 'proxyhere',
    currency: 'USD',
    userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1'
});

Where 'proxyhere' has the form (ip:port:user:pass). I was wondering if shared proxies that do not have passwords are supported? It's possible I just have it formatted incorrectly.. Just FYI, it does work properly for me with proxies that have a user and password.

Thanks!

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