-
Notifications
You must be signed in to change notification settings - Fork 20
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
failed to start mongodb #10
Comments
Hello, @Kabir1506. Just a gentle reminder that it's necessary to install MongoDB before proceeding. You can find detailed instructions on how to do this by referring to the MongoDB Installation Tutorials. Version 5.0+ should work. |
Hi @baoliay2008 , I have already installed 6.0.5 version |
Please check your mongodb:
ip: 192.168.1.12
port: 27017
username: testing
password: 'password'
db: testing You may verify the authentication configuration of your MongoDB instance by using the |
Now getting this error: |
It seems that the issue might still be with the For instance, if your MongoDB password configuration is |
I have started the mongo server with this command |
Understood, you didn't write the username and password field in To address this, I would recommend updating your Alternatively, if you don't want to create a user then you could modify the code to fix the issue. |
cool thanks alot. Now working on front-end steps |
@baoliay2008 I don't see any dummy contest data in front-end. Is there a way to load dummy data to test and work upon. |
In the next version, I will include some dummy data. However, for now, you can still test the functionality by running a very old contest (this is only recommended for temporary testing purposes as the results will be completely inaccurate). To do this, kindly add the following two lines after main.py L13: from app.core.schedulers import composed_predict_jobs
await composed_predict_jobs("biweekly-contest-1") |
getting this error while executing step number 8 from this..
| ERROR | app.db.mongodb:start_async_mongodb:100 - Failed to start mongodb. error=Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed'}
pls help
`1-git clone git@github.com:baoliay2008/lccn_predictor.git
2-cd lccn_predictor
write your mongodb environment config
3-cp config.yaml.template config.yaml
4-vi config.yaml
5-python3.10 -m virtualenv venv/
6-source venv/bin/activate
7-pip3 install -r requirements.txt
8-python main.py
9-uvicorn api.entry:app --host 0.0.0.0 --port 55555`
The text was updated successfully, but these errors were encountered: