labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.49k stars 4.69k forks source link

知识库导出报错 unAuthorization #1146

Closed jevonsnotes closed 6 months ago

jevonsnotes commented 6 months ago

例行检查

你的版本 4.6

问题描述 知识库导出报错,本地直接用的http访问。有发现类似问题说使用ssl正常,请问有相关部署指引吗? [ERROR] 2024-04-08 08:49:30 export dataset error { message: 'unAuthorization', stack: undefined } 复现步骤 知识库→导出 image

预期结果 正常导出csv 相关截图

jevonsnotes commented 6 months ago

用nginx https反向代理 http能解决,只能通过这种方式吗,有没有办法从应用层面解决呢?

 server {

       listen       6443 ssl;
       server_name  fastgpt.test.com;
       ssl_certificate      certs/server.crt;
       ssl_certificate_key  certs/server.key;

       ssl_session_cache    shared:SSL:1m;
       #ssl_session_timeout  5m;

       location / {
           proxy_pass http://192.168.10.30:3000/;
       }
  }
lijiajun1997 commented 6 months ago

我是用花生壳内网穿透映射到https域名解决的

c121914yu commented 6 months ago

用nginx https反向代理 http能解决,只能通过这种方式吗,有没有办法从应用层面解决呢?

 server {

       listen       6443 ssl;
       server_name  fastgpt.test.com;
       ssl_certificate      certs/server.crt;
       ssl_certificate_key  certs/server.key;

       ssl_session_cache    shared:SSL:1m;
       #ssl_session_timeout  5m;

       location / {
           proxy_pass http://192.168.10.30:3000/;
       }
  }