WongSaang / chatgpt-ui

A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
https://wongsaang.github.io/chatgpt-ui/
MIT License
1.51k stars 333 forks source link

nginx proxy self signed cert issue #208

Open qinjunnan opened 1 year ago

qinjunnan commented 1 year ago

openai error Error communicating with OpenAI: HTTPSConnectionPool(host='proxy.api.com', port=443): Max retries exceeded with url: /chat/completions (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1007)')))

当在前端页面发起查询的时候报以上错误。有什么办法解决吗