-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Error on Post Request #16
Comments
Could you paste an example of the request: URL, headers, request payload (POST data)? |
Sure.. Here is an image of the header response: I'm running my app on Blackberry Z10, the image capture is from the web inpector and the response is this: "Not found because of proxy error: Error: CERT_HAS_EXPIRED". The URL requestet its working, I test the same request on a RESTClient on firefox and work OK. |
In a copy-pasteable format, please. |
Sorry, here: Request URL:https://cors-anywhere.herokuapp.com/https://qa.sisa.msal.gov.ar/sisaqa/services/rest/seguridad/autenticar Request Headers Request payload Response Headers |
The error appears to be correct. The server's certificate has been expired (on 2014-01-17 13:07:54 GMT). Below is what I get if I make a request with curl (and the This is not an issue with cors-anywhere, the target server should be configured correctly (update the SSL certificate).
|
Thanks for the quick response!!! Anyway, thanks again! |
You could put an instance of cors-anywhere on an own server (e.g. using Heroku, see README.md in this repository for more information), and add the following environment variable: E.g. after setting up a Heroku instance, run the following command:
|
Thanks! |
im having the same error but i dont understand where do i need to insert this in the server code "NODE_TLS_REJECT_UNAUTHORIZED=0" |
i have the same problem in vps, i am using jquery for call external API but get the same error, how i can fix it? |
I was trying from browser and getting this => Error: unable to get local issuer certificate in file cors-anywhere.js at line 418 Just change the line
to
It worked! |
@imsourya |
Yes @Rob--W , You are right, We shouldn't change the code, Actually I was facing problem in setting environment variable in windows system so tried using this. |
Hi, I'm using the proxy for a mobile app with phonegap. I can do the GET request with any problem, but when I'm doing the POST request, the response is the following: "Not found because of proxy error: Error: CERT_HAS_EXPIRED"
The header is this:
The text was updated successfully, but these errors were encountered: