You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When serving a H2ogpt default them through Nginx with security headers configured, the dropdown feature within the app becomes unresponsive and stuck. This issue persists despite providing a nonce in the headers.
we cant remove header , because its for security purpose i.e csp headres and many others issues,
when we run this project, dropdown feature not working it get stucked. But without nginx configs it work perfectly fine.
Steps to Reproduce
Set up Nginx server with the provided configuration file.
Serve the app through this Nginx server.
Access the app and attempt to use the dropdown feature.
Expected Behavior
The dropdown feature should work smoothly without any issues when served through Nginx with the provided security headers.
Actual Behavior
The dropdown feature becomes unresponsive and stuck when served through Nginx with the provided security headers.
Additional Context
The provided Nginx configuration file includes various security headers (such as CSP, HSTS, etc.) for security purposes, which cannot be removed.
System Info
Gradio Environment Information:
------------------------------
Operating System: Linux
gradio version: 4.19.2
gradio_client version: 0.10.1
------------------------------------------------
gradio dependencies in your environment:
aiofiles: 23.2.1
altair: 5.0.1
fastapi: 0.101.1
ffmpy: 0.3.1
gradio-client==0.10.1 is not installed.
httpx: 0.24.1
huggingface-hub: 0.19.4
importlib-resources: 6.1.0
jinja2: 3.1.2
markupsafe: 2.1.3
matplotlib: 3.7.1
numpy: 1.23.4
orjson: 3.9.15
packaging: 23.2
pandas: 2.0.2
pillow: 9.5.0
pydantic: 2.6.3
pydub: 0.25.1
python-multipart: 0.0.9
pyyaml: 6.0.1
ruff: 0.2.2
semantic-version: 2.10.0
tomlkit==0.12.0 is not installed.
typer: 0.9.0
typing-extensions: 4.7.1
uvicorn: 0.23.2
authlib; extra == 'oauth' is not installed.
itsdangerous; extra == 'oauth' is not installed.
The gradio team would be best able to help. I don't have the required expertise. The best case for them is if you have an end-to-end repro or/or live instance showing the problem.
Description
When serving a H2ogpt default them through Nginx with security headers configured, the dropdown feature within the app becomes unresponsive and stuck. This issue persists despite providing a nonce in the headers.
Reference
I have also raised the same issue:
gradio-app/gradio#7775 (comment)
My Nginix config
nginx header:
we cant remove header , because its for security purpose i.e csp headres and many others issues,
when we run this project, dropdown feature not working it get stucked. But without nginx configs it work perfectly fine.
Steps to Reproduce
Set up Nginx server with the provided configuration file.
Serve the app through this Nginx server.
Access the app and attempt to use the dropdown feature.
Expected Behavior
The dropdown feature should work smoothly without any issues when served through Nginx with the provided security headers.
Actual Behavior
The dropdown feature becomes unresponsive and stuck when served through Nginx with the provided security headers.
Additional Context
The provided Nginx configuration file includes various security headers (such as CSP, HSTS, etc.) for security purposes, which cannot be removed.
System Info
gradio_client dependencies in your environment:
The text was updated successfully, but these errors were encountered: