-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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: unable to verify the first certificate #99
Comments
CORS Anywhere only proxies requests (e.g. to access APIs or scrape websites that do not support CORS themselves). It is not a generic web proxy, and nor does not offer the ability to render sites. If you want to display SPAs, then you need to specifically parse the response body and load additional resources if needed. |
My purpose is to check the status of the server by doing long polling with http get request. I code it in Vue.js as frontend. So I use CORS Anywhere to proxy the request. Logically, "CORS Anywhere" supports simple "http get request" ?! It should just return anything from the website + CORS header?! |
That's the case (provided that the data is public of course, so not guarded by credentials such as cookies). If you believe that there is a bug on my service, please provide a test case that shows the problem, and also a test case that shows what should have happened. |
we can test in demo website. https://robwu.nl/cors-anywhere.html if you visit the an angular website from browser : |
The server uses a Let's Encrypt certificate. Re-opening because this needs to be investigated. |
It seems that the server is incorrectly configured. The command below shows that the response only includes the leaf certificate, and not any other certificates up to the chain of a root CA.
An example of a properly configured server that uses Let's Encrypt is:
As the operator of the server I can disable certificate verification, but that removes any security guarantees provides by HTTPS, so I am not going to do that. The |
The certificate also includes an "Authority Information Access" (AIA) field with the following value:
The last line could be used to look up additional information. Chrome implements AIA, that's why the site is correctly displayed in Chrome. To test in Firefox:
This is an issue with the site. The site should fix this. I suggest that you contact the operators of that website and point to this issue (in my previous comment I already explained at a high level what should be done). |
I understand that you cannot do changes but please tell how can i do it for me in my localhost if security is not an issue |
See https://github.com/Rob--W/cors-anywhere/issues/16#issuecomment-64266444 |
hi, i have a website that created by angular.
visitors can open the website from browser.
however, i cannnot use cors-anywhere to redirect the request to that website.
https://stocks.yeadev.com/
as
https://cors-anywhere.herokuapp.com/https://stocks.yeadev.com/
but i can request it for https://www.google.com/ (a non SPA)
as
https://cors-anywhere.herokuapp.com/https://www.google.com/
The text was updated successfully, but these errors were encountered: