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

Error: The onCancel handler was attached after the promise settled. #54

Open
xat opened this issue Feb 29, 2024 · 0 comments
Open

Error: The onCancel handler was attached after the promise settled. #54

xat opened this issue Feb 29, 2024 · 0 comments

Comments

@xat
Copy link
Contributor

xat commented Feb 29, 2024

indexer-teztok_event-producer-1  | Error: The `onCancel` handler was attached after the promise settled.
indexer-teztok_event-producer-1  |     at onCancel (/usr/src/app/node_modules/p-cancelable/index.js:48:12)
indexer-teztok_event-producer-1  |     at makeRequest (/usr/src/app/node_modules/got/dist/source/as-promise/index.js:38:13)
indexer-teztok_event-producer-1  |     at Request.<anonymous> (/usr/src/app/node_modules/got/dist/source/as-promise/index.js:143:17)
indexer-teztok_event-producer-1  |     at Object.onceWrapper (node:events:642:26)
indexer-teztok_event-producer-1  |     at Request.emit (node:events:527:28)
indexer-teztok_event-producer-1  |     at Timeout.retry (/usr/src/app/node_modules/got/dist/source/core/index.js:1264:30)
indexer-teztok_event-producer-1  |     at listOnTimeout (node:internal/timers:559:17)
indexer-teztok_event-producer-1  |     at processTimers (node:internal/timers:502:7)
indexer-teztok_event-producer-1  | 
indexer-teztok_event-producer-1  | 
indexer-teztok_event-producer-1  | Node.js v17.9.1

sindresorhus/got#1489 event producer sometimes crashes with this error (but get auto restarted by docker)

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