Back

[SOLVED] HTTPS in Functions Invocations on Cloud

  • 0
  • Functions
  • Cloud
itsjustintime
29 Dec, 2023, 00:19

When I make a manual run via Appwrite Cloud, I see that the endpoint is an HTTP endpoint http://<base_url>:3000/register. I can cURL the same endpoint with HTTPS and it resolves. I see that an SSL cert is created as well in the UI.

I think it would make sense to either have:

  • configurable to run with HTTPS in the UI in lieu of defaulting to HTTP
  • default to HTTPS or even redirect all HTTP calls to HTTPS on the LB side

Let me know if I overlooked something. If you think this might be a good idea, I can create an issue in the repo.

TL;DR
The user is reporting that when making a manual run via Appwrite Cloud, the endpoint is an HTTP endpoint instead of HTTPS. They suggest that it would be helpful to either have the option to configure HTTPS in the UI or to default to HTTPS or redirect all HTTP calls to HTTPS on the load balancer side. The issue has been solved and the user has marked the post as closed.
Drake
29 Dec, 2023, 01:00

where do you see this HTTP endpoint?

itsjustintime
29 Dec, 2023, 01:03

I click "Execute Now" and fill out some fields. Then in the run logs, it states that the request is HTTP

Drake
29 Dec, 2023, 01:05

oh lol. im pretty sure this is all internal within the rutnimes network

itsjustintime
29 Dec, 2023, 01:05
itsjustintime
29 Dec, 2023, 01:05

^ sorry I reposted to redact my endpoint. Figured I might as well

Drake
29 Dec, 2023, 01:06

ya this is all internal private docker network so there isn't any HTTPS

itsjustintime
29 Dec, 2023, 01:13

okay that makes sense 😁 !

ideclon
29 Dec, 2023, 04:29

If your issue has been solved, you can mark this post as closed by adding β€œ[SOLVED]” to the beginning of the title

itsjustintime
29 Dec, 2023, 04:30

[SOLVED] HTTPS in Functions Invocations on Cloud

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