You mean you can’t access this page?
https://xnatdev.xnat.org/xapi/swagger-ui.html
Changing server address, etc., as appropriate of course. I haven’t seen any problems with that myself. Here’s that page running on the xnat-release configuration with 1.7.4.1:

Same story with the latest dev build.
You’re right about that path though, it’s definitely fishy. I get this in the nginx access logs (edited down):
"GET /xapi/swagger-resources/configuration/ui HTTP/2.0" 200 519 "https://xnatdev.xnat.org/xapi/swagger-ui.html"
I moved the war file from ROOT.war to xnat.war so that XNAT would have an application context path (e.g. http://server/xnat) but no issues there either.
These are both running on Ubuntu 16.04 from the nrgxnat/xnatstack-ubuntu1604 1.1.2 base box.
I doubt this is the issue but have you tried updating the base box for the VM configuration?
$ vagrant box outdated
$ vagrant box update
If that doesn’t fix the issue, check what versions of the Swagger and Springfox libraries you have:
$ find /var/lib/tomcat7/webapps/xnat/WEB-INF/lib -name "*swagger*" -o -name "*springfox*" | sort -u
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/springfox-core-2.4.0.jar
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/springfox-schema-2.4.0.jar
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/springfox-spi-2.4.0.jar
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/springfox-spring-web-2.4.0.jar
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/springfox-swagger2-2.4.0.jar
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/springfox-swagger-common-2.4.0.jar
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/springfox-swagger-ui-2.4.0.jar
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/swagger-annotations-1.5.6.jar
/var/lib/tomcat7/webapps/xnat/WEB-INF/lib/swagger-models-1.5.6.jar
Those should be the versions for 1.7.4.1. Our most recent dev builds replace 2.4.0 with 2.7.0 and 1.5.6 with 1.5.13, but otherwise it’s the same list of jars.
--
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
Phone: +1 (314) 273-1645
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
The SEVERE messages in catalina.out are routine and out of our control. Background in this StackOverflow post. I’ve tried to add calls to unregister drivers and generally those have only led to even more panicky messages, so now I just let them happen.
I still have no idea what’s causing your issue with Swagger in that one instance though.
Thanks for the reply.
The SEVERE messages in catalina.out are routine and out of our control. Background in this StackOverflow post. I’ve tried to add calls to unregister drivers and generally those have only led to even more panicky messages, so now I just let them happen.
I still have no idea what’s causing your issue with Swagger in that one instance though.
--
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
Phone: +1 (314) 273-1645