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

Not found because of proxy error: Error: read ECONNRESET #420

Closed
de-it-projects opened this issue Apr 20, 2022 · 1 comment
Closed

Not found because of proxy error: Error: read ECONNRESET #420

de-it-projects opened this issue Apr 20, 2022 · 1 comment

Comments

@de-it-projects
Copy link

de-it-projects commented Apr 20, 2022

whilest using your plugin for github repo for the proxy server and calling to it with a link to get around the CORS-POLICY-ERROR we find ourself with this error:
Not found because of proxy error: Error: read ECONNRESET

the URL we're trying to use: (this is without using https:// in front of the 2nd link)
https://proxy.[domain].nl/[encoded_url]

if we use https:// on both we get the error:
The URL is invalid: two slashes are needed after the http(s):.

whilest using the Demo version of your plugin (https://cors-anywhere.herokuapp.com/corsdemo) we can send a request with "https://" in front of it and without.
If we remove this whilest using our own proxy we can do a POST but with the request to get results from our POST we get the error shown above
2022-04-20_15h36_10

@Rob--W
Copy link
Owner

Rob--W commented Jun 12, 2022

You need to configure your server to preserve the original request URL. See my reply to #417 including the links at https://github.com/Rob--W/cors-anywhere/issues/417#issuecomment-1094308715.

@Rob--W Rob--W closed this as completed Jun 12, 2022
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