plugins-quickstart icon indicating copy to clipboard operation
plugins-quickstart copied to clipboard

Failed to fetch localhost manifest

Open sagarspatil opened this issue 2 years ago • 7 comments

I am getting this error: Failed to fetch localhost manifest. Check to ensure your localhost is running and your localhost server has CORS enabled.

I checked and can see the manifest file at http://localhost:5003/.well-known/ai-plugin.json

Any idea what might be wrong here?

Log:

  • Serving Quart app 'main'
  • Environment: production
  • Please use an ASGI server (e.g. Hypercorn) directly in production
  • Debug mode: True
  • Running on http://0.0.0.0:5003 (CTRL + C to quit) [2023-04-19 18:44:54 +0200] [20687] [INFO] Running on http://0.0.0.0:5003 (CTRL + C to quit)

sagarspatil avatar Apr 19 '23 17:04 sagarspatil

I am getting this error: Failed to fetch localhost manifest. Check to ensure your localhost is running and your localhost server has CORS enabled.

I checked and can see the manifest file at http://localhost:5003/.well-known/ai-plugin.json

Any idea what might be wrong here?

Log:

  • Serving Quart app 'main'
  • Environment: production
  • Please use an ASGI server (e.g. Hypercorn) directly in production
  • Debug mode: True
  • Running on http://0.0.0.0:5003 (CTRL + C to quit) [2023-04-19 18:44:54 +0200] [20687] [INFO] Running on http://0.0.0.0:5003 (CTRL + C to quit)

I consistently encounter the same error when attempting to install the plugin in Safari. However, when I switch to Chrome, the installation proceeds successfully.

saschaschramm avatar Apr 20 '23 12:04 saschaschramm

Similar to @saschaschramm, I get the same error in Safari, but it works in Chrome.

chrisalbon avatar Apr 20 '23 21:04 chrisalbon

I had this issue in Brave browser, so put the shields down, and it started working.

nhaskins avatar May 12 '23 18:05 nhaskins

I had same error. It worked fine after changing the chrome settings.

Respect the result of Private Network Access preflights => default to disabled

seiyamiyaoka avatar May 13 '23 05:05 seiyamiyaoka

Any idea how to get localhost plugins work in Safari / WebKit based browsers?

tddschn avatar May 20 '23 02:05 tddschn

Doesn't work on Chrome or Safari for me

areibman avatar May 24 '23 22:05 areibman

Get the same error on Chrome / Arc / Brave

Klingefjord avatar Jun 02 '23 12:06 Klingefjord

from flask_cors import CORS

app = Flask(__name__)
# CORS(app, origins='https://chat.openai.com/')
CORS(app, origins='*')

Doujiang2333 avatar Jun 17 '23 03:06 Doujiang2333

Maybe your ai-plugin.json file is not a valid json.

KristyleM avatar Jun 20 '23 10:06 KristyleM

You need to enable cors for localhost and chat.openai.com

sagarspatil avatar Jun 20 '23 11:06 sagarspatil