Persister already set panic #175

Closed
opened 2024-11-20 06:20:58 +01:00 by kamikazechaser · 2 comments
sessionid '+2547XXXXXXXX', rootpath 'root', flagcount 128, language '' <nil> [] <nil> 0xc0001700e0 false}
ussd-1               | 2024/11/20 04:34:19 http: panic serving 172.29.0.9:45694: persister already set
ussd-1               | goroutine 2020 [running]:
ussd-1               | net/http.(*conn).serve.func1()
ussd-1               | 	/usr/local/go/src/net/http/server.go:1947 +0xbe
ussd-1               | panic({0xa238c0?, 0xc27170?})
ussd-1               | 	/usr/local/go/src/runtime/panic.go:785 +0x132
ussd-1               | git.grassecon.net/urdt/ussd/internal/handlers/ussd.(*Handlers).WithPersister(...)
ussd-1               | 	/build/internal/handlers/ussd/menuhandler.go:111
ussd-1               | git.grassecon.net/urdt/ussd/internal/handlers.(*BaseSessionHandler).Process(_, {{0xc319f0, 0xc000180140}, {0xa0, {0xc00012a2b0, 0xd}, {0xb24bea, 0x4}, 0x80, 0x0, ...}, ...})
ussd-1               | 	/build/internal/handlers/base.go:57 +0x718
ussd-1               | git.grassecon.net/urdt/ussd/internal/http.(*ATSessionHandler).ServeHTTP(0xc000066038, {0xc303a8, 0xc0001700e0}, 0xc00017a000)
ussd-1               | 	/build/internal/http/at_session_handler.go:45 +0x475
ussd-1               | net/http.(*ServeMux).ServeHTTP(0x412b85?, {0xc303a8, 0xc0001700e0}, 0xc00017a000)
ussd-1               | 	/usr/local/go/src/net/http/server.go:2747 +0x1ca
ussd-1               | net/http.serverHandler.ServeHTTP({0xc2d708?}, {0xc303a8?, 0xc0001700e0?}, 0x6?)
ussd-1               | 	/usr/local/go/src/net/http/server.go:3210 +0x8e
ussd-1               | net/http.(*conn).serve(0xc00044c510, {0xc319b8, 0xc000190b10})
ussd-1               | 	/usr/local/go/src/net/http/server.go:2092 +0x5d0
ussd-1               | created by net/http.(*Server).Serve in goroutine 1
ussd-1               | 	/usr/local/go/src/net/http/server.go:3360 +0x485

``` sessionid '+2547XXXXXXXX', rootpath 'root', flagcount 128, language '' <nil> [] <nil> 0xc0001700e0 false} ussd-1 | 2024/11/20 04:34:19 http: panic serving 172.29.0.9:45694: persister already set ussd-1 | goroutine 2020 [running]: ussd-1 | net/http.(*conn).serve.func1() ussd-1 | /usr/local/go/src/net/http/server.go:1947 +0xbe ussd-1 | panic({0xa238c0?, 0xc27170?}) ussd-1 | /usr/local/go/src/runtime/panic.go:785 +0x132 ussd-1 | git.grassecon.net/urdt/ussd/internal/handlers/ussd.(*Handlers).WithPersister(...) ussd-1 | /build/internal/handlers/ussd/menuhandler.go:111 ussd-1 | git.grassecon.net/urdt/ussd/internal/handlers.(*BaseSessionHandler).Process(_, {{0xc319f0, 0xc000180140}, {0xa0, {0xc00012a2b0, 0xd}, {0xb24bea, 0x4}, 0x80, 0x0, ...}, ...}) ussd-1 | /build/internal/handlers/base.go:57 +0x718 ussd-1 | git.grassecon.net/urdt/ussd/internal/http.(*ATSessionHandler).ServeHTTP(0xc000066038, {0xc303a8, 0xc0001700e0}, 0xc00017a000) ussd-1 | /build/internal/http/at_session_handler.go:45 +0x475 ussd-1 | net/http.(*ServeMux).ServeHTTP(0x412b85?, {0xc303a8, 0xc0001700e0}, 0xc00017a000) ussd-1 | /usr/local/go/src/net/http/server.go:2747 +0x1ca ussd-1 | net/http.serverHandler.ServeHTTP({0xc2d708?}, {0xc303a8?, 0xc0001700e0?}, 0x6?) ussd-1 | /usr/local/go/src/net/http/server.go:3210 +0x8e ussd-1 | net/http.(*conn).serve(0xc00044c510, {0xc319b8, 0xc000190b10}) ussd-1 | /usr/local/go/src/net/http/server.go:2092 +0x5d0 ussd-1 | created by net/http.(*Server).Serve in goroutine 1 ussd-1 | /usr/local/go/src/net/http/server.go:3360 +0x485 ```
kamikazechaser added the
Kind/Bug
Priority
Critical
Runner
AT
labels 2024-11-20 06:20:59 +01:00
Owner

is this valid still?

is this valid still?
Owner

resolved #194

resolved https://git.grassecon.net/urdt/ussd/pulls/194
lash closed this issue 2024-12-02 16:51:33 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
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: urdt/ussd#175
No description provided.