mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 16:55:56 +03:00
[GH-ISSUE #666] Divide by Zero #3439
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#3439
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stig1102 on GitHub (Oct 26, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/666
Everything seems to be working. Now and then de notification "Divide by Zero" (function Site List)
Oct 26 16:22:38 ... nginx-ui[223814]: [GIN] 2024/10/26 - 16:22:38 | 200 | 17.948798ms | 192.168.178.89 | GET "/api/analytic/init"
Oct 26 16:22:40 ... nginx-ui[223814]: 2024-10-26 16:22:40 ERROR router/middleware.go:16 runtime error: integer divide by zero
Oct 26 16:22:40 ... nginx-ui[223814]: goroutine 33 [running]:
Oct 26 16:22:40 ... nginx-ui[223814]: github.com/uozi-tech/cosy/router.Init.recovery.func2.1()
@0xJacky commented on GitHub (Oct 26, 2024):
Did you try to remove the app.ini and reinstall nginx-ui again? I'm sorry that I can not reproduce this issue.
@0xJacky commented on GitHub (Oct 26, 2024):
If you want to know why a "divide by zero" error occurred, the page size in the app section of app.ini is not set.
@stig1102 commented on GitHub (Oct 26, 2024):
Check, I've change it to something like 1024 and the error is gone. What kind of value makes sense here?
Van: Jacky @.>
Verzonden: zaterdag 26 oktober 2024 16:54
Aan: 0xJacky/nginx-ui @.>
CC: stig1102 @.>; Author @.>
Onderwerp: Re: [0xJacky/nginx-ui] Divide by Zero (Issue #666)
If you want to know why a "divide by zero" error occurred, the page size in the app section of app.ini is not set.
—
Reply to this email directly, view it on GitHubhttps://github.com/0xJacky/nginx-ui/issues/666#issuecomment-2439608944, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A76LGQRPLLQDQU574RFAWVDZ5OUJHAVCNFSM6AAAAABQU3IACKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGYYDQOJUGQ.
You are receiving this because you authored the thread.Message ID: @.***>
@0xJacky commented on GitHub (Oct 26, 2024):
Normally we set it to 10 or 20, you can check this link for more details: https://nginxui.com/guide/config-app.html#pagesize.
@stig1102 commented on GitHub (Oct 26, 2024):
Oke, Its working thx for al your trouble.
Van: Jacky @.>
Verzonden: zaterdag 26 oktober 2024 17:02
Aan: 0xJacky/nginx-ui @.>
CC: stig1102 @.>; Author @.>
Onderwerp: Re: [0xJacky/nginx-ui] Divide by Zero (Issue #666)
Normally we set it to 10 or 20, you can check this link for more details: https://nginxui.com/guide/config-app.html#pagesize.
—
Reply to this email directly, view it on GitHubhttps://github.com/0xJacky/nginx-ui/issues/666#issuecomment-2439613132, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A76LGQQATBOSMVTRM6CUVRTZ5OVG7AVCNFSM6AAAAABQU3IACKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGYYTGMJTGI.
You are receiving this because you authored the thread.Message ID: @.***>