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

Tracing app performace setting keep loading after the server address of langfuse changed #9883

Closed
5 tasks done
fdb02983rhy opened this issue Oct 25, 2024 · 7 comments
Closed
5 tasks done
Assignees
Labels
🐞 bug Something isn't working

Comments

@fdb02983rhy
Copy link
Contributor

fdb02983rhy commented Oct 25, 2024

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.9.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Using a self hosted langfuse, set up in dify via http in 'Tracing app performance'.
Changed the ip address of langfuse server.
image

✔️ Expected Behavior

The setting can be loaded

❌ Actual Behavior

Keep loading

@dosubot dosubot bot added the 🐞 bug Something isn't working label Oct 25, 2024
Copy link

dosubot bot commented Oct 25, 2024

I couldn't find a specific solution for the issue you're experiencing, but I can provide some guidance based on related information. When changing the server address of a connected service in Dify, you need to update the relevant configuration files. Specifically, ensure that the .env file is updated with the new server addresses for variables like CONSOLE_API_URL, CONSOLE_WEB_URL, SERVICE_API_URL, APP_API_URL, and APP_WEB_URL [1][2].

Additionally, if you're encountering connectivity issues, make sure that the new server address is correctly configured in your Docker setup and that any necessary network settings are adjusted to reflect the change. If the issue persists, you might want to check if there are any logs or error messages that could provide more insight into the problem.

To continue talking to Dosu, mention @dosu.

@fdb02983rhy fdb02983rhy changed the title Tracing app performace setting keep load after the server address of langfuse changed Tracing app performace setting keep loading after the server address of langfuse changed Oct 25, 2024
@ZhouhaoJiang
Copy link
Collaborator

check if your self-deployed langfuse is available

@fdb02983rhy
Copy link
Contributor Author

fdb02983rhy commented Oct 26, 2024

check if your self-deployed langfuse is available

The langfuse server with new ip address works.
What I am trying to do is change the current langfuse setting from old address to the new one in dify. However, the UI keeps loading so I am not able to do that.

Edit:
Can we display the configuration UI even the tracing provider not available so users can correct the configuration? Pop up an error msg instead of infinite loading.
image

@ZhouhaoJiang
Copy link
Collaborator

This problem has been fixed in #8361

@fdb02983rhy
Copy link
Contributor Author

The fix doesnt works on me, could you please advice me how can I modify the configuration?

@ZhouhaoJiang
Copy link
Collaborator

I recommend two methods, you can choose either one

  1. Enter the database, look for the trace_app_config table, delete the record, and then look for the apps table to find the tracing field to delete
    CleanShot 2024-10-28 at 11 26 44@2x
  2. Re-pull the image and re-build the service, but pay attention to the database backup

@fdb02983rhy
Copy link
Contributor Author

Thank you!

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

No branches or pull requests

2 participants