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

TypeError: Cannot read properties of null (reading 'edges') #348

Open
MrOrz opened this issue Mar 29, 2023 · 1 comment
Open

TypeError: Cannot read properties of null (reading 'edges') #348

MrOrz opened this issue Mar 29, 2023 · 1 comment
Labels

Comments

@MrOrz
Copy link
Member

MrOrz commented Mar 29, 2023

Text that triggers the error:

營位釋出一帳(小團露已包場) 日期:2023/4/22(六) 星期五可夜衝 地點:瑪那休閒露營區 營位:當天團主安排 費用:ㄧ帳1000 海拔:900 入場時間:10:00 https://m.facebook.com/namasia.vana/?mibextid=LQQJ4d

Screenshot_20230329-103444

View details in Rollbar: https://rollbar.com/mrorz/rumors-line-bot/items/632/


TypeError: Cannot read properties of null (reading 'edges')
  File "/srv/www/build/webhook/handlers/groupMessage.js", line 120, in processText
      if (ListArticles.edges.length) {
  File "<anonymous>", line unknown, in runMicrotasks
  File "node:internal/process/task_queues", line 96, in processTicksAndRejections
  File "/srv/www/build/webhook/handlers/processGroupEvent.js", line 68, in async processGroupEvent
          result = await (0, _groupMessage.default)({
@MrOrz
Copy link
Member Author

MrOrz commented Mar 29, 2023

Root cause is that url-resolver failed to recover after Linode's scheduled maintenance.

mem_limit in docker-compose is causing "mem_limit /memory.kmem.limit_in_bytes: operation not supported" error.

Removing mem_limit from url-resolver deployment and restart container solved the issue.

@MrOrz MrOrz closed this as completed Mar 29, 2023
@MrOrz MrOrz reopened this May 2, 2023
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

1 participant