chainlit
chainlit copied to clipboard
Custom frontend react and chainlit connection sometimes breaks
Describe the bug
I am using custom react as frontend and chainlit as backend. It works well, but sometimes the request doesnot reach to chainlit backend. It keeps pending at config while fetch from chainlit backend [in localhost of chainlit http:localhost:8000/auth/config] . Attached is a screenshot of error where chainlit backed is deployed in azure(I omitted the full name of url for security reason in the screenshot).
I am using chainlit version=> 1.0.0, react client => 0.0.601
To Reproduce Steps to reproduce the behavior: I am not sure how to reproduce. Most of the time its working, sometimes the issue is happening.
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen. The frontend should not wait for config
Screenshots If applicable, add screenshots to help explain your problem. attached
Desktop (please complete the following information):
- OS: [e.g. iOS] windows
- Browser [e.g. chrome, safari] chrome
- Version [e.g. 22] Version 122.0.6261.129 (Official Build) (64-bit)
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here. The issue is happening in local as well as azure container app deployed code.