[GH-ISSUE #417] 当我登录用户时出现500错误 #146

Closed
opened 2026-02-26 20:35:53 +03:00 by kerem · 12 comments
Owner

Originally created by @stuffywalk on GitHub (Aug 17, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/417

复现步骤

部署完ui后正常登录用户出现500 TypeError Cannot read properties of undefined (reading 'includes')错误

预期行为

正常登录用户

部署方式

  • cli 部署
  • [ +] 用户界面部署

浏览器环境

Originally created by @stuffywalk on GitHub (Aug 17, 2024). Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/417 ## 复现步骤 部署完ui后正常登录用户出现500 TypeError Cannot read properties of undefined (reading 'includes')错误 ## 预期行为 正常登录用户 ## 部署方式 - [ ] cli 部署 - [ +] 用户界面部署 ## 浏览器环境
kerem closed this issue 2026-02-26 20:35:53 +03:00
Author
Owner

@stuffywalk commented on GitHub (Aug 17, 2024):

邮箱地址 https://mailui.pages.dev/

<!-- gh-comment-id:2294695420 --> @stuffywalk commented on GitHub (Aug 17, 2024): 邮箱地址 https://mailui.pages.dev/
Author
Owner

@Mystic-Stars commented on GitHub (Aug 17, 2024):

蹲一个解决方案,我也是这个问题

<!-- gh-comment-id:2294709258 --> @Mystic-Stars commented on GitHub (Aug 17, 2024): 蹲一个解决方案,我也是这个问题
Author
Owner

@dreamhunter2333 commented on GitHub (Aug 17, 2024):

可以 f12 看下具体的错误么

<!-- gh-comment-id:2294797157 --> @dreamhunter2333 commented on GitHub (Aug 17, 2024): 可以 f12 看下具体的错误么
Author
Owner

@dreamhunter2333 commented on GitHub (Aug 17, 2024):

感谢反馈,此处登录的是用户还是邮箱呢

<!-- gh-comment-id:2294797249 --> @dreamhunter2333 commented on GitHub (Aug 17, 2024): 感谢反馈,此处登录的是用户还是邮箱呢
Author
Owner

@Mystic-Stars commented on GitHub (Aug 17, 2024):

image
用户和邮箱登录都会这样,很多地方都会有这个报错

<!-- gh-comment-id:2294799654 --> @Mystic-Stars commented on GitHub (Aug 17, 2024): ![image](https://github.com/user-attachments/assets/20a8f43d-7bd8-42e1-893c-95f50ac92075) 用户和邮箱登录都会这样,很多地方都会有这个报错
Author
Owner

@stuffywalk commented on GitHub (Aug 17, 2024):

image
邮箱会这样

<!-- gh-comment-id:2294802734 --> @stuffywalk commented on GitHub (Aug 17, 2024): ![image](https://github.com/user-attachments/assets/65c660b0-4125-410d-ae2c-094a319baff8) 邮箱会这样
Author
Owner

@dreamhunter2333 commented on GitHub (Aug 17, 2024):

image

用户和邮箱登录都会这样,很多地方都会有这个报错

看起来是后台报错了,能看下 worker 的日志么

<!-- gh-comment-id:2294806582 --> @dreamhunter2333 commented on GitHub (Aug 17, 2024): > ![image](https://github.com/user-attachments/assets/20a8f43d-7bd8-42e1-893c-95f50ac92075) > > 用户和邮箱登录都会这样,很多地方都会有这个报错 看起来是后台报错了,能看下 worker 的日志么
Author
Owner

@stuffywalk commented on GitHub (Aug 17, 2024):

image

<!-- gh-comment-id:2294809017 --> @stuffywalk commented on GitHub (Aug 17, 2024): ![image](https://github.com/user-attachments/assets/201e258b-3fcc-4908-89f0-162f1ecf94d9)
Author
Owner

@stuffywalk commented on GitHub (Aug 17, 2024):

试了两次都一样

<!-- gh-comment-id:2294809247 --> @stuffywalk commented on GitHub (Aug 17, 2024): 试了两次都一样
Author
Owner

@stuffywalk commented on GitHub (Aug 17, 2024):

image

<!-- gh-comment-id:2294809983 --> @stuffywalk commented on GitHub (Aug 17, 2024): ![image](https://github.com/user-attachments/assets/d3bcfa16-626b-4bd9-8eed-36f6be23e360)
Author
Owner

@dreamhunter2333 commented on GitHub (Aug 17, 2024):

JWT_SECRET 配置了么

<!-- gh-comment-id:2294818758 --> @dreamhunter2333 commented on GitHub (Aug 17, 2024): JWT_SECRET 配置了么
Author
Owner

@dreamhunter2333 commented on GitHub (Aug 17, 2024):

image 用户和邮箱登录都会这样,很多地方都会有这个报错

可以检查下 JWT_SECRET 是否配置了

<!-- gh-comment-id:2294855631 --> @dreamhunter2333 commented on GitHub (Aug 17, 2024): > ![image](https://private-user-images.githubusercontent.com/97295993/358835456-20a8f43d-7bd8-42e1-893c-95f50ac92075.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5MDA0NjAsIm5iZiI6MTcyMzkwMDE2MCwicGF0aCI6Ii85NzI5NTk5My8zNTg4MzU0NTYtMjBhOGY0M2QtN2JkOC00MmUxLTg5M2MtOTVmNTBhYzkyMDc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDEzMDkyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdmYTcxNmI3ZmI5Nzc2ZmIzYTU3NjFjYjU0OGU0YjY4ZDczNDExYzQzZDM4NTk3NWNmYzhmOWU3NTE2Zjc0ZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.zDQWJopjJP9jaFBJ2nYwd_8AugIQgQ8IpR4PlBQMIlE) 用户和邮箱登录都会这样,很多地方都会有这个报错 可以检查下 JWT_SECRET 是否配置了
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/cloudflare_temp_email#146
No description provided.