Back

Cannot build Python runtime functions on 1.4.1

  • 1
  • Functions
SuperLanceur
6 Sep, 2023, 05:46

Hello, When I try to build a function, I receive the following error

TypeScript
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffa8f7549a0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/tgtg/

Function building worked fine on previous versions. I thought that since openruntimes-executor is used instead of appwrite-executor on this version I might have forgotten to change the env variable, but all seems good on that side. It's a bit odd though, as https://appwrite.io/install/env still mentions appwrite-executor

TL;DR
Cannot build Python runtime functions on 1.4.1. The error suggests a problem with accessing the internet to grab a dependency. Firewall settings are unlikely to be the cause. The user will try the suggested solution in a thread and confirm if it resolves the issue.
safwan
6 Sep, 2023, 05:49

I think I read somewhere that 1.4.1 uses executor instead of appwrite-executor

safwan
6 Sep, 2023, 05:49

Let me try to find this to confirm

safwan
6 Sep, 2023, 05:50

Can you see if this thread resolves your issue? https://discord.com/channels/564160730845151244/1147311089135132703

SuperLanceur
6 Sep, 2023, 05:54

Will try and let you know

SuperLanceur
6 Sep, 2023, 07:03

Unfortunately not, even after double checking the hostname. It's a bit odd though, as the error implies the container cannot access outside internet to grab the dependency. Firewall settings did not change since upgrade to 1.4.1, so unlikely to be the cause

Drake
6 Sep, 2023, 18:16

is this a private dependency? is this something we (someone else) can reproducde?

SuperLanceur
6 Sep, 2023, 20:21

not at all, the only dependency is tgtg, it's public on pip

Drake
6 Sep, 2023, 20:55

and this is a new 1.4 function? or old 1.3 function?

SuperLanceur
6 Sep, 2023, 21:02

well it's a fresh 1.4 appwrite instance with the function being created in 1.4, but the code itself is the still the same

Drake
6 Sep, 2023, 22:03

the way you write functions is pretty different in 1.4 👀

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