-
Notifications
You must be signed in to change notification settings - Fork 400
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
CORS issue? #388
Comments
I faced the same issue, but while trying to proxify Facebook – it shows me "CORS Missing Allow Origin". To what I found, it happens due to "302 Found" to "Location: /", obviously without CORS-headers in the response. Are your requests to the service sent thru sniproxy? Probably CDN's URL which was returned by API service has some kind of IP pinning and CDN expecting the request only from some certain host, denying all others. However in my case all API and CDN domains are mapped to VPS and all requests are passing thru sniproxy, but it still fails. I've:
Can't imagine where and how to check further. |
"CORS Missing Allow Origin" |
@scopolamine1401 where do you get the message "CORS Missing Allow Origin"? Could you please share logs? |
It is in Network tab of Inspect of Chrome. Check the response |
Did some experiments. Now I believe it happens due to HTTP/2 – disabling HTTP/2 in my Firefox helped me with Facebook. Found the issue here – #178, but have no time at the moment to study it. |
Doh. Better comment on the problem is here:
|
Hi,
Thanks so much for sniproxy, it is a great tool, love it!
However, I am struggling to make it work for CanalPlus, here is an example of what I have while I am connected to a VPN in France:
Everything works perfectly. However, when I am using my sniproxy instance, it says this:
I made sure that the domain resolved in my VPS IP when I do
Could it be from CORS? Any pointers on how to solve this?
Thanks so much in advance!
The text was updated successfully, but these errors were encountered: