Skip to content
Back

Sites and SSL

  • 0
  • Self Hosted
DaddyImPregnant
29 Jun, 2025, 07:23

Hi!

I'm trying to configure Appsite sites, and I'm using Cloudflare for SSL. After I generate the SSL certificate (It generates fine it seems), I go and load the page and it eventaully runs into a 500 error with this error in the logs

appwrite | Internal curl error has occurred within the executor! Error Number: 7 openruntimes-executor | [Error] Type: Exception openruntimes-executor | [Error] Message: Internal curl error has occurred within the executor! Error Number: 7 openruntimes-executor | [Error] File: /usr/local/src/Executor/Runner/Docker.php openruntimes-executor | [Error] Line: 1145 appwrite-worker-stats-usage | [Job] Received Job (6860e9692c2c55.49041685).

I'm also seeing this in my logs every once in a while

appwrite | Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds. appwrite | [Error] Timestamp: 2025-06-29T07:22:29+00:00 appwrite | [Error] Method: GET appwrite | [Error] URL: / appwrite | [Error] Type: Appwrite\Extend\Exception appwrite | [Error] Message: Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds. appwrite | [Error] File: /usr/src/code/src/Executor/Executor.php appwrite | [Error] Line: 415 openruntimes-executor | [Error] Type: Exception openruntimes-executor | [Error] Message: Internal curl error has occurred within the executor! Error Number: 7 openruntimes-executor | [Error] File: /usr/local/src/Executor/Runner/Docker.php openruntimes-executor | [Error] Line: 1145

TL;DR
Developers are experiencing SSL and 500 errors when trying to configure Appsite sites with Cloudflare for SSL. The SSL certificate generates fine, but they encounter a 500 error with internal curl errors in the logs. They also see timeouts for synchronous function execution. One developer offers that the domain may not be recognized as the main domain, skipping SSL certificate generation.
DaddyImPregnant
29 Jun, 2025, 07:23

I know this is vauge, just let me know what information you need. This has been a bit of a headache to debug, and I'm more than willing to buy a support plan of some sort to get this figured out!

DaddyImPregnant
29 Jun, 2025, 07:49

Just as a little update, functions do the same, and throw the same error, but I also get this at the end I notice:

6860e4e40029a83ab491.functions.redacted.io is not a main domain. Skipping SSL certificate generation.

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