Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Connection error with using Openai API KEY

Open TaugenichtsZZY opened this issue 10 months ago • 8 comments

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.

TaugenichtsZZY avatar Apr 01 '24 14:04 TaugenichtsZZY

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

toi500 avatar Apr 01 '24 17:04 toi500

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?

TaugenichtsZZY avatar Apr 01 '24 18:04 TaugenichtsZZY

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

toi500 avatar Apr 01 '24 18:04 toi500

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

TaugenichtsZZY avatar Apr 02 '24 07:04 TaugenichtsZZY

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

HenryHengZJ avatar Apr 03 '24 09:04 HenryHengZJ

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)

TaugenichtsZZY avatar Apr 03 '24 13:04 TaugenichtsZZY

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

WissemBellara avatar Apr 08 '24 07:04 WissemBellara

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

兄弟 你解决了吗

liyiyiya avatar May 09 '24 09:05 liyiyiya