[GH-ISSUE #852] If the language is set to Chinese, the system will crash. #598

Closed
opened 2026-05-07 00:25:43 +02:00 by BreizhHardware · 4 comments

Originally created by @mryongzhang on GitHub (Aug 30, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/852

🐞 Describe the bug

If the language is set to Chinese, the system will crash.

💻 Components impacted

web app

💡 Screenshots and/or logs

The call stack is shown as follows.
RangeError: Incorrect locale information provided
at log (http://192.168.2.77:8100/static/media/index-9e24212a.js:320:286)
at lse (http://192.168.2.77:8100/static/media/index-9e24212a.js:281:326)
at isMounted (http://192.168.2.77:8100/static/media/index-9e24212a.js:19518:38)
at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:44027:40)
at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:39763:40)
at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:39691:40)
at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:39545:40)
at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:35913:40)
at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:34864:40)
RangeError: Incorrect locale information provided
at at use (http://192.168.2.77:8100/static/media/index-9e24212a.js:326:238)
at at div
at at http://192.168.2.77:8100/static/media/index-9e24212a.js:55:6185
at at http://192.168.2.77:8100/static/media/index-9e24212a.js:61:22350
at at div
at at http://192.168.2.77:8100/static/media/index-9e24212a.js:55:6185
at at http://192.168.2.77:8100/static/media/index-9e24212a.js:61:20669
at at div
at at div
at at t (http://192.168.2.77:8100/static/media/index-9e24212a.js:263:1464)
at at IR (http://192.168.2.77:8100/static/media/index-9e24212a.js:286:86948)
at at ise (http://192.168.2.77:8100/static/media/index-9e24212a.js:286:86525)
at at rse (http://192.168.2.77:8100/static/media/index-9e24212a.js:286:86333)
at at oK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:3933)
at at pK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:6226)
at at main
at at http://192.168.2.77:8100/static/media/index-9e24212a.js:55:6185
at at http://192.168.2.77:8100/static/media/index-9e24212a.js:61:13098
at at Rde (http://192.168.2.77:8100/static/media/index-9e24212a.js:409:15094)
at at div
at at http://192.168.2.77:8100/static/media/index-9e24212a.js:55:6185
at at http://192.168.2.77:8100/static/media/index-9e24212a.js:61:13098
at at Ode (http://192.168.2.77:8100/static/media/index-9e24212a.js:409:13968)
at at oK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:3933)
at at gK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:6851)
at at Cce (http://192.168.2.77:8100/static/media/index-9e24212a.js:372:5834)
at at i (http://192.168.2.77:8100/static/media/index-9e24212a.js:250:3140)
at at GN (http://192.168.2.77:8100/static/media/index-9e24212a.js:61:18729)
at at YN (http://192.168.2.77:8100/static/media/index-9e24212a.js:61:19114)
at at D3 (http://192.168.2.77:8100/static/media/index-9e24212a.js:61:29727)
at at fK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:6285)
at at _K (http://192.168.2.77:8100/static/media/index-9e24212a.js:249:744)
at at Pde (http://192.168.2.77:8100/static/media/index-9e24212a.js:409:12627)
at at Suspense
at at Ade (http://192.168.2.77:8100/static/media/index-9e24212a.js:409:12872)

🔮 Additional context

The https://ntfy.sh/app is also experiencing the same issue.

Originally created by @mryongzhang on GitHub (Aug 30, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/852 :lady_beetle: **Describe the bug** <!-- A clear and concise description of the problem. --> If the language is set to Chinese, the system will crash. :computer: **Components impacted** <!-- ntfy server, Android app, iOS app, web app --> web app :bulb: **Screenshots and/or logs** <!-- If applicable, add screenshots or share logs help explain your problem. To get logs from the ... - ntfy server: Enable "log-level: trace" in your server.yml file - Android app: Go to "Settings" -> "Record logs", then eventually "Copy/upload logs" - web app: Press "F12" and find the "Console" window --> The call stack is shown as follows. RangeError: Incorrect locale information provided at log (http://192.168.2.77:8100/static/media/index-9e24212a.js:320:286) at lse (http://192.168.2.77:8100/static/media/index-9e24212a.js:281:326) at isMounted (http://192.168.2.77:8100/static/media/index-9e24212a.js:19518:38) at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:44027:40) at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:39763:40) at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:39691:40) at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:39545:40) at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:35913:40) at callback (http://192.168.2.77:8100/static/media/index-9e24212a.js:34864:40) RangeError: Incorrect locale information provided at at use (http://192.168.2.77:8100/static/media/index-9e24212a.js:326:238) at at div at at http://192.168.2.77:8100/static/media/index-9e24212a.js:55:6185 at at http://192.168.2.77:8100/static/media/index-9e24212a.js:61:22350 at at div at at http://192.168.2.77:8100/static/media/index-9e24212a.js:55:6185 at at http://192.168.2.77:8100/static/media/index-9e24212a.js:61:20669 at at div at at div at at t (http://192.168.2.77:8100/static/media/index-9e24212a.js:263:1464) at at IR (http://192.168.2.77:8100/static/media/index-9e24212a.js:286:86948) at at ise (http://192.168.2.77:8100/static/media/index-9e24212a.js:286:86525) at at rse (http://192.168.2.77:8100/static/media/index-9e24212a.js:286:86333) at at oK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:3933) at at pK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:6226) at at main at at http://192.168.2.77:8100/static/media/index-9e24212a.js:55:6185 at at http://192.168.2.77:8100/static/media/index-9e24212a.js:61:13098 at at Rde (http://192.168.2.77:8100/static/media/index-9e24212a.js:409:15094) at at div at at http://192.168.2.77:8100/static/media/index-9e24212a.js:55:6185 at at http://192.168.2.77:8100/static/media/index-9e24212a.js:61:13098 at at Ode (http://192.168.2.77:8100/static/media/index-9e24212a.js:409:13968) at at oK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:3933) at at gK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:6851) at at Cce (http://192.168.2.77:8100/static/media/index-9e24212a.js:372:5834) at at i (http://192.168.2.77:8100/static/media/index-9e24212a.js:250:3140) at at GN (http://192.168.2.77:8100/static/media/index-9e24212a.js:61:18729) at at YN (http://192.168.2.77:8100/static/media/index-9e24212a.js:61:19114) at at D3 (http://192.168.2.77:8100/static/media/index-9e24212a.js:61:29727) at at fK (http://192.168.2.77:8100/static/media/index-9e24212a.js:240:6285) at at _K (http://192.168.2.77:8100/static/media/index-9e24212a.js:249:744) at at Pde (http://192.168.2.77:8100/static/media/index-9e24212a.js:409:12627) at at Suspense at at Ade (http://192.168.2.77:8100/static/media/index-9e24212a.js:409:12872) :crystal_ball: **Additional context** <!-- Add any other context about the problem here. --> The https://ntfy.sh/app is also experiencing the same issue.
BreizhHardware 2026-05-07 00:25:43 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@Potat0000 commented on GitHub (Aug 31, 2023):

Duplicated #841

<!-- gh-comment-id:1700285134 --> @Potat0000 commented on GitHub (Aug 31, 2023): Duplicated #841
Author
Owner

@RoffeeN commented on GitHub (Sep 6, 2023):

Same, when language set to norwegian (in browser)
Solution: Cleared coockies for ntfy site, and reloaded. Left language in English.

Selfhosted, docker on ubuntu, apache proxy, Opera browser.

<!-- gh-comment-id:1707870562 --> @RoffeeN commented on GitHub (Sep 6, 2023): Same, when language set to norwegian (in browser) **Solution:** Cleared coockies for ntfy site, and reloaded. Left language in English. Selfhosted, docker on ubuntu, apache proxy, Opera browser.
Author
Owner

@Yrobot commented on GitHub (Oct 8, 2023):

Things get back when i clean the website local storage and reload.

<!-- gh-comment-id:1751974762 --> @Yrobot commented on GitHub (Oct 8, 2023): Things get back when i clean the website local storage and reload.
Author
Owner

@binwiederhier commented on GitHub (Nov 6, 2023):

This is a duplicate of #912, and fixed in #922. It will be in the next release.

<!-- gh-comment-id:1794546118 --> @binwiederhier commented on GitHub (Nov 6, 2023): This is a duplicate of #912, and fixed in #922. It will be in the next release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#598
No description provided.