Comments (7)
应该没啥问题。不是很复杂。那估计是sealos那边有问题,我去他们群里问问
from fastgpt.
你好,这个问题应该是sealos自动签名证书问题。
请问是一开始就报错,还是后续报错?
可以浏览器直接访问: https://tgohwtdlrmer.cloud.sealos.io/openai/v1 看下https有没有错误提示,以及能不能收到响应。
from fastgpt.
浏览器访问sealos的外部地址,会有以下提示:
你的连接不是专用连接
攻击者可能试图从 ypqbhsfefwuf.cloud.sealos.io 窃取你的信息(例如,密码、消息或信用卡)。
NET::ERR_CERT_AUTHORITY_INVALID
Subject: Kubernetes Ingress Controller Fake Certificate
Issuer: Kubernetes Ingress Controller Fake Certificate
Expires on: 2024年3月29日
Current date: 2023年5月11日
from fastgpt.
可能是证书,没生效。可以去变更下nginx。
点击变更应用,点下更新应用
from fastgpt.
尝试了但是不行,nginx文件如下,是哪里写错了吗:
user nginx;
worker_processes auto;
worker_rlimit_nofile 51200;
events {
worker_connections 1024;
}
http {
resolver 8.8.8.8;
proxy_ssl_server_name on;
access_log off;
server_names_hash_bucket_size 512;
client_header_buffer_size 64k;
large_client_header_buffers 4 64k;
client_max_body_size 50M;
proxy_connect_timeout 240s;
proxy_read_timeout 240s;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
server {
listen 80;
server_name ypqbhsfefwuf.cloud.sealos.io; # 这个地方替换成 sealos 提供的内容
location ~ /openai/(.*) {
# auth check
if ($http_auth != "auth") { # 安全凭证
return 403;
}
proxy_pass https://api.openai.com/$1$is_args$args;
proxy_set_header Host api.openai.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# 如果响应是流式的
proxy_set_header Connection '';
proxy_http_version 1.1;
chunked_transfer_encoding off;
proxy_buffering off;
proxy_cache off;
# 如果响应是一般的
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
}
}
}
from fastgpt.
sealos回应已解决。可以尝试下
from fastgpt.
已经测试过,可以使用了。
from fastgpt.
Related Issues (20)
- 4.8.9-alpha拉取失败 HOT 5
- 4.8.9-test知识库上传,报Api response error: undefined, 未配置商业版链接: core,dataset,tag,getAllTags HOT 1
- 知识库应用如何放置HTTP请求的数据 HOT 7
- 代码运行模块总是502 HOT 4
- 知识库导出csv,不能导出数据索引 HOT 1
- openapi启动不起来,栈溢出报错 HOT 1
- 500报错 知识库搜索 变量引用报错 HOT 1
- /api/core/dataset/data/update 修改单条数据接口返回500错误 HOT 1
- 指定回复插件 在回复内容前默认会有一个 换行符,是有什么特殊处理吗? HOT 2
- 系统语言改成英文后还有中文地方 HOT 3
- 访问OpenAPI反馈api.fastgpt.in: Name or service not known HOT 1
- 通过http获取知识传给AI知识库或文档如何控制引用提示词 HOT 1
- V4.8.8 标注在对话日志里看不到了 HOT 1
- 4.8.9 对话日志和调试窗口的信息显示不全
- 是否支持弹出一个免责声明让用户确认 HOT 3
- chatgpt-on-wechat v1.7.0适配问题
- 麻烦提供支持tools的模型 HOT 1
- v4.8.9-alpha的工作流里面已发布显示为“未发布” HOT 1
- 知识库无法正常导出
- 上传文件卡在 0% HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastgpt.