Hi all, I have Appwrite Version 1.3.1. and I use Kotlin SDK to write a functions. There is a problem with adding ANY additional library to deps.gradle except default (io.appwrite:sdk-for-kotlin and com.google.code.gson:gson). If I add smth new, for example 'com.google.firebase:firebase-admin:8.1.0' I'm having an error when trying to run this function An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 6446faed6d9d0987c0f9-654502ab8425908548e5 It looks like there is no possibility to download any "non default" library... I'm using CLI to deploy function and my appwrite.json looks like:
So if you don't add the dependency, it works fine?
yes, with implementation 'io.appwrite:sdk-for-kotlin:1.2.0' implementation 'com.google.code.gson:gson:2.9.0' it works good, any new ones, I have got an error
Any thoughts? Should I add some configuration to appwrite or import the new libury somehow
Weird...can you share your deps.gradle file? I'll have to play around with it
@Steven My docker-compose It looks like a solution https://github.com/appwrite/appwrite/discussions/4671#discussioncomment-4138707 but did not help to me, I still have the error: An internal curl error has occurred within the executor! Error Msg: Could not resolve host: 6446faed6d9d0987c0f9-6548a7e2222921f56e28
result of docker logs appwrite-executor is:
IT's interesting what happaning here... File: /usr/src/code/app/executor.php [Error] Line: 541
Did you say you're only having a problem if you add a dependency? And it works fine if you don't add any additional dependencies? If so, that comment is unrelated to your problem
@Steven Correct!
Recommended threads
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...