[GH-ISSUE #951] crash because language tag #665

Closed
opened 2026-05-07 00:26:24 +02:00 by BreizhHardware · 1 comment

Originally created by @alexyutmp on GitHub (Nov 19, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/951

🐞 Describe the bug

  • Create a docker image in synology docker
  • Login to ntfy
  • Change language to Simplified Chinese
  • Do a push test inside ntfy,
  • It crashes and shows the error messages

RangeError: invalid language tag: zh_Hans

Full stack is attached.

💻 Components impacted

💡 Screenshots and/or logs
RangeError: invalid language tag: zh_Hans
at DateTimeFormat ([native code]:undefined:undefined)
at log (http://192.168.50.2:3680/static/media/index-9e24212a.js:343:286)
at lse (http://192.168.50.2:3680/static/media/index-9e24212a.js:283:326)
at isMounted (http://192.168.50.2:3680/static/media/index-9e24212a.js:19519:38)
at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:44029:40)
at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:39765:40)
at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:39693:40)
at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:39547:40)
at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:35915:40)
at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:34866:40)
at unstable_now (http://192.168.50.2:3680/static/media/index-9e24212a.js:1560:25)
at unstable_now (http://192.168.50.2:3680/static/media/index-9e24212a.js:1927:25)
RangeError: invalid language tag: zh_Hans
at use@http://192.168.50.2:3680/static/media/index-9e24212a.js:326:240
at div
at @http://192.168.50.2:3680/static/media/index-9e24212a.js:55:6195
at @http://192.168.50.2:3680/static/media/index-9e24212a.js:61:22351
at div
at @http://192.168.50.2:3680/static/media/index-9e24212a.js:55:6195
at @http://192.168.50.2:3680/static/media/index-9e24212a.js:61:20670
at div
at div
at t@http://192.168.50.2:3680/static/media/index-9e24212a.js:263:1468
at IR@http://192.168.50.2:3680/static/media/index-9e24212a.js:286:86950
at ise@http://192.168.50.2:3680/static/media/index-9e24212a.js:286:86534
at rse@http://192.168.50.2:3680/static/media/index-9e24212a.js:286:86335
at oK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:3960
at pK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:6225
at main
at @http://192.168.50.2:3680/static/media/index-9e24212a.js:55:6195
at @http://192.168.50.2:3680/static/media/index-9e24212a.js:61:13100
at Rde@http://192.168.50.2:3680/static/media/index-9e24212a.js:409:15093
at div
at @http://192.168.50.2:3680/static/media/index-9e24212a.js:55:6195
at @http://192.168.50.2:3680/static/media/index-9e24212a.js:61:13100
at Ode@http://192.168.50.2:3680/static/media/index-9e24212a.js:409:13970
at oK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:3960
at gK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:6876
at Cce@http://192.168.50.2:3680/static/media/index-9e24212a.js:372:5839
at withI18nextTranslation(Cce)@http://192.168.50.2:3680/static/media/index-9e24212a.js:250:3139
at GN@http://192.168.50.2:3680/static/media/index-9e24212a.js:61:18738
at YN@http://192.168.50.2:3680/static/media/index-9e24212a.js:61:19141
at D3@http://192.168.50.2:3680/static/media/index-9e24212a.js:61:29735
at fK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:6337
at _K@http://192.168.50.2:3680/static/media/index-9e24212a.js:249:781
at Pde@http://192.168.50.2:3680/static/media/index-9e24212a.js:409:12649
at Suspense
at Ade@http://192.168.50.2:3680/static/media/index-9e24212a.js:409:12874

🔮 Additional context

Originally created by @alexyutmp on GitHub (Nov 19, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/951 :lady_beetle: **Describe the bug** <!-- A clear and concise description of the problem. --> - Create a docker image in synology docker - Login to ntfy - Change language to Simplified Chinese - Do a push test inside ntfy, - It crashes and shows the error messages > RangeError: invalid language tag: zh_Hans Full stack is attached. :computer: **Components impacted** <!-- ntfy server, Android app, iOS app, web app --> :bulb: **Screenshots and/or logs** RangeError: invalid language tag: zh_Hans at DateTimeFormat ([native code]:undefined:undefined) at log (http://192.168.50.2:3680/static/media/index-9e24212a.js:343:286) at lse (http://192.168.50.2:3680/static/media/index-9e24212a.js:283:326) at isMounted (http://192.168.50.2:3680/static/media/index-9e24212a.js:19519:38) at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:44029:40) at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:39765:40) at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:39693:40) at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:39547:40) at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:35915:40) at callback (http://192.168.50.2:3680/static/media/index-9e24212a.js:34866:40) at unstable_now (http://192.168.50.2:3680/static/media/index-9e24212a.js:1560:25) at unstable_now (http://192.168.50.2:3680/static/media/index-9e24212a.js:1927:25) RangeError: invalid language tag: zh_Hans at use@http://192.168.50.2:3680/static/media/index-9e24212a.js:326:240 at div at @http://192.168.50.2:3680/static/media/index-9e24212a.js:55:6195 at @http://192.168.50.2:3680/static/media/index-9e24212a.js:61:22351 at div at @http://192.168.50.2:3680/static/media/index-9e24212a.js:55:6195 at @http://192.168.50.2:3680/static/media/index-9e24212a.js:61:20670 at div at div at t@http://192.168.50.2:3680/static/media/index-9e24212a.js:263:1468 at IR@http://192.168.50.2:3680/static/media/index-9e24212a.js:286:86950 at ise@http://192.168.50.2:3680/static/media/index-9e24212a.js:286:86534 at rse@http://192.168.50.2:3680/static/media/index-9e24212a.js:286:86335 at oK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:3960 at pK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:6225 at main at @http://192.168.50.2:3680/static/media/index-9e24212a.js:55:6195 at @http://192.168.50.2:3680/static/media/index-9e24212a.js:61:13100 at Rde@http://192.168.50.2:3680/static/media/index-9e24212a.js:409:15093 at div at @http://192.168.50.2:3680/static/media/index-9e24212a.js:55:6195 at @http://192.168.50.2:3680/static/media/index-9e24212a.js:61:13100 at Ode@http://192.168.50.2:3680/static/media/index-9e24212a.js:409:13970 at oK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:3960 at gK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:6876 at Cce@http://192.168.50.2:3680/static/media/index-9e24212a.js:372:5839 at withI18nextTranslation(Cce)@http://192.168.50.2:3680/static/media/index-9e24212a.js:250:3139 at GN@http://192.168.50.2:3680/static/media/index-9e24212a.js:61:18738 at YN@http://192.168.50.2:3680/static/media/index-9e24212a.js:61:19141 at D3@http://192.168.50.2:3680/static/media/index-9e24212a.js:61:29735 at fK@http://192.168.50.2:3680/static/media/index-9e24212a.js:240:6337 at _K@http://192.168.50.2:3680/static/media/index-9e24212a.js:249:781 at Pde@http://192.168.50.2:3680/static/media/index-9e24212a.js:409:12649 at Suspense at Ade@http://192.168.50.2:3680/static/media/index-9e24212a.js:409:12874 <!-- 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 --> :crystal_ball: **Additional context** <!-- Add any other context about the problem here. -->
BreizhHardware 2026-05-07 00:26:24 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

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

Thank you for reporting.
This is a duplicate of #852, fixed in #922.

Will be in the next release which will be out (hopefully) soon

<!-- gh-comment-id:1817716300 --> @binwiederhier commented on GitHub (Nov 19, 2023): Thank you for reporting. This is a duplicate of #852, fixed in #922. Will be in the next release which will be out (hopefully) soon
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#665
No description provided.