-
Notifications
You must be signed in to change notification settings - Fork 1.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
Site-wide outage for german :de locale -- due to fallback fail #3961
Comments
It's still down for me. I asked another friend to try from his place (also germany) and for him the page is also down. Could this somehow be country related? |
oh wow... that's alarming! I will ask our systems administrator and there are services we can use to determine if it's regional. Thank you! |
@icarito this doesn't sound good -- i'm checking the logs but also https://www.locabrowser.com/ ??? haven't used it before. |
Locabrowser works in germany, france, and US... |
AHA -- this is related to translations. I see an error:
This is unfortunate but fixable! |
I'm exporting a list of missing translations here: http://publiclab.org/translations.log |
Removing duplications, these are missing:
However, we need to have a fallback as per #3262 -- so we can implement that to solve this instead of rushing to make (probably bad) translations. |
We could either catch |
Actually the above list is getting only controller translations, i guess... but missing view translations... regenerating it.... |
So we need to catch instances of both:
|
Sorry for the noise in here. The quick fix is to change your locale to english... looking at how to do that easily... |
OK, click here to switch to english locale for a short term fix: https://publiclab.org/change_locale/en Thank you so much for reporting this, and many apologies for the trouble!!!! |
This is strange, we do have fallbacks set up: plots2/config/environments/production.rb Lines 74 to 76 in 915f6b7
And we have all the settings enabled for fallbacks, too! Lines 58 to 67 in 915f6b7
Not sure why this isn't working, it probably needs local testing in production mode... |
Thx for taking care of the issue, your quick fix is working and I am happy now. |
thank you so much! We also added a notice to the error page so people know
the workaround until it's fixed.
…On Thu, Nov 15, 2018 at 4:32 AM derletztename ***@***.***> wrote:
Thx for taking care of the issue, your quick fix is working and I am happy
now.
Also I am happy that I could help you improve the quality of your page and
therefore others. I hope you find the root cause and can fix it :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3961 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ4ruqomp0vsbOxsJSOYTrHYBu_oeks5uvTSJgaJpZM4Yb1PO>
.
|
I would like to work on this! Thanking you in advance! |
oh that would be fantastic. Thank you so much!
…On Fri, Nov 16, 2018 at 9:42 PM Shubham Sangamnerkar < ***@***.***> wrote:
I would like to work on this! Thanking you in advance!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3961 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ6afYSoHh-ObTc0HmzPshQXOSXjJks5uv3d6gaJpZM4Yb1PO>
.
|
I am following this to set up the system in production mode locally. And there are multiple migrations that are failing. The only way I could think of is skipping those migrations, but the problem is that there are many of these, and I am pretty sure that skipping all of these will lead to a broken system and that wont work. Could you suggest some other way round? |
@jywarren there are people who faced the same issue as we. Even there fallbacks were not working in production. This is the link to that : svenfuchs/rails-i18n#654 |
OK, thanks for looking into this! That's surprising! |
I guess the issue being the production settings only meant that this error got past our test suite which is pretty thorough!!! https://github.com/publiclab/plots2/blob/master/test/integration/I18n_test.rb |
@jywarren I gone through the thread and yes, as per docs the method mentioned here by you -#3961 (comment) should be sufficient and we are already using it. keeping in view, we would be adding more languages to our website. What do you think is a good method to test this? Also, can you please copy the footer-notice feature in unstable.publiclab.org. unstable is currently using diff footer. Also, what do you think about #3998. I wasn't able to reproduce the issue tried with https://www.locabrowser.com/ |
Is the original poster able to give it another try? Thank you!
…On Fri, Mar 22, 2019 at 1:22 PM Gaurav Sachdeva ***@***.***> wrote:
@jywarren <https://github.com/jywarren> I gone through the thread and
yes, as per docs the method mentioned here by you -#3961 (comment)
<#3961 (comment)>
should be sufficient and we are already using it.
keeping in view, we would be adding more languages to our website. What do
you think is a good method to test this? Also, can you please copy the
*footer-notice* feature in unstable.publiclab.org. unstable is currently
using diff footer.
Also, what do you think about #3998
<#3998>. I wasn't able to
reproduce the issue tried with https://www.locabrowser.com/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3961 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ9BL7QuhR7XtHzj1JTTabZjhjFZoks5vZREqgaJpZM4Yb1PO>
.
|
hey @derletztename, can you give a try to our website using https://publiclab.org. And, if possible, maybe try all 3 languages (switch to a different language from dropdown present in the footer). Thanks! |
Hey for sure guys. Thanks for mending it :) |
@derletztename actually the change is very minor as we don't have many translations at working on dashboard. But, let's confirm by visiting a page where we're certain of the presence of translation - On this page https://publiclab.org/wiki/pipeline-monitoring So, can you replicate the browsing activity - https://drive.google.com/open?id=1_uHZtrghYUHcOVrCZpdp5sE2JiftPRoa and let us know if you get the same result as shown in the GIF? Thanks! |
Yeah, it's like in the gif. Those are ridiculously minor changes :D |
Yup :) |
Thank you so much @derletztename for helping. |
I believe this is resolved now through testing in #3961 (comment), closing now! I also think that if we do see an error like this in the future, we will be able to track it using Sentry.io |
Simultaneously other people were able to access the site, strangely.
This happened both on WiFi and cellular from the reporting person's comments.
We should check the logs to see what the error was and more about the requests.
The text was updated successfully, but these errors were encountered: