-
Notifications
You must be signed in to change notification settings - Fork 59
Description
`
FunctionCompute python3 runtime inited.
FC Invoke Start RequestId: 1-67ebf346-16445e02-b4676546240f
登陆失败!
Telegram 推送开始
2025-04-01 22:08:38 1-67ebf346-16445e02-b4676546240f [ERROR] {
"errorMessage": "HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot7655504792:AAFmZ4iuDAJgGqck48uH6OUfgkNyPQAnPKc/sendMessage (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7efeadd10978>: Failed to establish a new connection: [Errno 101] Network is unreachable',))",
"errorType": "ConnectionError",
"stackTrace": [
[
"File "/code/index.py"",
"line 169",
"in main_handler",
"telegram_bot("\u5c0f\u7c73\u8fd0\u52a8", push)"
],
[
"File "/code/index.py"",
"line 21",
"in telegram_bot",
"url='https://api.telegram.org/bot%s/sendMessage' % (tg_bot_token), data=send_data)"
],
[
"File "/var/fc/lang/python3/lib/python3.6/site-packages/requests/api.py"",
"line 117",
"in post",
"return request('post', url, data=data, json=json, **kwargs)"
],
[
"File "/var/fc/lang/python3/lib/python3.6/site-packages/requests/api.py"",
"line 61",
"in request",
"return session.request(method=method, url=url, **kwargs)"
],
[
"File "/var/fc/lang/python3/lib/python3.6/site-packages/requests/sessions.py"",
"line 529",
"in request",
"resp = self.send(prep, **send_kwargs)"
],
[
"File "/var/fc/lang/python3/lib/python3.6/site-packages/requests/sessions.py"",
"line 645",
"in send",
"r = adapter.send(request, **kwargs)"
],
[
"File "/var/fc/lang/python3/lib/python3.6/site-packages/requests/adapters.py"",
"line 519",
"in send",
"raise ConnectionError(e, request=request)"
]
]
}
FC Invoke End RequestId: 1-67ebf346-16445e02-b4676546240f, Error: Unhandled function error
`