-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
404 Error: getaddrinfo ENOTFOUND https https: 80 #201
Comments
The issue is the same: You're using normalized URLs. See the documentation at https://httpd.apache.org/docs/current/mod/mod_rewrite.html#RewriteCond |
Thank you, @Rob--W ! My solution:
Note above that Furthermore, I was not able to stack RewriteCond lines and extract multiple capture groups for each line and having a reference to them (e.g. using %1 for a capture group for the first |
Hi! I'm working on angular project and from there I'm trying to post some logs to a server, but while hitting that server I got CORS error, and on searching I found that if I append https://cors-anywhere.herokuapp.com with my URL it'll work. So after adding it my CORS error gone but now I'm getting proxy error like this:- Not found because of proxy error: Error: getaddrinfo ENOTFOUND ..com. This is my code snippet and my LOGNESS_LOG_EVENT_URL is as :- https://cors-anywhere.herokuapp.com/https://********. Please provide soln to this as I got stuck here. |
Hello,
I have Cors-anywhere hosted in a docker container on a server that receives traffic directed as a rewrite from another container running apache. The apache container runs a web app, and upon being loaded in the browser, sends requests via a proxy to cors-anywhere like:
https:///cors-anywhere/https://.../
A simple rewrite rule in the apache container directs traffic to the container running cors-anywhere:
RewriteRule "^/cors-anywhere/(.*)$" "http://${CORS_ANYWHERE_SERVER_HOST}:${CORS_ANYWHERE_SERVER_PORT}/$1" [P,NC,L]
When run locally, everything works fine. However, when hitting the server, I get this response:
Not found because of proxy error: Error: getaddrinfo ENOTFOUND https https: 80
I am aware that an issue was raised with an identical error, but I don't know how to address it in apache. Furthermore, I don't necessarily think the causes are the same either.
Possible related issue #167
The text was updated successfully, but these errors were encountered: