Skip to content
Discussion options

You must be logged in to vote

Hi @Donchka! I'm Dosu and I’m helping the dify team.

This is a known issue caused by the FILES_URL environment variable not being properly configured. When it's empty or misconfigured, Dify generates file URLs as relative paths (/files/tools/...) instead of full URLs with the protocol prefix.

Solution: Set FILES_URL in your .env file with the full protocol:

FILES_URL=http://192.168.x.x:5001

For Docker Compose setups (Dify 1.11.4+), you may also need to configure:

  • INTERNAL_FILES_URL=http://api:5001 — for internal container-to-container communication
  • FILES_URL=http://your-external-ip:port — for external access

Important notes:

  • Don't use localhost in Docker environments — use your actua…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Donchka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant