-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Failed to load schema - fetch failed #295
Comments
@Mnigos Thank you for raising this issue, It's not immediately clear what the issue here might be, but I'll replicate your setup locally with Strapi and have a closer look to see what I found. Will be sure to keep you updated accordingly. |
It works with production deployment on railway, but not with local. |
same for me. I also try to connect to strapi graphql |
I am having a similar issue when i launch graphql using Docker and docker compose. If i launch this directly outside of docker i am able to run the nuxt app and connect to the port 4000 without an issue. ERROR Cannot start nuxt: |
That might be a CORS issue |
I just ran into this, found an article that mentioned to change, and this package was able to load the schema
no changes in strapi left cors the same strapi version 4.14.4
|
when i try to use codegen, i get an error like this:
it seems to be attempting to inspect before my server is even loaded i am using postgraphile, which needs to inspect the db on startup, so maybe that is the issue? or maybe it is something else, as others seem to have this issue. |
Environment
Darwin
v18.12.0
3.0.0
1.0.0
[email protected]
vite
modules
,css
,build
,graphql-client
,vite
@pinia/[email protected]
,[email protected]
,[email protected]
-
Describe the bug
Cannot introspect graphql api. Everything works in playground. I tried to introspect graphql api with insomnia and everything works fine.
Expected behaviour
Should introspect graphql api as intended.
Reproduction
No response
Additional context
nuxt.config.ts
Graphql config in strapi
Logs
The text was updated successfully, but these errors were encountered: