Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

404 Not Found #22

Closed
noirmist opened this issue Mar 28, 2023 · 3 comments
Closed

404 Not Found #22

noirmist opened this issue Mar 28, 2023 · 3 comments

Comments

@noirmist
Copy link

Screen Shot 2023-03-29 at 2 22 34 AM

When I trying to test ChatgptAPI, I've receive 404 error.

Error code from revChatGPT.V1

python3 -m revChatGPT.V1                                                                                                                  

    ChatGPT - A command-line interface to OpenAI's ChatGPT (https://chat.openai.com/chat)
    Repo: github.com/acheong08/ChatGPT
    
Type '!help' to show a full list of commands
Press Esc followed by Enter or Alt+Enter to send a message.

You: 
hi

Chatbot: 
Traceback (most recent call last):
 File "/Users/noirmist/opt/anaconda3/envs/gpt/lib/python3.11/site-packages/urllib3/connectionpool.py", line 700, in urlopen
self._prepare_proxy(conn)
 File "/Users/noirmist/opt/anaconda3/envs/gpt/lib/python3.11/site-packages/urllib3/connectionpool.py", line 996, in _prepare_proxy
   conn.connect()
 File "/Users/noirmist/opt/anaconda3/envs/gpt/lib/python3.11/site-packages/urllib3/connection.py", line 369, in connect
self._tunnel()
 File "/Users/noirmist/opt/anaconda3/envs/gpt/lib/python3.11/http/client.py", line 924, in _tunnel
raise OSError(f"Tunnel connection failed: {code} {message.strip()}")
  OSError: Tunnel connection failed: 404 Not Found

I guess, I have issue to setting proxy server. Please share some information to setting the proxy.

@lp1014978271
Copy link

lp1014978271 commented Mar 29, 2023 via email

@acheong08
Copy link
Owner

Set as environment variable: CHATGPT_BASE_URL. Not proxy in config. That's different

@lp1014978271
Copy link

lp1014978271 commented Mar 29, 2023 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants