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

Connection error with using Openai API KEY #2077

Open
TaugenichtsZZY opened this issue Apr 1, 2024 · 8 comments
Open

Connection error with using Openai API KEY #2077

TaugenichtsZZY opened this issue Apr 1, 2024 · 8 comments
Labels
question Further information is requested

Comments

@TaugenichtsZZY
Copy link

Describe the bug
I followed the "Quick Start" steps on the web page to get to the flowise web site, and used my openai api key to try a simple example, but it always shows a connection error instead of a normal response.

To Reproduce
Steps to reproduce the behavior:

  1. Latest NodeJS installed
  2. Install and start Flowise
  3. Open http://localhost:3000/
  4. Try 'Flowise Docs QnA' in Marketplaces

Screenshots
image

image

Setup

  • Installation: npx flowise start
  • Flowise Version: latest
  • OS: Linux
  • Browser: chrome

Additional context
This is the first time I've tried a similar app. I'm not sure if it's just the way I'm using it or the way it's installed. I will be using a VPN because of the region, but I get the connection error error whether I use a VPN or not.

@toi500
Copy link
Contributor

toi500 commented Apr 1, 2024

Did you try to use another loader node? Like a txt or pdf

@TaugenichtsZZY
Copy link
Author

Did you try to use another loader node? Like a txt or pdf

This is the default template in marketplaces. Do you mean you want me to replace one of the nodes with a pdf file node? Will this solve the connection error problem?

@toi500
Copy link
Contributor

toi500 commented Apr 1, 2024

Add the pdf loader node, upload a pdf file and see if you got the same error.

@TaugenichtsZZY
Copy link
Author

Add the pdf loader node, upload a pdf file and see if you got the same error.

Hello. I did what you said, mimicked the example provided by flowise using the pdf file node and uploaded a pdf file, but it still shows the same error.
image

@HenryHengZJ
Copy link
Contributor

can you verify that your openai API call works outside of flowise? - https://platform.openai.com/docs/api-reference/chat/create ?

@HenryHengZJ HenryHengZJ added the question Further information is requested label Apr 3, 2024
@TaugenichtsZZY
Copy link
Author

can you verify that your openai API call works outside of flowise? - https://platform.openai.com/docs/api-reference/chat/create ?

Yes. I use this openai API key in some browser plugins and in dify (-https://dify.ai)

@WissemBellara
Copy link

I have the same issue, but I am running flowise ai on docker desktop.

@liyiyiya
Copy link

liyiyiya commented May 9, 2024

我有同样的问题,但我在 docker 桌面上运行 flowise ai。

兄弟 你解决了吗

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

No branches or pull requests

5 participants