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

sendRequest 失败: 未能调用 fsockopen: #111 - Connection refused #267

Open
2 tasks done
ChloeKurumi opened this issue Jul 25, 2024 · 1 comment
Open
2 tasks done
Labels

Comments

@ChloeKurumi
Copy link

ChloeKurumi commented Jul 25, 2024

  • 我已升级贴吧云签到到最新版本,并且运行了升级脚本
  • 我已搜索过 Issue 区,没有找到相关问题

问题描述

定时任务或手动执行执行do.php的时候,会提示

sendRequest 失败: 未能调用 fsockopen: #111 - Connection refused

do.php好像是执行成功了,但签到老是卡住不动,每次执行do.php才有反应,do.php应该设置多久执行一次?

复现步骤

手动执行php /www/wwwroot/Tieba-Cloud-Sign/do.php的时候
image

环境

  • 云签到版本:V5.01
  • 服务器系统和版本:CentOS 7
  • 云签到是否在 Docker 中运行:是
  • PHP 版本:7.4.28 非线程安全
  • MySQL 版本:5.7.39-log
@BANKA2017
Copy link
Collaborator

BANKA2017 commented Jul 25, 2024

sendRequest 失败: 未能调用 fsockopen: #111 - Connection refused

设置中心里面有一项叫 计划任务线程数 的,改成 0

do.php应该设置多久执行一次

计划任务一般设置成一分钟执行一次即可

@n0099 n0099 changed the title sendRequest 失败: 未能调用 fsockopen: #111 - Connection refused sendRequest 失败: 未能调用 fsockopen: #111 - Connection refused Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants