-
-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Description
Read the FAQ first!
Describe the bug
Users encounter error 500 on email validation during account creation via an invation link.
To Reproduce
- Enable Discord and Jellyseerr
- Enable Email verification
- Use an invite link to create an account
- After verifying the email, user get a 500 error
- User is still created, and the policy is applied, but doesn't receive welcome email, and the email contact isn't added on Jellyseerr
Logs
2024/11/19 15:48:50 stdout [ERROR] 15:48:50 users.go:125: �[31mFailed to apply configuration template for Jellyfin user "f7e56080058a483292f6b65606d54db6": 400 Unauthorized, check credentials.�[0m
2024/11/19 15:48:51 stdout
2024/11/19 15:48:51 stdout
2024/11/19 15:48:51 stdout �[31m2024/11/19 15:48:51 [Recovery] 2024/11/19 - 15:48:51 panic recovered:
2024/11/19 15:48:51 stdout GET /invite/bcjydnu6z6QDpdWVdWXN5b?key=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzIwMjk0OTcsImludml0ZSI6ImJjanlkbnU2ejZRRHBkV1ZkV1hONWIiLCJ0eXBlIjoiY29uZmlybWF0aW9uIiwidmFsaWQiOnRydWV9.14N0NMZ7wLQn2OGvTxQGTGKtkkyuZgnsvvuBv2yrwX0 HTTP/1.1
2024/11/19 15:48:51 stdout Host: account.bastflix.vydees.net
2024/11/19 15:48:51 stdout Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8
2024/11/19 15:48:51 stdout Accept-Encoding: gzip, deflate, br, zstd
2024/11/19 15:48:51 stdout Accept-Language: en-GB,en;q=0.9
2024/11/19 15:48:51 stdout Connection: close
2024/11/19 15:48:51 stdout Dnt: 1
2024/11/19 15:48:51 stdout Sec-Ch-Ua: "Chromium";v="130", "Brave";v="130", "Not?A_Brand";v="99"
2024/11/19 15:48:51 stdout Sec-Ch-Ua-Mobile: ?0
2024/11/19 15:48:51 stdout Sec-Ch-Ua-Platform: "macOS"
2024/11/19 15:48:51 stdout Sec-Fetch-Dest: document
2024/11/19 15:48:51 stdout Sec-Fetch-Mode: navigate
2024/11/19 15:48:51 stdout Sec-Fetch-Site: none
2024/11/19 15:48:51 stdout Sec-Fetch-User: ?1
2024/11/19 15:48:51 stdout Sec-Gpc: 1
2024/11/19 15:48:51 stdout Upgrade-Insecure-Requests: 1
2024/11/19 15:48:51 stdout User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
2024/11/19 15:48:51 stdout X-Forwarded-By: 192.168.82.2
2024/11/19 15:48:51 stdout X-Forwarded-For: 192.168.82.135
2024/11/19 15:48:51 stdout X-Forwarded-Port: 443
2024/11/19 15:48:51 stdout X-Forwarded-Proto: https
2024/11/19 15:48:51 stdout X-Real-Ip: 192.168.82.135
2024/11/19 15:48:51 stdout
2024/11/19 15:48:51 stdout
2024/11/19 15:48:51 stdout interface conversion: main.ContactMethodUser is nil, not *main.DiscordUser
2024/11/19 15:48:51 stdout /usr/local/go/src/runtime/iface.go:262 (0x413e30)
2024/11/19 15:48:51 stdout panicdottypeE: for _, md := range activeModules() {
2024/11/19 15:48:51 stdout /usr/local/go/src/runtime/iface.go:272 (0x413de9)
2024/11/19 15:48:51 stdout panicdottypeI: // want = the static type we're trying to convert to.
2024/11/19 15:48:51 stdout /opt/build/api-users.go:332 (0xf376a8)
2024/11/19 15:48:51 stdout /opt/build/views.go:688 (0xfae06a)
2024/11/19 15:48:51 stdout /opt/build/views.go:738 (0xfaf667)
2024/11/19 15:48:51 stdout /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x97e6f9)
2024/11/19 15:48:51 stdout /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 (0x97e6e7)
2024/11/19 15:48:51 stdout /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x97d824)
2024/11/19 15:48:51 stdout /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 (0x97d80b)
2024/11/19 15:48:51 stdout /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x97cc11)
2024/11/19 15:48:51 stdout /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0x97c680)
2024/11/19 15:48:51 stdout /go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0x97c1b1)
2024/11/19 15:48:51 stdout /usr/local/go/src/net/http/server.go:3142 (0x7127ed)
2024/11/19 15:48:51 stdout serverHandler.ServeHTTP: // StateClosed.
2024/11/19 15:48:51 stdout /usr/local/go/src/net/http/server.go:2044 (0x70dac7)
2024/11/19 15:48:51 stdout (*conn).serve: // We purposefully aren't echoing back the transfer-encoding's value,
2024/11/19 15:48:51 stdout /usr/local/go/src/runtime/asm_amd64.s:1695 (0x47dc40)
2024/11/19 15:48:51 stdout goexit: RET
2024/11/19 15:48:51 stdout �[0m
2024/11/19 15:48:51 stdout �[2m[GIN/DEBUG] 15:48:51: GET(/invite/bcjydnu6z6QDpdWVdWXN5b?key=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzIwMjk0OTcsImludml0ZSI6ImJjanlkbnU2ejZRRHBkV1ZkV1hONWIiLCJ0eXBlIjoiY29uZmlybWF0aW9uIiwidmFsaWQiOnRydWV9.14N0NMZ7wLQn2OGvTxQGTGKtkkyuZgnsvvuBv2yrwX0) => 500 in 1.582442156s;
Configuration
Irrelevant
Platform/Version
From Docker Hub hfree/jfa-go:unstable
Version git
Commit 11eb907
Build Time 2024-10-11 17:16:36 +0200 CEST
Built By "???"
Build Tags [e2ee external]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels