Self hosted instance pub get socket error when deploying function
- 0
- Self Hosted
- Flutter
- Functions
I hv self hosted instance of appwrite i am trying to build a function manually but i am getting error socket error when it is trying to get pub dependencies i am using internet proxy and i hv configured docker to that proxy too, is there anything else to follow?
What do you mean by building the function manually?
From tar.gz file i am not setting any repository
How does the tar file looks like? I mean the scheme
are you on 1.5.x have you tried doing it using the CLI ?
Manual deployment should work anyways. I recommend CLI, but π€·ββοΈ
yes its not woking now after the upgrade to 1.5.x appwrite and 5.0.0 cli
Do you have 1.5.3?
yes
@Jake Do you have any ideas?
@D5 it create the function with the appwrite.json and aslo creates the code.tar.gz but does not push to the server
I took the .gz file and manually uploaded getiitng this error
Could not resolve host: appwrite-executor with status code 0
/usr/src/code/src/Executor/Executor.php:331
#0 /usr/src/code/src/Executor/Executor.php(91): Executor\Executor->call('POST', '/runtimes', Array, Array, true, 900)
#1 /usr/src/code/src/Appwrite/Platform/Workers/Builds.php(408): Executor\Executor->createRuntime('65f19ae2a51c1fe...', '655a57fe5fc72cc...', '/storage/functi...', 'openruntimes/da...', 'v3', true, 'lib/main.dart', '/storage/builds...', Array, 'tar -zxf /tmp/c...')
#2 [internal function]: Appwrite\Platform\Workers\Builds->Appwrite\Platform\Workers\{closure}()
#3 {main}
Not sure here π€ @Matej BaΔo any ideas?
In tar there is a folder caled create_function in which there is lib folder and inside it there is main.dart file and inside the create_function there is pubspec.yaml file in which dart_appwrite sdk is mentioned and it gets downloaded by using dart pub get command and that command is giving me this error π₯²
Nd i am using 1.4
And what's your CLI version?
some how I fxed this after deleting the pref.json file
in .appwrite folder
4.2.2
Used CLI but still getting same socket error "Got socket error trying to find package pubspec at https://pub.dev.
I tried python starter function too but got an error
Still not solved
Recommended threads
- After assigning a domain to my Dart func...
Iβve attached the images. Could anyone please explain how this execution is being performed?
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...