-
Notifications
You must be signed in to change notification settings - Fork 5
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
EPIC: Language List unavailable for some domain and the program does not open #1582
Comments
Hi @foxprogs. Could you please provide the error in the console related to this CORS failure? And could you please try running a test using the link below? When I use that site (from a US-based IP address), I see the following: |
I also just ran a test from https://create.translationcore.com/ in a Chrome console that succeeded: fetch('https://td.unfoldingword.org/exports/langnames.json'); |
@jacobwegner |
@jacobwegner I don't have chrome but I have Brave. |
@foxprogs Thanks for the screenshots. So the last screenshot it looks to be a time out error (and I don't see the request in the logs). If you're able to reproduce the original CORS error from your first comment (#1582 (comment)) that might also be hepful. You mentioned that you can access the file from a VPN. When the VPN is disabled, is there any other kind of proxy or DNS configuration you're using? Put another way, when the VPN is disabled, can you reach the main homepage for translationDatabase: |
@jacobwegner The first screenshot was taken with firefox. There is also a timeout, if you look at the scale, you can see that more than 90 seconds have passed. It is possible that firefox somehow determines the type of error in a different way, and therefore he wrote that cors. From our region, there is no access not only to this file, but in principle to https://td.unfoldingword.org. I can only open this with vpn. For example, everything works with Georgia. |
@jacobwegner The site does not open not only for me. I tried with the provider at my place, with mobile internet. They can't open from other cities either. Most likely due to sanctions, access to the resource is somehow blocked. |
@foxprogs Can you check if the whole unfoldingword.org domain is blocked, or just the TD host? Does www.unfoldingword.org open? |
@yakob-aleksandrovich TD host only |
@jacobwegner Thanks for figuring out it had nothing do with CORS, but with a timeout. We'll have to work around the blockage, somehow, probably we'll need to setup the file at a different location, which requires a change to tcCreate. |
@jacobwegner @yakob-aleksandrovich Thank you. I'm sorry that I didn't accurately describe the error. It was necessary to me to specify at once that does not open because of a timeout. |
@foxprogs and @yakob-aleksandrovich: Another thing to try is with a different host name: https://translation-database.herokuapp.com/ |
And this domain works great https://translation-database.herokuapp.com/ |
Workaround Option 1: Use https://td2.unfoldingword.org/exports/langnames.json instead of https://td.unfoldingword.org/. |
@elsylambert @birchamp I think this is fixed. |
We have td2 and td3 available, of course. |
On top of that, it would be good to have this
|
Yes, this is now available in production https://git.door43.org/api/v1/languages/langnames.json |
Seems like td.unfoldingword.org is blocked from certain locations. We'll have to make a change to the tcCreate app so that the Language List is available to the users.
RU GL region does not have access to this file https://td.unfoldingword.org/exports/langnames.json
It turns out only if I use vpn. Therefore, the program cannot be started.
The text was updated successfully, but these errors were encountered: