-
Notifications
You must be signed in to change notification settings - Fork 41
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
Populating the models stalls while 'Waiting for in-flight Habitat object updates' #390
Comments
There are a few places that need adjusting due to changes in mongo. |
@AmandaJonesAway Yeah, stu pointed me to your changes on the Neohabitat Slack. Great work, I believe I managed to get the database populated now as well, using your changes! |
As mentioned on both Discord and Slack, populateModels.js now works correctly and will populate the object database. However, writeHabitatUser.js does not work correctly. It seems to be having trouble with the hostname of the mongodb server. |
This issue has been resolved. |
I'm trying to run Neohabitat from the Docker containers (
docker compose up
). After resolving some initial certificate issues, I'm now stuck with trying to populate the database. The connection to the database container appears to work, but there's some synchonization issue.I was hoping that someone more familiar with the codebase can make some guesses at potential causes, so I don't have to debug all the way down. :)
This is what it looks like when running the containers via Docker Compose:
(edited for readability)
And from there on, it just keeps retrying, but never succeeds. As you can see from the output of the MongoDB container, there is an incoming connection. Although the connection ends quickly, and I cannot tell whether that's the root cause of the issue, or an effect of the cause on the population side.
The Makefile is simple, it reads in line 71:
We can either read
.errs
at just the right moment (it is erased by the "Nuking database"), or simply call the above command manually to see what's happening internally:I suspect that TypeError is a result of the timeout and not the actual root cause, right?
Does anybody have an idea where to look. I just don't know what's supposed to happen here. Does someone have a log of the success case?
The text was updated successfully, but these errors were encountered: