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

Request failed with status code 500 #83

Open
wndbac opened this issue Jan 6, 2023 · 12 comments
Open

Request failed with status code 500 #83

wndbac opened this issue Jan 6, 2023 · 12 comments

Comments

@wndbac
Copy link

wndbac commented Jan 6, 2023

image
点登录 输入密码就会这样是什么情况啊

@hiltay
Copy link
Contributor

hiltay commented Jan 10, 2023

希望再详细描述一下问题

@wndbac
Copy link
Author

wndbac commented Jan 10, 2023

希望再详细描述一下问题

报错信息如下

image

image

image

@hiltay
Copy link
Contributor

hiltay commented Jan 11, 2023

上传sqlite数据的权限问题,应该是缺少环境变量

@liaojie1314
Copy link

我也出现同样的问题,请问解决了吗

@hiltay
Copy link
Contributor

hiltay commented Feb 7, 2023

请参考#87

@cworld1
Copy link

cworld1 commented Feb 9, 2023

+1 但是没有其他任何报错

image

@hiltay
Copy link
Contributor

hiltay commented Feb 10, 2023

我也出现同样的问题,请问解决了吗

+1 但是没有其他任何报错

报错信息如下

@cworld1 @liaojie1314 @wndbac
排查文章获取是否为0,参考:获取文章为0、管理面板出现status code 500、start error错误

@cworld1
Copy link

cworld1 commented Feb 10, 2023

@hiltay 文章正常读取。我简单贴一下 GitHub Actions 的输出吧:

  • *** Update posts
Run python ./hexo_circle_of_friends/run.py
2023-02-09 23:44:45|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|Initialization complete
2023-02-09 23:44:45|INFO|1981|hexo_circle_of_friends.spiders.hexo_circle_of_friends|起始url: https://blog.cworld.top/link/
2023-02-09 23:44:46|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|
——————————————————————————————————————————————————————————————————————————————
??? 的博客
《?????????????》
文章发布时间:2022-06-07		采取的爬虫规则为:fluid
——————————————————————————————————————————————————————————————————————————————
2023-02-09 23:44:46|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|
——————————————————————————————————————————————————————————————————————————————
...(重复)
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|----------------------
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|友链总数 : 30
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|失联友链数 : 14
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|共 61 篇文章
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|最后运行于:2023-02-09 23:44:45
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|done!
  • Push *** data
login ***
password ***
machine api.github.com
login ***
password ***


Your branch is up to date with 'origin/main'.

 1 file changed, 0 insertions(+), 0 deletions(-)

@hiltay
Copy link
Contributor

hiltay commented Feb 10, 2023

@hiltay 文章正常读取。我简单贴一下 GitHub Actions 的输出吧:

  • *** Update posts
Run python ./hexo_circle_of_friends/run.py
2023-02-09 23:44:45|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|Initialization complete
2023-02-09 23:44:45|INFO|1981|hexo_circle_of_friends.spiders.hexo_circle_of_friends|起始url: https://blog.cworld.top/link/
2023-02-09 23:44:46|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|
——————————————————————————————————————————————————————————————————————————————
??? 的博客
《?????????????》
文章发布时间:2022-06-07		采取的爬虫规则为:fluid
——————————————————————————————————————————————————————————————————————————————
2023-02-09 23:44:46|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|
——————————————————————————————————————————————————————————————————————————————
...(重复)
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|----------------------
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|友链总数 : 30
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|失联友链数 : 14
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|共 61 篇文章
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|最后运行于:2023-02-09 23:44:45
2023-02-09 23:45:21|INFO|1981|hexo_circle_of_friends.pipelines.sql_pipe|done!
  • Push *** data
login ***
password ***
machine api.github.com
login ***
password ***


Your branch is up to date with 'origin/main'.

 1 file changed, 0 insertions(+), 0 deletions(-)

请提供可复现配置,或仓库地址。

@cworld1
Copy link

cworld1 commented Mar 1, 2023

@hiltay 请提供可复现配置,或仓库地址。

https://github.com/cworld1/blog-circle-of-friends/

(都转私有了本来)

@hiltay
Copy link
Contributor

hiltay commented Mar 1, 2023

@hiltay 请提供可复现配置,或仓库地址。

https://github.com/cworld1/blog-circle-of-friends/

(都转私有了本来)

仔细审题,是 可复现配置 仓库地址,提供配置也可以。

数据获取正常但登录提示Request failed with status code 500 ,按照以下步骤检查

  1. 文档

如果前端部署采用带管理面板的前端方案,则fork时不要修改仓库名称,否则会导致管理面板部分功能不可用。

  1. 检查vercel api是否正常,使用自定义域名
  2. 提供前端访问的接口信息和vercel日志
  3. 根据描述似乎私有部署可以解决问题,那就使用私有部署吧

@cworld1
Copy link

cworld1 commented Mar 2, 2023

@hiltay 仔细审题,是 可复现配置 仓库地址,提供配置也可以。

数据获取正常但登录提示Request failed with status code 500 ,按照以下步骤检查

  1. 文档

如果前端部署采用带管理面板的前端方案,则fork时不要修改仓库名称,否则会导致管理面板部分功能不可用。

  1. 检查vercel api是否正常,使用自定义域名
  2. 提供前端访问的接口信息和vercel日志
  3. 根据描述似乎私有部署可以解决问题,那就使用私有部署吧

已经解决,问题应该在于仓库名被修改,还原仓库名后功能正常(我的部署方案里 Vercel 之前就已经使用了自定义域名了)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants