Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChatGPTUnofficialProxyAPI Not Working #632

Open
2 tasks done
asad-ullah321 opened this issue Dec 4, 2023 · 6 comments
Open
2 tasks done

ChatGPTUnofficialProxyAPI Not Working #632

asad-ullah321 opened this issue Dec 4, 2023 · 6 comments

Comments

@asad-ullah321
Copy link

Verify latest release

  • I verified that the issue exists in the latest chatgpt release

Verify webapp is working

  • I verify that the ChatGPT webapp is working properly for this account.

Environment details

{
"name": "tempproject",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"start": "nodemon index.mjs"
},
"author": "",
"license": "ISC",
"dependencies": {
"chat-gpt-authenticator": "^0.5.0",
"chatgpt": "^5.2.5",
"chatgpt-io": "^1.1.4",
"dotenv": "^16.3.1",
"nodemon": "^3.0.2",
"openai-authenticator": "^0.0.3",
"openai-token": "^1.0.0",
"ora": "^7.0.1",
"puppeteer": "^21.5.2",
"unofficial-chatgpt-api": "^1.6.0"
}
}
Node: 18v
OS: Windows 10
Browser: Chrome

Describe the Bug

When I request using ChatGPTUnofficialProxyAPI it get stuck and didn't get the response.
Code:
import { ChatGPTUnofficialProxyAPI } from 'chatgpt'
import { oraPromise } from 'ora'
import { configDotenv } from 'dotenv'
configDotenv()

async function example() {
//console.log(process.env.ACCESS_TOKEN)
const api = new ChatGPTUnofficialProxyAPI({
accessToken: process.env.ACCESS_TOKEN

})

const prompt = 'Hi how are you'
let res = await oraPromise(api.sendMessage(prompt), {
text: prompt
})

console.log('\n' + res.text + '\n')
// let chatResponse = await api.sendMessage(prompt)
// console.log(chatResponse)
// console.log("asad2")

}

example().catch((err) => {
console.error(err)
process.exit(1)
})

@ezekiel747
Copy link

is anyone able to use the unofficial proxy API?
it was still working fine about 2-3 weeks ago.

Also, where can i see a more comprehensive list of reverse proxies?
I've tried with both of those that are listed in the Readme.

Thanks in advance.

@Polydynamical
Copy link

Yeah I'm having the same problem :(

@devadigapratham
Copy link

can i be assigned to solve this

@deadmenrr
Copy link

same problem :(
Pandora proxy has 100 req/day limit =(

@ezekiel747
Copy link

same problem :( Pandora proxy has 100 req/day limit =(

pandora proxy? where can i see its address? or a list of another available addresses?
I only have those two from the Readme file.

@deadmenrr
Copy link

same problem :( Pandora proxy has 100 req/day limit =(

pandora proxy? where can i see its address? or a list of another available addresses? I only have those two from the Readme file.

You need install it on vps and config

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

No branches or pull requests

5 participants