Connection problem due to lack of CORS support in Triton Server, which blocks requests from frontend web applications #8371
Unanswered
Lizbeth-2Hernandez
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Lack of native support for CORS (Cross-Origin Resource Sharing) in Triton Inference Server 23.10, which prevents direct integration with web frontend applications running on different domains. HTTP requests from web browsers (localhost:3000) to Triton Server (localhost:8000) are blocked by CORS security policies.
Environment
TensorRT Version: 23.10-py3
GPU Type: Included in container 23.10
Nvidia Driver Version: 535.154.05
CUDA Version:12.2
CUDNN Version: 8.9.5
Operating System + Version: Ubuntu 22.04.3 LTS
Python Version (if applicable): 3.10
Baremetal or Container (if container which image + tag): nvcr.io/nvidia/tritonserver:23.10-py3
Relevant Files
Technical Issue Report - Triton Inference Server - Google Drive
Steps To Reproduce
1. Environment Setup
2. Execution of Triton Server
3. Server Verification
4. Execution of the Frontend Application
5. Error Reproduction
Full Trace of Errors
Error in Browser (Console)
Triton Server Logs (Technical Success)
Missing Response Headers
CORS Configuration Attempt (Error)
Resulting error:
tritonserver: unrecognized option '--cors-allow-origin=http://localhost:3030'
Beta Was this translation helpful? Give feedback.
All reactions