-
Notifications
You must be signed in to change notification settings - Fork 218
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
hub: TypeError: opts.cb is not a function #5269
Comments
Earlier in the log, at some point many
|
another follow up exception: that's part of monitoring, and yes, that's something I should know how to fix.
|
I pushed a possibly helpful fix. I don't know if this fixes the problem or not, but the "requires" allowed for opts.cb to be undefined in some cases, but actually assumed it was defined in the code. |
I'm reopening this, because |
I found this in a private cocalc deployment's hub. I thin kthis is a follow up of a problem with connecting to the database. In any case, this exception shouldn't happen. I'll study the logs in more detail.
the stacktrace in
smc-hub/postgres-base.coffee
is inconnect(...)
→retry_until_success
so, which callback? postgres-base at the top is
return opts.cb("database is down (please try later)");
in_query(...)
The text was updated successfully, but these errors were encountered: