-
Notifications
You must be signed in to change notification settings - Fork 41
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
API Error on KRAGEN backend #87
Comments
Which vector DB are you connected to when you see this error? The full AlzKB vector DB? or the local (test) vector DB? |
I used the full AlzKB vector DB. |
If the WEAVIATE_URL and WEAVIATE_API_KEY are configured correctly, it works fine. It's likely that you mixed the test and prod WEAVIATE_API_KEYs During troubleshooting, I found that setting the wrong WEAVIATE_API_KEY causes the We'll need to resolve these tasks:
@HyunjunA Please confirm if you can get this to work with the correct weaviate configuration (i.e. having the right corresponding WEAVIATE_URL and WEAVIATE_API_KEY) |
@jay-m-dev I believe the WEAVIATE_URL and WEAVIATE_API_KEY are configured correctly. However, I can review with you how they are set up on my local machine. It is functioning properly, but occasionally, this error occurs. |
Describe the bug
The error shown in the screenshot sometimes occurs when posting a question "Please list five genes associated with Alzheimer's disease" to the Kragen server. Specifically, the POST request to http://127.0.0.1:5050/chat/api/v1/got results in a "500 Internal Server Error." The browser console displays "Failed to fetch data: SyntaxError: Unexpected token '<', '<!doctype '... is not valid JSON," indicating that the server response was not in JSON format as expected. Instead, the server seems to have returned an HTML document (often an error page), which the client-side script attempted to parse as JSON.
To Reproduce
Steps to reproduce the behavior:
Screenshots
The text was updated successfully, but these errors were encountered: