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

/all 沒反應 #3

Open
PeteGissing opened this issue Dec 11, 2023 · 0 comments
Open

/all 沒反應 #3

PeteGissing opened this issue Dec 11, 2023 · 0 comments

Comments

@PeteGissing
Copy link

如題,按照docker 方式安裝後/all (/search /id)沒反應,只有加入面版正常/help /info /id /add /token /url 可以用

看了下LOG: 好像是請求有問題

2023-12-11T12:52:14.535620750Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 279, in _request_wrapper
2023-12-11T12:52:14.535623175Z     raise BadRequest(message)
2023-12-11T12:52:14.535625438Z telegram.error.BadRequest: Query is too old and response timeout expired or query id is invalid
2023-12-11T12:52:14.822200424Z 2023-12-11 20:52:14,822 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while handling the error.
2023-12-11T12:52:14.822391555Z 2023-12-11 20:52:14,822 - utils.handler - ERROR - Exception while handling an update:
2023-12-11T12:52:14.822397837Z Traceback (most recent call last):
2023-12-11T12:52:14.822400652Z   File "/usr/local/lib/python3.9/site-packages/telegram/ext/utils/promise.py", line 96, in run
2023-12-11T12:52:14.822403588Z     self._result = self.pooled_function(*self.args, **self.kwargs)
2023-12-11T12:52:14.822406022Z   File "/opt/nezha_telegram_bot/utils/handler.py", line 309, in button
2023-12-11T12:52:14.822408417Z     query.answer()
2023-12-11T12:52:14.822410691Z   File "/usr/local/lib/python3.9/site-packages/telegram/callbackquery.py", line 166, in answer
2023-12-11T12:52:14.822413086Z     return self.bot.answer_callback_query(
2023-12-11T12:52:14.822415350Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 133, in decorator
2023-12-11T12:52:14.822417764Z     result = func(*args, **kwargs)
2023-12-11T12:52:14.822441168Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 2710, in answer_callback_query
2023-12-11T12:52:14.822443703Z     result = self._post('answerCallbackQuery', data, timeout=timeout, api_kwargs=api_kwargs)
2023-12-11T12:52:14.822446127Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 298, in _post
2023-12-11T12:52:14.822448482Z     return self.request.post(
2023-12-11T12:52:14.822450797Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 361, in post
2023-12-11T12:52:14.822453262Z     result = self._request_wrapper(
2023-12-11T12:52:14.822455536Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 279, in _request_wrapper
2023-12-11T12:52:14.822457971Z     raise BadRequest(message)
2023-12-11T12:52:14.822460275Z telegram.error.BadRequest: Query is too old and response timeout expired or query id is invalid
2023-12-11T12:52:15.109747926Z 2023-12-11 20:52:15,109 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while handling the error.
2023-12-11T12:52:15.109979834Z 2023-12-11 20:52:15,109 - utils.handler - ERROR - Exception while handling an update:
2023-12-11T12:52:15.109986817Z Traceback (most recent call last):
2023-12-11T12:52:15.109989472Z   File "/usr/local/lib/python3.9/site-packages/telegram/ext/utils/promise.py", line 96, in run
2023-12-11T12:52:15.109992097Z     self._result = self.pooled_function(*self.args, **self.kwargs)
2023-12-11T12:52:15.109994511Z   File "/opt/nezha_telegram_bot/utils/handler.py", line 331, in button
2023-12-11T12:52:15.109997066Z     check_keyboard(update, context)
2023-12-11T12:52:15.109999360Z   File "/opt/nezha_telegram_bot/utils/handler.py", line 163, in check_keyboard
2023-12-11T12:52:15.110001905Z     update.callback_query.edit_message_text(text=text, reply_markup=reply_markup)
2023-12-11T12:52:15.110019678Z   File "/usr/local/lib/python3.9/site-packages/telegram/callbackquery.py", line 216, in edit_message_text
2023-12-11T12:52:15.110022223Z     return self.message.edit_text(
2023-12-11T12:52:15.110024818Z   File "/usr/local/lib/python3.9/site-packages/telegram/message.py", line 2136, in edit_text
2023-12-11T12:52:15.110027243Z     return self.bot.edit_message_text(
2023-12-11T12:52:15.110029516Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 133, in decorator
2023-12-11T12:52:15.110049706Z     result = func(*args, **kwargs)
2023-12-11T12:52:15.110053162Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 2778, in edit_message_text
2023-12-11T12:52:15.110055597Z     return self._message(
2023-12-11T12:52:15.110057851Z   File "/usr/local/lib/python3.9/site-packages/telegram/ext/extbot.py", line 202, in _message
2023-12-11T12:52:15.110060245Z     result = super()._message(
2023-12-11T12:52:15.110062490Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 339, in _message
2023-12-11T12:52:15.110064854Z     result = self._post(endpoint, data, timeout=timeout, api_kwargs=api_kwargs)
2023-12-11T12:52:15.110067228Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 298, in _post
2023-12-11T12:52:15.110069593Z     return self.request.post(
2023-12-11T12:52:15.110071827Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 361, in post
2023-12-11T12:52:15.110074222Z     result = self._request_wrapper(
2023-12-11T12:52:15.110076496Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 279, in _request_wrapper
2023-12-11T12:52:15.110078920Z     raise BadRequest(message)
2023-12-11T12:52:15.110081165Z telegram.error.BadRequest: Message to edit not found
2023-12-11T12:52:15.399764613Z 2023-12-11 20:52:15,399 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while handling the error.
2023-12-11T12:52:15.400014816Z 2023-12-11 20:52:15,399 - utils.handler - ERROR - Exception while handling an update:
2023-12-11T12:52:15.400026448Z Traceback (most recent call last):
2023-12-11T12:52:15.400032469Z   File "/usr/local/lib/python3.9/site-packages/telegram/ext/utils/promise.py", line 96, in run
2023-12-11T12:52:15.400038079Z     self._result = self.pooled_function(*self.args, **self.kwargs)
2023-12-11T12:52:15.400043209Z   File "/opt/nezha_telegram_bot/utils/handler.py", line 309, in button
2023-12-11T12:52:15.400048499Z     query.answer()
2023-12-11T12:52:15.400090519Z   File "/usr/local/lib/python3.9/site-packages/telegram/callbackquery.py", line 166, in answer
2023-12-11T12:52:15.400098204Z     return self.bot.answer_callback_query(
2023-12-11T12:52:15.400103734Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 133, in decorator
2023-12-11T12:52:15.400125114Z     result = func(*args, **kwargs)
2023-12-11T12:52:15.400129262Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 2710, in answer_callback_query
2023-12-11T12:52:15.400134331Z     result = self._post('answerCallbackQuery', data, timeout=timeout, api_kwargs=api_kwargs)
2023-12-11T12:52:15.400138980Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 298, in _post
2023-12-11T12:52:15.400154270Z     return self.request.post(
2023-12-11T12:52:15.400157886Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 361, in post
2023-12-11T12:52:15.400161703Z     result = self._request_wrapper(
2023-12-11T12:52:15.400166392Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 279, in _request_wrapper
2023-12-11T12:52:15.400171241Z     raise BadRequest(message)
2023-12-11T12:52:15.400175550Z telegram.error.BadRequest: Query is too old and response timeout expired or query id is invalid
2023-12-11T12:52:15.686913943Z 2023-12-11 20:52:15,686 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while handling the error.
2023-12-11T12:52:29.603227739Z 2023-12-11 20:52:29,602 - utils.handler - ERROR - Exception while handling an update:
2023-12-11T12:52:29.603249721Z Traceback (most recent call last):
2023-12-11T12:52:29.603262905Z   File "/usr/local/lib/python3.9/site-packages/telegram/ext/utils/promise.py", line 96, in run
2023-12-11T12:52:29.603265590Z     self._result = self.pooled_function(*self.args, **self.kwargs)
2023-12-11T12:52:29.603267984Z   File "/opt/nezha_telegram_bot/utils/handler.py", line 331, in button
2023-12-11T12:52:29.603270441Z     check_keyboard(update, context)
2023-12-11T12:52:29.603272704Z   File "/opt/nezha_telegram_bot/utils/handler.py", line 163, in check_keyboard
2023-12-11T12:52:29.603275089Z     update.callback_query.edit_message_text(text=text, reply_markup=reply_markup)
2023-12-11T12:52:29.603277544Z   File "/usr/local/lib/python3.9/site-packages/telegram/callbackquery.py", line 216, in edit_message_text
2023-12-11T12:52:29.603279968Z     return self.message.edit_text(
2023-12-11T12:52:29.603282202Z   File "/usr/local/lib/python3.9/site-packages/telegram/message.py", line 2136, in edit_text
2023-12-11T12:52:29.603284627Z     return self.bot.edit_message_text(
2023-12-11T12:52:29.603286871Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 133, in decorator
2023-12-11T12:52:29.603289225Z     result = func(*args, **kwargs)
2023-12-11T12:52:29.603291469Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 2778, in edit_message_text
2023-12-11T12:52:29.603293864Z     return self._message(
2023-12-11T12:52:29.603296139Z   File "/usr/local/lib/python3.9/site-packages/telegram/ext/extbot.py", line 202, in _message
2023-12-11T12:52:29.603298523Z     result = super()._message(
2023-12-11T12:52:29.603300757Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 339, in _message
2023-12-11T12:52:29.603313241Z     result = self._post(endpoint, data, timeout=timeout, api_kwargs=api_kwargs)
2023-12-11T12:52:29.603315675Z   File "/usr/local/lib/python3.9/site-packages/telegram/bot.py", line 298, in _post
2023-12-11T12:52:29.603318010Z     return self.request.post(
2023-12-11T12:52:29.603320224Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 361, in post
2023-12-11T12:52:29.603322598Z     result = self._request_wrapper(
2023-12-11T12:52:29.603324892Z   File "/usr/local/lib/python3.9/site-packages/telegram/utils/request.py", line 279, in _request_wrapper
2023-12-11T12:52:29.603327287Z     raise BadRequest(message)
2023-12-11T12:52:29.603329531Z telegram.error.BadRequest: Message to edit not found
2023-12-11T12:52:29.891775789Z 2023-12-11 20:52:29,891 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while handling the error.
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

1 participant