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

Failed to load trace[BUG] #3540

Closed
huqianghui opened this issue Jul 11, 2024 · 4 comments
Closed

Failed to load trace[BUG] #3540

huqianghui opened this issue Jul 11, 2024 · 4 comments
Assignees
Labels
bug Something isn't working no-recent-activity There has been no recent activity on this issue/pull request

Kommentare

@huqianghui
Copy link

Describe the bug
I have run the flow in my vscode by command or the UI。
The trace url was printed in the console.
I trid to click the url, then get the error.

How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:

  1. Run the flow in the vscode

Expected behavior
The trace log could be shown in the page.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2024-07-11 at 6 51 58 PM

Running Information(please complete the following information):

  • Promptflow Package Version using pf -v: [e.g. 0.0.102309906]

{
"promptflow": "1.13.0",
"promptflow-core": "1.13.0",
"promptflow-devkit": "1.13.0",
"promptflow-tracing": "1.13.0"
}

  • Python Version using python --version: [e.g. python==3.10.12]
    Executable '/Users/huqianghui/Downloads/books-translations/.venv/bin/python'
    Python 3.11.9

  • Operating System: [e.g. Ubuntu 20.04, Windows 11]

  • MacOS

Additional context
when I run another flow in the workspace,the port is 23334 not the 23333.
And it works well.
Screenshot 2024-07-11 at 6 53 06 PM

question:
How to fix the issue? or change the port mannually?

@huqianghui huqianghui added the bug Something isn't working label Jul 11, 2024
@zhengfeiwang
Copy link
Contributor

Hi @huqianghui , thanks for reaching out! According to your screenshot, you are openning a trace ui page for specific trace, as there is a trace id in the url, and you get errors. The reason behind varies, so we might need more inputs from your side:

  • Could you please provide the error message in those 500 responses? We cannot say what's the root cause without seeing this.
  • If possible, provide prompt flow service, which hosts tracing related APIs, logs; you can get the log file location via command pf service status, so that we can better understand what happened.

@huqianghui
Copy link
Author

@zhengfeiwang ,thanks for your response. I tried to restart my compute, then it works well.
And I try the same traceId in the UI, it also works well now.

And I just want to how to config the trace service, like the port or the storage?

Is there sample rate to config and so no?

@zhengfeiwang
Copy link
Contributor

zhengfeiwang commented Jul 12, 2024

had offline sync with Qianghui and got his pfs log file, there is permission issue during configuration operation; have opened an internal bug to track, and we can use this issue as public tracking item.

Copy link

Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!

@github-actions github-actions bot added the no-recent-activity There has been no recent activity on this issue/pull request label Aug 11, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-recent-activity There has been no recent activity on this issue/pull request
Projects
None yet
Development

No branches or pull requests

2 participants