lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
40.98k stars 9.35k forks source link

[Bug] logto修改用户信息回调超时,webhooks请求/api/webhooks/logto超时 #4048

Closed SAnBlog closed 1 day ago

SAnBlog commented 1 day ago

📦 Environment

Docker

📌 Version

v1.19.11

💻 Operating System

macOS, Ubuntu

🌐 Browser

Chrome

🐛 Bug Description

Snipaste_2024-09-20_23-59-32 Snipaste_2024-09-21_00-00-57

NEXTAUTH_URL=https://xxx.com/api/auth APP_URL=https://xxx.com 上述两个参数有没有影响?

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

lobehubbot commented 1 day ago

👀 @SAnBlog

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

SAnBlog commented 1 day ago

LOGTO_WEBHOOK_SIGNING_KEY已经配置了

lobehubbot commented 1 day ago

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


LOGTO_WEBHOOK_SIGNING_KEY has been configured

cy948 commented 1 day ago

你确定你的 logto 能访问到 lobe 吗?

lobehubbot commented 1 day ago

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


Are you sure your logto can access the lobe?

SAnBlog commented 1 day ago

你确定你的 logto 能访问到 lobe 吗?

可以正常登录的

lobehubbot commented 1 day ago

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


Are you sure your logto can access the lobe?

Can log in normally

cy948 commented 1 day ago

你的lobe部署在本地 但logto是在云端?

lobehubbot commented 1 day ago

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


Your lobe is deployed locally but logto is in the cloud?

SAnBlog commented 1 day ago

你的lobe部署在本地 但logto是在云端?

是的,logto用的Logto Cloud,lobe是私有部署

lobehubbot commented 1 day ago

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


Your lobe is deployed locally but logto is in the cloud?

Yes, logto uses Logto Cloud, and lobe is a private deployment.

cy948 commented 1 day ago

webhook是由logto server对lobe发起的,你的lobe不能在公网访问到,所以也就无法使用,并不是bug。

lobehubbot commented 1 day ago

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


Webhook is initiated by the logto server to the lobe. Your lobe cannot be accessed on the public network, so it cannot be used. It is not a bug.

SAnBlog commented 1 day ago

webhook是由logto server对lobe发起的,你的lobe不能在公网访问到,所以也就无法使用,并不是bug。

我的服务是公网服务,都是通过域名访问的,https://xxx.com/api/webhooks/logto能直接打开,请求405

lobehubbot commented 1 day ago

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


Webhook is initiated by the logto server to the lobe. Your lobe cannot be accessed on the public network, so it cannot be used. It is not a bug.

My service is a public network service, which is accessed through domain names. https://xxx.com/api/webhooks/logto can be opened directly, and the request is 405

cy948 commented 1 day ago

logto控制台显示 timeout 基本上就是网络不可达,logto访问不到。

lobehubbot commented 1 day ago

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


The timeout displayed on the logto console basically means that the network is unreachable and logto cannot be accessed.

SAnBlog commented 1 day ago

logto控制台显示 timeout 基本上就是网络不可达,logto访问不到。

好吧,我猜测可能是云服务厂商那边对境外IP进行了限制

lobehubbot commented 1 day ago

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


The timeout displayed on the logto console basically means that the network is unreachable and logto cannot be accessed.

Well, my guess is that the cloud service provider may have restricted overseas IP addresses.

lobehubbot commented 1 day ago

✅ @SAnBlog

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