Giter Club home page Giter Club logo

Comments (10)

xqdoo00o avatar xqdoo00o commented on July 18, 2024

是nginx配置的key还是网页端配置的key,顺便看下浏览器开发者工具的网络请求报的错

from chatgpt-web.

Southyang avatar Southyang commented on July 18, 2024

网页配置,目前发送不出消息,控制台报错

Mixed Content: The page was loaded over HTTPS, but requested an insecure script 
'http://npm.elemecdn.com/[email protected]/texmath.js'. This request has been blocked; the content must be served
 over HTTPS.

from chatgpt-web.

xqdoo00o avatar xqdoo00o commented on July 18, 2024

请用最新的HTML版本,不会有这个报错了

from chatgpt-web.

vvok avatar vvok commented on July 18, 2024

我也是,两台服务器都提示同样错误,不管是CaddyFile配置还是网页配置。今天过来发现有更新,结果还是同样错误!new key.

from chatgpt-web.

eureka6 avatar eureka6 commented on July 18, 2024

我也遇到了,不管是amh面板部署,还是从头编写nginx,都提示api频率限制。前端手动输密钥都不行。(国外vps,新密钥)

from chatgpt-web.

xqdoo00o avatar xqdoo00o commented on July 18, 2024

@vvok @eureka6 请打开浏览器开发者工具,看下具体报错代码,500的话应该是反代没部署对

from chatgpt-web.

niu12503 avatar niu12503 commented on July 18, 2024

同样的问题,搞不定

from chatgpt-web.

xqdoo00o avatar xqdoo00o commented on July 18, 2024

@vvok @eureka6 @niu12503
十有八九是nginx反代没部署对。
国内直接使用openai接口是被Q的,所以要搭配nginx反代,并且反代服务器要正常访问api.openai.com
如果没有部署反代的话,index.html里的/v1/chat/completions改成https://api.openai.com/v1/chat/completions,并把接口地址api.openai.com加到梯子代理列表,只部署HTML文件的话也能用。(如果是其他用户使用,也要梯子才能用)

from chatgpt-web.

xqdoo00o avatar xqdoo00o commented on July 18, 2024

@vvok @eureka6 @niu12503
如果需要部署nginx反代,请使用最新的HTML文件,并参考最新的文档重新配置。

from chatgpt-web.

eureka6 avatar eureka6 commented on July 18, 2024

又部署了一次,国外vps,换了API接口地址,成功。

from chatgpt-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.