-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Getting: Not found because of proxy error: Error: socket hang up #5
Comments
i am using https://cors-anywhere.herokuapp.com/ with port 443. I get "Not found because of proxy error: Error: connect ECONNREFUSED" when not using port 443 |
How to reproduce? |
https://cors-anywhere.herokuapp.com/api.bufferapp.com/1/profiles.json?access_token=[for security purposes I emailed you this] I performed a GET request and got: "Not found because of proxy error: Error: connect ECONNREFUSED." Note that I successfully made that request via JSONP. |
Reproduced error on the live server. Try out https://cors-anywhere-eu.herokuapp.com/. The source code is identical to cors-anywhere.herokuapp.com, but it's hosted in Europe instead of the US. To try out:
|
It appears that the Buffer API cannot be accessed over http. Calling the Buffer API without any proxies also results in an error if you use http:
To solve the problem, don't omit the scheme (https) and use the full URL.
|
That works! I think they changed something recently since I used to be able to use a proxy without adding the scheme. Nevertheless, I appreciate your help. |
No description provided.
The text was updated successfully, but these errors were encountered: