Closed jdb78 closed 8 months ago
This is interesting. Would love to hop on a quick call to identify the root cause. Can you DM me on discord?
I'll get back to you tomorrow. In the meantime: Maybe this is the issue: https://roopa-vrb.medium.com/400-bad-request-on-azure-app-service-a-story-3ef244ec3cce. The token is indeed really long, so maybe better to put it into the header?
Opened this PR to check if this is the issue. Are you able to build from sources? If not I can build the wheel myself.
Think this was due to my botched implementation of a custom data layer
I deployed Chainlit on an Azure Web App. Generally, it seems to work but when I want to load text elements in a side panel there are issues and I get "An error occured".
In the Chrome console, I am getting Error 400 “Invalid HTTP request received.” This relates to a request
https://****.azurewebsites.net/project/file/****?session_id=****&token
In the logs of the web app:
The strange thing is that in some rare instances it works as expected. Any idea what the issue could be?