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
Call to AppWrite endpoint does not verify HTTPS certificate #11
Comments
@cellerich please share the Appwrite SDK code you are using. |
Setup:
Code:from appwrite.client import Client
from appwrite.services.storage import Storage
client = Client()
client.set_project('5f1a86f2bfe96') # my project ID
client.set_key('xxxxxxxxxxxxxxxxxxx') # my secret API key )
client.set_endpoint('https://aw.example.com/v1') # my appwrite endpoint
storage = Storage(client)
filelist = storage.list_files() Error message I get from Jupyter
|
@cellerich, you can try and use If you're running Appwrite on a server with a public IP and a public suffix domain, Appwrite will auto-generate an SSL certificate for you. Just make sure your domain is set properly in your Appwrite container ENV vars, and restart your Appwrite container to generate your certificate. |
@eldadfux, that did the trick! Thanks a lot for your work on AppWrite. I haven't done much yet, but I love it so far. Again, thank you! |
That's great to hear @cellerich. If you'll have some time during the weekend, I'd love to hear your feedback about our upcoming built-in cloud functions for Appwrite, and learn if that might be useful for your use case instead of using Appwrite in combination with OpenFaas. You can learn more about Appwrite cloud function on this links: I can share more info on our Discord channel: https://appwrite.io/discord |
Just noticed while using the AppWrite Phyton module in a Jupyter Notebook that I get a warning:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
I guess would be easy to fix with this statement before
urllib3
is used:The text was updated successfully, but these errors were encountered: