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

ObjectID generation failed #260

Open
pentiafrn opened this issue May 28, 2020 · 1 comment
Open

ObjectID generation failed #260

pentiafrn opened this issue May 28, 2020 · 1 comment

Comments

@pentiafrn
Copy link

pentiafrn commented May 28, 2020

I have pa11y dashboard running as a docker image in Microsoft Azure and after a couple of days it breaks the MongoDB database and give the following error:

appsvctmp/volatile/logs/runtime/03b8c0df25b5bbc05a47fc970cfdf3378bda0f6a83b93fb466e639170461f854.log 2020-05-11T12:57:56.635985138Z: [ERROR] at endReadableNT (_stream_readable.js:1143:12) 2020-05-11T12:57:56.635994939Z: [ERROR] at process._tickCallback (internal/process/next_tick.js:63:19) 2020-05-11T12:57:57.210538386Z: [ERROR] ObjectID generation failed. Argument passed in must be a single String of 12 bytes or a string of 24 hex characters 2020-05-11T13:02:24.271164967Z: [ERROR] 2020-05-11T13:02:24.272561403Z: [ERROR] Error: socket hang up 2020-05-11T13:02:24.273194219Z: [ERROR] at createHangUpError (_http_client.js:323:15) 2020-05-11T13:02:24.273214120Z: [ERROR] at Socket.socketOnEnd (_http_client.js:426:23) 2020-05-11T13:02:24.273224020Z: [ERROR] at Socket.emit (events.js:203:15) 2020-05-11T13:02:24.273245420Z: [ERROR] at endReadableNT (_stream_readable.js:1143:12) 2020-05-11T13:02:24.273255421Z: [ERROR] at process._tickCallback (internal/process/next_tick.js:63:19)

I tried deleting the corrupt MongoDB collection and starting again, but it still keeps breaking after a couple of days. It is only the "results"-collection that seems to break. The "tasks" is not affected by the bug.

Running with the following options:

{ "port": 80, "webservice": { "database": "'$WEBSERVICE_DATABASE'", "host": "0.0.0.0", "port": 3000, "cron": "0 30 0 * * *", "chromeLaunchConfig": { "ignoreHTTPSErrors": true, "headless": true, "args": [ "--no-sandbox" ] } } }

And running version: 3.1.0.

Any help would be appreciated.

@EHLOVader
Copy link

I'm running v 4.2.0 and still getting this. Looking through change logs it appears that there should have been a fix to this already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants