mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-21 18:05:33 -04:00
Frequent Internal Network Errors and Invalid Invitation Links in Locally Deployed Dify 1.0.0 #103
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nixinonana on GitHub (Mar 12, 2025).
Hello everyone,
I'm encountering two issues with Dify 1.0.0 deployed locally via Docker.
The first problem is frequent internal network errors after a successful deployment. These errors occur repeatedly, though they sometimes resolve temporarily before reappearing. I'm seeking potential solutions from others who might have experienced similar issues.
The second issue involves the invitation links generated under "Settings" - "Members." Despite multiple attempts to create new links, they consistently fail to open properly, displaying an "invalid link" message(Both devices use the same LAN). This persists even when accessing from devices on the same local network and after substituting localhost with the host IP.
Has anyone else faced these problems? I'd appreciate any insights or solutions the community can offer.
Best regards,
@dosubot[bot] commented on GitHub (Mar 12, 2025):
For the internal network errors in Dify 1.0.0 when deployed via Docker, there are a couple of known causes and solutions:
Ollama Accessibility: Ensure that Ollama is accessible inside the Docker container. Replace
localhostwithhost.docker.internalin the service URL. For macOS, set the environment variable usinglaunchctl:For Linux, if Ollama runs as a systemd service, edit the service to include:
Then reload and restart the service:
On Windows, modify the system environment variables to include
OLLAMA_HOSTand restart Ollama [1].502 Bad Gateway Error: This can occur if Nginx is forwarding requests to the wrong location. Ensure the target container is running and use the following command to find the correct IP addresses:
Update the Nginx configuration in
dify/docker/nginx/conf.dwith the correct IP addresses and restart the Nginx container or reload the configuration [1].Regarding the "invalid link" issue with invitation links, I couldn't find specific error messages or logs related to this problem in the documentation. However, ensure that the default setting for invitation link expiration is set correctly, which is 72 hours [2]. If the issue persists, consider checking the network and firewall settings to ensure proper communication between devices on the same LAN.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@nixinonana commented on GitHub (Mar 13, 2025):
I'm currently using the SiliconFlow API to call the AI model, so I suspect the issue might be elsewhere.
@dosubot[bot] commented on GitHub (Apr 22, 2025):
Hi, @nixinonana. I'm Dosu, and I'm helping the dify-docs team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!