You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我已知晓并同意,如果我不遵循以下格式提交 issue,或者我使用的并非最新版本的 SSPanel UIM,或者我没有提供足够的信息,或者我没有选中这些框,则我的 issue 可能会被无条件关闭和锁定。 I acknowledge if I don't follow the format below, or I'm on an old commit, or I fail to provide sufficient information, or I don't check these box, my issue could be closed without any notice.
我已确认我已经阅读过使用文档、Wiki,并在 issue 列表中查找相似的问题。I certify that I have read project Wiki and other issue may related to this one.
我已知晓并同意,如果我不同意上述条件却仍然提交 issue,或即使同意上述条件但在提交 issue 时不按照条件执行,我的 issue 可被 SSPanel UIM 维护团队视为 spam、并在必要时会被举报到 GitHub。 I acknowledge if I disagree with the conditions above but still submit a issue, or if I agree conditions above but do not follow them when submitting a issue, my issue could be considered as spam by the SSPanel UIM maintenance team, and might be reported to GitHub if necessary.
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST https://api.telegram.org/*****************/sendMessage resulted in a 403 Forbidden response:
{"ok":false,"error_code":403,"description":"Forbidden: user is deactivated"}
in /www/wwwroot/top/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /www/wwwroot/top/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /www/wwwroot/top/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #2 /www/wwwroot/top/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array) #3 /www/wwwroot/top/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise{closure}() #4 /www/wwwroot/top/vendor/guzzlehttp/guzzle in /www/wwwroot/top/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113
Addition
$bot = new Api($_ENV['telegram_token'], $async);
改为
$bot = new Api($_ENV['telegram_token']);
关闭异步发送时可以正常捕获异常并继续执行,但这影响效率。
The text was updated successfully, but these errors were encountered:
请将 [ ] 替换为 [x] 。Please relpace [ ] with [x] .
Environment 环境
CentOS 7
PHP 7.3
MariaDB 10.3
Commit
a8b91f9
Bug
Telergam 给用户发送每日通知,出现异常中断
Reproduce
众所周知,Telergam 在长时间不未使用时会被注销,假设用户已经绑定TG到面板并开启每日通知,在长时间未登陆 Telergam 导致账户被注销后。面板执行 sendDiaryMail 时会抛出异常并中断任务。
Expected behavior
捕获异常,并继续执行任务。
Logs
Addition
$bot = new Api($_ENV['telegram_token'], $async);
改为
$bot = new Api($_ENV['telegram_token']);
关闭异步发送时可以正常捕获异常并继续执行,但这影响效率。
The text was updated successfully, but these errors were encountered: