-
Notifications
You must be signed in to change notification settings - Fork 320
Upgrade to version 1.1.2 breaks IntrospectionQuery #623
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
Comments
Could you share a sample application reproducing the issue? Is there a chance this is related to spring-projects/spring-framework#30031 and your project path contains spaces or special characters? |
Here is an example repo that I was able to reproduce in. What I noticed in setting up this repo is that MVC is working properly it seems that just WebFlux is having the issue. The example repo is currently on Spring-Boot v3.0.2 and works but in the pom if you change it to 3.0.3 it starts to fail when navigating to localhost:8080/graphiql |
Thanks for the sample @tkmax83 - indeed changing the Spring Boot version to 3.0.3 fails when the GraphiQL UI sends an introspection query. Interestingly, other queries seem to work fine. Here are the logs when this happens:
Here's the stack:
Interestingly, this only happens when Tomcat is involved - removing <properties>
<java.version>17</java.version>
<spring-framework.version>6.0.4</spring-framework.version>
</properties> Could this be a regression introduced in Spring Framework 6.0.5, or a change that uncovers a problem in Spring for GraphQL. I'm seeing two issues related to buffer management, spring-projects/spring-framework/issues#29943 and spring-projects/spring-framework#29889. |
I've found that the actual I'm working on a reduced reproducer for this. |
This is most likely due to a bug in Tomcat's |
Thanks @poutsma for the analysis. I'm closing this issue as a result. |
We have noticed that the Documentation section in the graphiql UI is no longer returning the schema documentation. After debugging and going back through commits it appears that the upgrade from Spring boot 3.0.2 -> 3.0.3 where the spring-graphql was updated from 1.1.1 -> 1.1.2 breaks the IntrospectionQuery call and causes it to not return and show an "Error fetching schema". This section is incredibly important for our documentation purposes.
The text was updated successfully, but these errors were encountered: