-
Notifications
You must be signed in to change notification settings - Fork 0
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
Failing on some networks #3
Comments
Update from @avinashvarna - "I tried it on my wife's phone as well, out of curiosity. Didn't work there either (with wifi/cellular). Have you tried independently on a machine where you haven't logged in to vedavaapi ? And an excerpt from an earlier message:
|
Confirmed to work from an incognito window on my computer. |
On FF (Win), I get TypeError which seems to be covered by #2. I don't sign into chrome, so it's unlikely that there is a setting remembered across devices. However, same result from incognito mode as well: I think the main problem is the 403 Forbidden error. At that point, the server probably doesn't return the CORS header. Seems to be reproducible on all devices I have access to (including my wife's desktop and phone). |
I think this has to do with the server (api.vedavaapi.org) not supporting HTTPS correctly. For example, I can access http://api.vedavaapi.org/scala/swagger/index.html fine (if I type http explicitly), but https://api.vedavaapi.org/scala/swagger/index.html gives me a 403 error. I have the HTTPS everywhere plugin installed in Chrome which redirects traffic to https if the website supports it. |
The strange thing is that https://api.vedavaapi.org/scala/swagger/index.html works fine on my computer .. |
Curioser and curioser. 😮 Not sure if the server logs can help us. |
mitra, tvAm vedavApigaNe kasminchid adhunaivAmantritavAn; api cha https://github.com/vedavaapi/vedavaapi-servercfg/issues/6 ityasmin niyukto.asi |
Looking at the logs: There were a lot of: Googling brought me to: https://wiki.apache.org/httpd/ClientDeniedByServerConfiguration
Applying the recommended solution for Apache 2.4:
solves the issue. Now I can access https://api.vedavaapi.org/scala/swagger/index.html, the dict UI works fine on chrome etc. @vvasuki How was it ever working for you without this setting? |
I have modified the conf file on the server. Should I update this repo? Didn't want to do it because the server conf and the github versions didn't match to begin with. |
ಅಸ್ಯೋತ್ತರಮ್ ತು ನ ಜಾನಾಮಿ. |
परिवर्तनेषु मया केवलं २०-२२, २७-२९ योजितम् । अत्र उदाहृतं परिवर्तनं (३२-३७) मया न कृतम् । अत एव
इत्यवदं खलु ! |
PR प्रेषितम् । |
Merged - भविष्ये यथा भवान् साक्षात् रक्षितुं शक्नुयात् तथा व्यवस्था कृता। |
एतदपि चित्रम् पश्यतु -
इत्युक्तं खलु? https://github.com/vedavaapi/vedavaapi-servercfg/blob/7eeb5e5f11700b50bd09748a8df25973a9fcd84e/apache2/sites-available/vedavaapi.conf इत्यत्रैतावदेव +अदृश्यत -
|
bug in apache? न जानामि । |
Report from @avinashvarna (chrome+win) : https://pastebin.com/raw/AJXdK6jw
Prominent part:
This is strange, as CORS is enabled on the couchdb server (visible in the config file and the fauxton UI).
and indeed on my computer:
@avinashvarna - I wonder if there is some chrome setting you've made (honored across devices) that causes this? Can you check from an incognito window? Also, can you check firefox javascript console and open a new bug for it if needed?
The text was updated successfully, but these errors were encountered: