Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 配置运行数据库postgres, 启动失败报401错误 #3025

Closed
gaspire opened this issue Jun 25, 2024 · 9 comments
Closed

[Bug] 配置运行数据库postgres, 启动失败报401错误 #3025

gaspire opened this issue Jun 25, 2024 · 9 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@gaspire
Copy link

gaspire commented Jun 25, 2024

📦 Environment

Other

📌 Version

latest

💻 Operating System

macOS

🌐 Browser

Chrome

🐛 Bug Description

配置运行数据库postgres, 启动失败报401错误:
{"level":30,"time":1719293790532,"pid":35951,"hostname":"ShizengdeMacBook-Pro.local","msg":"Error in tRPC handler (lambda) on path: session.getSessionConfig, type: query"}
GET /trpc/lambda/session.getSessionConfig?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22id%22%3A%22inbox%22%7D%7D%7D 401 in 62ms

#.env 文件配置如下:
NEXT_PUBLIC_SERVICE_MODE=server
DATABASE_URL=postgres:https://:@127.0.0.1:5432/lobe
KEY_VAULTS_SECRET=BT1PaMM8LWsP2FfuMaMlo59niX4/woVZTgEYimgu3Jo=

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

@gaspire gaspire added the 🐛 Bug Something isn't working | 缺陷 label Jun 25, 2024
@lobehubbot
Copy link
Member

👀 @gaspire

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Jun 25, 2024

啥环境

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


What environment

@gaspire
Copy link
Author

gaspire commented Jun 25, 2024 via email

@arvinxx
Copy link
Contributor

arvinxx commented Jun 25, 2024

要配 clerk

@arvinxx arvinxx closed this as completed Jun 25, 2024
@lobehubbot
Copy link
Member

@gaspire

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Need to be equipped with clerk

@gaspire
Copy link
Author

gaspire commented Jun 25, 2024

配置了clerk, 还是报401:
image

@ZeroDeng01
Copy link

本地开发环境

---- 回复的原邮件 ----
| 发件人 | Arvin @.> |
| 发送日期 | 2024年06月25日 18:21 |
| 收件人 | lobehub/lobe-chat @.
> |
| 抄送人 | @.>,
Mention @.
> |
| 主题 | Re: [lobehub/lobe-chat] [Bug] 配置运行数据库postgres, 启动失败报401错误 (Issue #3025) |

啥环境


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

本地环境能接到clerk的webhook消息吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Done
Development

No branches or pull requests

4 participants