userbotindo/caligo

Getting fail in certificate

XMVZ opened this issue · 14 comments

XMVZ commented

Hi, I'm getting the following when running Caligo:
https://prnt.sc/1rjs0or

This is with the "Connect with my application" URI with no modifications running, IP whitelisted, and MongoDB running on PC.

What is the issue?

Hi, I'm getting the following when running Caligo:
https://prnt.sc/1rjs0or

This is with the "Connect with my application" URI with no modifications running, IP whitelisted, and MongoDB running on PC.

What is the issue?

Do you whitelist the IP MongoDB Atlas cluster?, strange i haven't found that issues

could you try this?
https://stackoverflow.com/a/54511693

XMVZ commented

Hi, I'm getting the following when running Caligo:
https://prnt.sc/1rjs0or
This is with the "Connect with my application" URI with no modifications running, IP whitelisted, and MongoDB running on PC.
What is the issue?

Do you whitelist the IP MongoDB Atlas cluster?, strange i haven't found that issues

could you try this?
https://stackoverflow.com/a/54511693

Yes, as mentioned my IP is whitelisted.. but I didn't see PyMongo mentioned anywhere in your documentation. Should I be using PyMongo? Do I need to make a new script/file with the info in that stackoverflow thread?

Can you please provide documentation on how to setup PyMongo and how to connect it (using which URI) to your program? I was running MongoDB via shell or Compass/Atlas and just inputting my whitelisted application connect URI. Sounds like there are some steps I don't know of that aren't included in documentation here.

Where exactly does PyMongo come into play and how should it be used?

Thanks!

XMVZ commented

https://stackoverflow.com/a/54511693

This is completely out of context and I'm not sure how I would be using PyMongo with Caligo.
Sounds like I need to write my own PyMongo script that connects to MongoDB and then run it, but I have no idea what the code for that script should look like.

Thanks and looking forward to hopefully using Caligo!

Hi, I'm getting the following when running Caligo:
https://prnt.sc/1rjs0or
This is with the "Connect with my application" URI with no modifications running, IP whitelisted, and MongoDB running on PC.
What is the issue?

Do you whitelist the IP MongoDB Atlas cluster?, strange i haven't found that issues
could you try this?
https://stackoverflow.com/a/54511693

Yes, as mentioned my IP is whitelisted.. but I didn't see PyMongo mentioned anywhere in your documentation. Should I be using PyMongo? Do I need to make a new script/file with the info in that stackoverflow thread?

Can you please provide documentation on how to setup PyMongo and how to connect it (using which URI) to your program? I was running MongoDB via shell or Compass/Atlas and just inputting my whitelisted application connect URI. Sounds like there are some steps I don't know of that aren't included in documentation here.

Where exactly does PyMongo come into play and how should it be used?

Thanks!

Caligo already used PyMongo already you don't need to set up any script to connect PyMongo from Caligo.

It was mentioned in config.env_example

Are you sure you already export DB_URI and the value of that env variable is your URI you got from your atlas:

it should be like this the URI
mongodb+srv://user:password@name.0uwjl.mongodb.net/name?retryWrites=true&w=majority"

XMVZ commented

I've done exactly that...

Taken from here: https://prnt.sc/1rlcw9r
Input the URI into the config.env: https://prnt.sc/1rlcz1s
This is what I am left with: https://prnt.sc/1rld0h2

What am I doing wrong?
@adekmaulana

I've done exactly that...

Taken from here: https://prnt.sc/1rlcw9r
Input the URI into the config.env: https://prnt.sc/1rlcz1s
This is what I am left with: https://prnt.sc/1rld0h2

What am I doing wrong?
@adekmaulana

can you test this command like this.

import certifi
certifi.where()

Screenshot (7)

XMVZ commented

@adekmaulana any idea here? feel like i'm so close to being able to use your code!

@adekmaulana any idea here? feel like i'm so close to being able to use your code!

Sorry for the late respond, i think i need to create a workaround for this issue.
The problem is i can't test if it would be fixed or no.

XMVZ commented

@adekmaulana any idea here? feel like i'm so close to being able to use your code!

Sorry for the late respond, i think i need to create a workaround for this issue.
The problem is i can't test if it would be fixed or no.

what exactly is the issue? seems like everything is working fine, no?
did i miss a step somehwere or something?

@adekmaulana any idea here? feel like i'm so close to being able to use your code!

Sorry for the late respond, i think i need to create a workaround for this issue.
The problem is i can't test if it would be fixed or no.

what exactly is the issue? seems like everything is working fine, no?
did i miss a step somehwere or something?

seems like certificate issue, but i can't test it.
if you want i can push to another branch and you test it see if it works or no

because i don't have that issue on my Windows

XMVZ commented
XMVZ commented

@adekmaulana can you let me know once that branch has been pushed?

thank you!

@adekmaulana can you let me know once that branch has been pushed?

thank you!

try https://github.com/adekmaulana/caligo/tree/db-test that branch.
let me know