Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preview chatflow logs errors #12209

Closed
5 tasks done
wangshiyang opened this issue Dec 30, 2024 · 2 comments · Fixed by #12455
Closed
5 tasks done

preview chatflow logs errors #12209

wangshiyang opened this issue Dec 30, 2024 · 2 comments · Fixed by #12455
Labels
🐞 bug Something isn't working

Comments

@wangshiyang
Copy link

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.14.2

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

preview chatflow logs errors:
image
when i debug, i find this:
image
i had change it to this:
url = mapping.get("url") or mapping.get("remote_url")

✔️ Expected Behavior

preview success.

❌ Actual Behavior

Invalid file url.

Copy link

dosubot bot commented Dec 30, 2024

To resolve the "Invalid file url" error in the preview chatflow logs for Dify version 0.14.2 in a self-hosted environment, ensure that the FILES_URL environment variable is correctly configured in your docker-compose.yaml file. This variable should be set to a valid base URL pointing to where your files are hosted. For example, if your files are accessible at http://yourdomain.com/files, update the configuration as follows:

FILES_URL: 'http://yourdomain.com/files'

After making this change, restart your Dify services to apply the updates [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the 🐞 bug Something isn't working label Dec 30, 2024
@wangshiyang
Copy link
Author

To resolve the "Invalid file url" error in the preview chatflow logs for Dify version 0.14.2 in a self-hosted environment, ensure that the FILES_URL environment variable is correctly configured in your docker-compose.yaml file. This variable should be set to a valid base URL pointing to where your files are hosted. For example, if your files are accessible at http://yourdomain.com/files, update the configuration as follows:

FILES_URL: 'http://yourdomain.com/files'

After making this change, restart your Dify services to apply the updates [1].

To continue talking to Dosu, mention @dosu.

Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

but workflow logs preview works good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant