Hello. I have read the forums, searched google, and even discussed this at length with ChatGPT and read all the API docs.
I am extremely confused. When I tested and was happy with my new application in terms of the locaohost version, I set up my own web host, I had a spare domain, https://thelema.ai (and make sure the SSL cert is working and all that is correct). There are no CORS or firewall issues. I can hit every single file required, and they work from various machines, IP ranges.
When I uninstall the localhost:5003 version and try and put in https://thelema.ai, I get the following error:
When I load any of the files, including the manifest in the browser, I get my web server access log showing that.
When I try to have openai load it, I get no connections from them to the web server.
For reference, I will show the URLs for the manifest, openapi.yaml so anyone here can see they are visible, proper SSL etc.
I have spent a lot of time on this and nothing seems to work. All the suggestions people have raised in prior posts are not working for me. I have read and re-read all of the API docs and changed and tested more than one thing so far.
If anyone has any ideas or follow up questions to help figure this out, I would appreciate it. I am a long time developer, and this is just a quick test I was doing for the plugins before I do something real I have planned. But if I cannot even get this to transfer properly⌠I just feel I must either have a fringe case, or I am overlooking something obvious due to tunnel vision.
https://thelema.ai/openapi.yaml
https://thelema.ai/.well-known/ai-plugin.json
Here is the relevant routes for the two files:
@app.route(â/.well-known/ai-plugin.jsonâ, methods=[âGETâ])
def plugin_manifest():
with open(â./.well-known/ai-plugin.jsonâ) as f:
text = f.read()
return Response(text, mimetype=âapplication/jsonâ)
@app.route(â/openapi.yamlâ, methods=[âGETâ])
def openapi_spec():
with open(âopenapi.yamlâ) as f:
text = f.read()
return Response(text, mimetype=âtext/yamlâ)
Thank you kindly. Lilith