Comments (23)
edit config.json and enter api key !
set False for proxy
from chatgpt-clone.
I have the same message error
from chatgpt-clone.
I have almost the identical error.
{"_action":"_ask","error":"an error occurred HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f943d6ae970>: Failed to establish a new connection: [Errno 111] Connection refused')))","success":false}
The default config.json contains this section:
"openai_api_base": "https://api.openai.com", "proxy": { "enable": true, "http": "127.0.0.1:7890", "https": "127.0.0.1:7890" }
It looks like it's expecting a proxy to be running locally on port 7890. I tried setting the enable option to false
but I still get the error above.
from chatgpt-clone.
When I ask something, it never answers me. Any help?
from chatgpt-clone.
Because of the way docker works, the config.json is burned INTO the image when you first build it, you can create a hard link between your local config.json and the one inside the docker image, or you can re-build the image with the update config.json with the steps below.
1) docker-compose down
2) make changes to config.json (nano config.json)
3) docker-compose up -d --build
-d starts it in daemon mode (background) and --build forces to rebuild the image with any updated files.
from chatgpt-clone.
from chatgpt-clone.
Getting the same error, have not seen any feed back on this error so far.
from chatgpt-clone.
Same here.
{"_action":"_ask","error":"an error occurred HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000020E2C832C50>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')))","success":false}
from chatgpt-clone.
api key was already in there.
I set proxy to false, but that gets me:
"I apologize, but it seems that I am having difficulty connecting to the OpenAI server. Please check your internet connection and try again later."
..and in the console:
"
list index out of range
None
- - [01/May/2023 15:13:59] "POST /backend-api/v2/conversation HTTP/1.1" 200 -
list index out of range
None
list index out of range
None
list index out of range
None
list index out of range
None
Expecting value: line 1 column 2 (char 1)
<traceback object at 0x000002077DD0D040>
list index out of range
None
"
from chatgpt-clone.
Following up... I cleared all conversations in the web gui and it's working properly now.
Thanks for the help.
The fix: set the proxy false in config.json
"proxy": {
"enable": false,
from chatgpt-clone.
edit config.json and enter api key ! set False for proxy
it did not work
from chatgpt-clone.
Yeah same, I think I was under the impression there was some kind of reversed engendered api that I. Wouldn't need to use my own. This you need an api key.
from chatgpt-clone.
Check out the author's other project - gpt4free - that's the reverse engineered API. This isn't that.
from chatgpt-clone.
edit config.json and enter api key ! set False for proxy
it did not work
I had to restart the script, restart the browser, and clear all conversations to get it working after the changes.
from chatgpt-clone.
edit config.json and enter api key ! set False for proxy
it did not work
I had to restart the script, restart the browser, and clear all conversations to get it working after the changes.
did it work?
from chatgpt-clone.
edit config.json and enter api key ! set False for proxy
it did not work
I had to restart the script, restart the browser, and clear all conversations to get it working after the changes.
did it work?
Yes. It worked fine... two days ago. When I tried it today (with no changes) I don't get any response at all. No errors, it just sticks on generating forever.
from chatgpt-clone.
See the same problem. config.json looks fine, API key is good. cleared conversations, restarted script. no change.
from chatgpt-clone.
set proxy: false and it works a little better now except the console shows a lot of "list index out of range" errors now. gpt-35-turbo works, but gpt-4 fails
from chatgpt-clone.
after i changed true to false all modes stopped working
from chatgpt-clone.
after i changed true to false all modes stopped working
Likewise in my case, I just get no response no matter if I use gpt-3.5 or gpt-4
from chatgpt-clone.
Luisf371's comment on May 4 corrected the problem for me, after changing the proxy term to false in config.json. Thank you, I would have never figured that out!
from chatgpt-clone.
If you have set the proxy
to false and added the API key
and it still doesn't work, then it could be an issue related to your OpenAI account since they only let you use the API for free for the first three months
after account creation. Unfortunately, the only solution to that issue is adding a payment method here. Keep in mind that you can set usage limits here.
from chatgpt-clone.
Thank you for your open-source project. I have identified a bug
When the input content is too much, it will exceed the range of the input box
from chatgpt-clone.
Related Issues (20)
- ChatGPT
- Take advantage of the beta Browsing feature?
- Is Open API key mandatory? HOT 5
- open ai base url issue HOT 1
- possible PR: replace flask with fastAPI
- how to update the model "gpt-3.5-turbo to gpt-3.5-turbo-16k" HOT 2
- chat.g4f.ai nor selfhosted are not working atm HOT 1
- Copy to clipboard on Chrome HOT 2
- Unable to submit message on Firefox HOT 1
- Getting an error like this when I interact with chatGPT 👇👇
- Mobile web adaptation issues HOT 1
- Timeout when I try to connect to the website HOT 1
- Can I only use openai's gpt? What should I do if I want to use a third party?
- Canot Deploy Flask IN My server | Error 404 HOT 1
- max_tokens error HOT 1
- Is this project still on the drawing board? HOT 2
- add autoprovider to this
- Does it support Azure OpenAI endpoint and keys?
- Cannot scroll down on chrome
- Error message
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 chatgpt-clone.