We're having an issue with seeing our phoenix traces, any time i navigate to the traces for a project I see this Unexpected token '<', "<div style"... is not valid JSON I thinkn something bad was inserted we've tried restarting the deployment but keep seeing this even after it starts We have a persistent postgres db and would like to continue retaining is there anything we can do?
The error you're encountering, "Unexpected token '<', '<div style'... is not valid JSON," suggests that the server is returning an HTML error page instead of the expected JSON response. This can occur if there's an issue with the server configuration or the data being queried. To address this, you can try the following steps: 1. Check Server Logs: Review the server logs for any errors or stack traces that might provide more context about the issue. This can help identify if there's a specific query or data causing the problem.2. Clear Browser Cache: Sometimes, clearing the browser cache can resolve issues related to outdated or corrupted cached data. This has been a solution for similar issues in the past (https://github.com/Arize-ai/phoenix/issues/3384|source).3. Database Integrity: Ensure that the database schema is intact and that no tables or data have been corrupted. You might want to run database migrations again if necessary ([source](https://github.com/Arize-ai/phoenix/issues/4347)).4. Inspect Data: If you suspect that bad data was inserted, consider exporting the data to a DataFrame and inspecting it for anomalies. This can be done using the Phoenix client library ([source](https://arize-ai.slack.com/archives/C04R3GXC8HK/p1716335601.812759)).Would you like more detailed guidance on any of these steps? Sources: - [GitHub Issue 3384](https://github.com/Arize-ai/phoenix/issues/3384) - [GitHub Issue 4347](https://github.com/Arize-ai/phoenix/issues/4347) - [Slack Discussion](https://arize-ai.slack.com/archives/C04R3GXC8HK/p1716335601.812759)
馃挕聽Hint: Mention RunLLM in the thread for followups.
This doesn't really help
That's really interesting, is this hosted or self-hosted?
self hosted
never had any issues with it before
what version of phoenix are you running on the server?
5.5.2
Actually, this may be a high prio issue because now it won't come up at all https://arize-ai.slack.com/archives/C04R3GXC8HK/p1730135706227459
