Closed hemangjoshi37a closed 1 year ago
Have you correctly set the endpoint before making the request?
client.set_endpoint("http://yourappwritehost/v1")
There is no indication in the error that you would have set the endpoint to a http
. The client is attempting a connection to a https
endpoint as indicated by the HTTPSConnectionPool
error.
@markusleh Actaully the issue is with this library itself. Here in this library the getters and setters are not correctly implemented. Which I have correctly implemented to set the API endpoint and other arguments in my forked repo : https://github.com/hemangjoshi37a/sdk-for-python for which I also have placed one pull request #53 . Please merge my PR to resolve this issue.
@hemangjoshi37a, as @markusleh asked, did you initialize the client properly by calling client.set_endpoint("http://yourappwritehost/v1")
? Also, please make sure you have _APP_OPTIONS_FORCE_HTTPS
disabled and there are no other HTTP to HTTPS redirects.
ok
@hemangjoshi37a, are you still seeing the error or can this issue be closed now?
@hemangjoshi37a, are you still having problems? Please keep in mind that I'll need to close this because of inactivity soon.
👟 Reproduction steps
I run code :
it gives me this error :
👍 Expected behavior
should make a new user
👎 Actual Behavior
not making a new user
🎲 Appwrite version
Version 0.10.x
💻 Operating system
Linux
🧱 Your Environment
no customization. verything standard and as latest as it can get.
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?