Comments (7)
可以进 Vercel 后台通过 Runtime Log 找下 /api/user/password
的请求日志,看下有没有什么报错。
You can enter the Vercel background and find the request log of /api/user/password
through the Runtime Log to see if there is any error.
from waline.
@lizheming 我是使用docker私有部署的,没有vercel日志。只有控制台输出
�[33m[2023-06-03T14:03:36.582] [14] [WARN]�[39m - [Deprecated] /article API will be deprecated in the next major version, please don't use it anymore. If you are using `@waline/client` please upgrade to `@waline/client@3`. For other scenarios, you can use `/api/article` to replace it.
�[33m[2023-06-03T14:03:36.583] [14] [WARN]�[39m - [Deprecated] /comment API will be deprecated in the next major version, please don't use it anymore. If you are using `@waline/client` please upgrade to `@waline/client@3`. For other scenarios, you can use `/api/comment` to replace it.
�[32m[2023-06-03T14:03:36.586] [14] [INFO]�[39m - SQL: SELECT * FROM `wl_Counter` WHERE ( `url` = '/talking/' ), Time: 3ms
�[32m[2023-06-03T14:03:36.589] [14] [INFO]�[39m - SQL: SELECT COUNT(*) AS think_count FROM `wl_Comment` WHERE ( `url` = '/talking/' ) AND ( `status` NOT IN ('waiting','spam') ) LIMIT 1, Time: 5ms
�[32m[2023-06-03T14:03:36.593] [14] [INFO]�[39m - SQL: SELECT `status`,`comment`,`insertedAt`,`link`,`mail`,`nick`,`pid`,`rid`,`ua`,`ip`,`user_id`,`sticky`,`like`,`id` FROM `wl_Comment` WHERE ( `url` = '/talking/' ) AND ( `status` NOT IN ('waiting','spam') ) ORDER BY `insertedAt` DESC, Time: 4ms
�[32m[2023-06-03T14:03:36.597] [14] [INFO]�[39m - SQL: SELECT `display_name`,`email`,`url`,`type`,`avatar`,`label`,`id` FROM `wl_Users` WHERE ( `id` IN (1,50,32,27,2,19,10) ), Time: 3ms
�[33m[2023-06-03T14:03:36.615] [14] [WARN]�[39m - [Deprecated] /article API will be deprecated in the next major version, please don't use it anymore. If you are using `@waline/client` please upgrade to `@waline/client@3`. For other scenarios, you can use `/api/article` to replace it.
�[33m[2023-06-03T14:03:36.801] [14] [WARN]�[39m - [Deprecated] /article API will be deprecated in the next major version, please don't use it anymore. If you are using `@waline/client` please upgrade to `@waline/client@3`. For other scenarios, you can use `/api/article` to replace it.
�[32m[2023-06-03T14:03:36.808] [14] [INFO]�[39m - SQL: SELECT * FROM `wl_Counter` WHERE ( `url` = '/talking/' ), Time: 6ms
�[32m[2023-06-03T14:03:36.810] [14] [INFO]�[39m - SQL: SELECT * FROM `wl_Counter` WHERE ( `id` = 8 ), Time: 2ms
�[32m[2023-06-03T14:03:36.821] [14] [INFO]�[39m - SQL: UPDATE `wl_Counter` SET `time`=418 WHERE ( `id` = 8 ), Time: 11ms
�[32m[2023-06-03T14:04:52.022] [14] [INFO]�[39m - SQL: SELECT * FROM `wl_Users` WHERE ( `github` = 'heStudio-Network' ), Time: 2ms
�[32m[2023-06-03T14:04:54.476] [14] [INFO]�[39m - SQL: SELECT * FROM `wl_Users` WHERE ( `github` = 'heStudio-Network' ), Time: 2ms
from waline.
#1917 应该和这个是一个问题,nginx 代理配置需要修改一下
from waline.
我检查了反代的配置项,不存在那个问题,下面是反代配置文件
#PROXY-START/
location ^~ /
{
proxy_pass http://127.0.0.1:8360;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_http_version 1.1;
# proxy_hide_header Upgrade;
add_header X-Cache $upstream_cache_status;
#Set Nginx Cache
set $static_fileGY7q4YJ8 0;
if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)$" )
{
set $static_fileGY7q4YJ8 1;
expires 1m;
}
if ( $static_fileGY7q4YJ8 = 0 )
{
add_header Cache-Control no-cache;
}
}
#PROXY-END/
I checked the anti-generation configuration item, there is no such problem, the following is the anti-generation configuration file
#PROXY-START/
location ^~ /
{
proxy_pass http://127.0.0.1:8360;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_http_version 1.1;
# proxy_hide_header Upgrade;
add_header X-Cache $upstream_cache_status;
#Set Nginx Cache
set $static_fileGY7q4YJ8 0;
if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)$" )
{
set $static_fileGY7q4YJ8 1;
expires 1m;
}
if ( $static_fileGY7q4YJ8 = 0 )
{
add_header Cache-Control no-cache;
}
}
#PROXY-END/
from waline.
加一下这个 proxy_set_header X-Forwarded-Proto $scheme;
from waline.
可以登录了,但是邮箱还是发不出去,控制台报错如下
[32m[2023-06-03T16:38:29.827] [14] [INFO][39m - SQL: SELECT * FROM `wl_Users` WHERE ( `email` = '[email protected]' ), Time: 2ms
Error: Unexpected socket close at Timeout._onTimeout (/app/node_modules/nodemailer/lib/smtp-transport/index.js:190:31) at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal/timers:512:7)
You can log in, but the email still cannot be sent out, and the console reports the following error
[32m[2023-06-03T16:38:29.827] [14] [INFO][39m - SQL: SELECT * FROM `wl_Users` WHERE ( `email` = '[email protected]' ), Time: 2ms
Error: Unexpected socket close at Timeout._onTimeout (/app/node_modules/nodemailer/lib/smtp-transport/index.js:190:31) at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal /timers:512:7)
from waline.
看起来是邮箱服务连接超时了…具体原因得你自己看下了
It seems that the email service connection timed out... The specific reason is up to you
from waline.
Related Issues (20)
- [Bug]: https的页面 请求走的却是http || [Bug]: The request for https page goes through http. HOT 1
- [Bug]: @waline/api npm上的版本和仓库中不一致 || [Bug]: The version on @waline/api npm is inconsistent with that in the warehouse HOT 8
- [Bug]: TiDB注册帐号403,但是可以正常使用第三方登陆 || [Bug]: TiDB registered account 403, but third-party login can be used normally HOT 8
- [Bug]: docker-compose配置安全域名不生效 || [Bug]: docker-compose configured secure domain name does not take effect HOT 1
- [Bug]: emoji的wl-tabs标签手机端会超出页面宽度,导致网页其他部分错位 || [Bug]: The mobile version of emoji's wl-tabs will exceed the page width, causing other parts of the webpage to be misaligned. HOT 5
- [Bug]: 时差8小时问题;邮件发送问题 || [Bug]: 8-hour time difference problem; email sending problem HOT 2
- 无法管理评论 || Unable to manage comments HOT 1
- [Bug]: 官网链接大量失效 || [Bug]: A large number of official website links are invalid HOT 1
- [Bug]: vercel:The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2" HOT 6
- [Bug]: Vercell部署报错 || [Bug]: Vercell deployment error HOT 6
- [Bug]: 3.0 版本后使用 npm 安装失败,提示 Unsupported URL Type "workspace:": workspace:1.0.0-alpha.5 HOT 10
- 更新后后端为空,但是管理页面可以正常打开[Bug]: || The backend is empty after the update, but the management page can be opened normally [Bug]:
- [Feature]: 是否考虑将 dist/component.js 改成 esm 格式 || [Feature]: Whether to consider changing dist/component.js to esm format HOT 3
- [Bug]: 阅读次数显示[object Object] || [Bug]: Reading count display [object Object] HOT 2
- [Feature]: Add support for Vietnamese language (vi) HOT 2
- [Bug]: 我在配置邮箱回复时,使用一个新邮箱模拟游客,当我回复了游客的信息时,自己接收到了邮件,但是游客并没有接收到邮件 || [Bug]: When I configured the email reply, I used a new email address to simulate a visitor. When I replied to the visitor's information, I received the email myself, but the visitor Didn't receive email HOT 2
- [Feature]: 请问,去除评论框上方的【昵称】【邮箱】【网址】 || [Feature]: Please remove the [nickname] [email] [website] above the comment box. HOT 1
- Reaction 初始数据不展示 HOT 3
- [Feature]: Custom Spoiler
- [Bug]: 评论对方后文字不消失,会显示到上方的输入框内 || [Bug]: The text does not disappear after commenting on the other party, and will be displayed in the input box above HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waline.