Back

[Fresh 1.3.0 Install] Server error 500 on python function

  • 0
  • Self Hosted
  • Functions
Ponguta_
12 Apr, 2023, 15:18

Hello, I just deploy a VM with new Appwrite 1.3.0. I deploy a python function as usually did, but by the time I execute the function I get this.

TypeScript
Server Error
Traceback (most recent call last):
  File "/usr/local/src/userlib/runtime-env/lib/python3.9/site-packages/appwrite/client.py", line 97, in call
    response.raise_for_status()
  File "/usr/local/src/userlib/runtime-env/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://172.17.0.1/v1/teams

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/src/userlib/src/index.py", line 333, in main
    crear_team(teams)
  File "/usr/local/src/userlib/src/index.py", line 290, in crear_team
    teams.create("smgc_team", "SMGC_TEAM")
  File "/usr/local/src/userlib/runtime-env/lib/python3.9/site-packages/appwrite/services/teams.py", line 40, in create
    return self.client.call('post', path, {
  File "/usr/local/src/userlib/runtime-env/lib/python3.9/site-packages/appwrite/client.py", line 109, in call
    raise AppwriteException(response.json()['message'], response.status_code, response.json().get('type'), response.json())
appwrite.exception.AppwriteException: Server Error

Please notice that I'm using https://172.17.0.1 URL pointing to docker internal IP

Thanks for your attention

TL;DR
The user is experiencing a server error 500 when attempting to execute a Python function on a fresh install of Appwrite 1.3.0. The error specifically occurs when trying to create a team. The user has provided the error message and logs. There is no solution provided in the thread.
Ponguta_
12 Apr, 2023, 15:18

[Fresh 1.3.0 Install] Server error 500 on python function

joeyouss
12 Apr, 2023, 15:19

Ah error 500 - looking into this

Drake
12 Apr, 2023, 16:37

Would you please check the docker logs for hte appwrite container and share the logs for the 500 error?

joeyouss
14 Apr, 2023, 16:49

Hi @Ponguta_ , is this resolved?

Ponguta_
14 Apr, 2023, 16:52

Hello @joeyouss I did downgrade to 1.2.1 by that time. So, should I just delete the question? Probably deprecated already after 1.3.1

Drake
14 Apr, 2023, 16:54

it's still a problem, but will be fixed in 1.3.2: https://github.com/appwrite/appwrite/issues/5365

Ponguta_
14 Apr, 2023, 16:56

Any ETA for 1.3.2 @Steven ? My project depends on that for teams sync, so, should I wait until this update, right?

joeyouss
14 Apr, 2023, 17:08

its best to leave it here so anything is not missed ❤️

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more