Giter Site home page Giter Site logo

请问下, 改为科学上网端口后,出现java.io.IOException: unexpected end of stream on... 是哪里出了问题了吗 about ai-beehive HOT 7 CLOSED

heisexiong avatar heisexiong commented on August 27, 2024
请问下, 改为科学上网端口后,出现java.io.IOException: unexpected end of stream on... 是哪里出了问题了吗

from ai-beehive.

Comments (7)

hncboy avatar hncboy commented on August 27, 2024

是直接进入 onError 方法吗

from ai-beehive.

heisexiong avatar heisexiong commented on August 27, 2024

是直接访问http://localhost:3002/config接口,然后在ChatServiceImpl的getChatConfig方法中,执行ApiKeyChatClientBuilder.buildOpenAiClient().creditGrants()报的错, 我是把http_proxy_host和http_proxy_port改成了科学上网地址和端口

from ai-beehive.

hncboy avatar hncboy commented on August 27, 2024

本地起代理服务器的话 http_proxy_host 127.0.0.1 不用改,只用改 http_proxy_port 就行。我都是直接通的,还没遇到过报错的情况。你的科学上网代理是本机启动的吗。

from ai-beehive.

heisexiong avatar heisexiong commented on August 27, 2024

我试过不改host,不得,那估计是科学上网的问题了, 不是本机启动的,通过外网服务器代理的

from ai-beehive.

hncboy avatar hncboy commented on August 27, 2024

这种情况我还没测试过。如果可以的话,可以私发下你的代理地址。

from ai-beehive.

heisexiong avatar heisexiong commented on August 27, 2024

我邮件发你了,感谢作者的帮助。

from ai-beehive.

hncboy avatar hncboy commented on August 27, 2024

已解决。

from ai-beehive.

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.