Back

Functions: Cannot be parsed as a URL Error

  • 0
  • Self Hosted
  • Functions
WhiteWalker72
21 Nov, 2024, 15:15

Hi, I've recently updated my self hosted instance to version 1.6.0. Since then all my appwrite functions are failing with this errror:

TypeScript
TypeError: "http://--volume /var/run/docker.sock:/var/run/docker.sock \/" cannot be parsed as a URL.
    at URL (native)
    at <anonymous> (/usr/local/server/src/server.ts:68:22)
    at processTicksAndRejections (:12:39)

I'm not sure what this means or how I could debug this issue. Any and all help is welcome!

TL;DR
Issue: After updating to version 1.6.0, appwrite functions are failing with a "Cannot be parsed as a URL" error. It seems to be related to a volume path. Solution: This error is due to a malformed URL in your Docker volume path. Double-check the volume path you are using and ensure it is in the correct format.
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