You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using cBioPortal docker compose v6.0.12. I changed the context path for the cBioPortal by adding this argument: --path "/cbioportal" to the command:
I also added: server.servlet.context-path="/cbioportal" to the application.properties.
When I query a study that I uploaded I get an error:
2024-08-27 10:16:19 2024-08-27T08:16:19.358Z DEBUG 15 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Failed to complete request: java.net.URISyntaxException: Illegal character in path at index 44: https://public.api.oncokb.org/api/v1��⢚+��K�][���[��\��[�S\�
I think it results from the file: ProxyController.java in line 99 and 100 where it tries to decode the path but does not remove the context path.
I am using cBioPortal docker compose v6.0.12. I changed the context path for the cBioPortal by adding this argument: --path "/cbioportal" to the command:
/bin/sh -c "rm -rf /cbioportal-webapp/lib/servlet-api-2.5.jar && java -Xms2g -Xmx4g -cp '/cbioportal-webapp:/cbioportal-webapp/lib/*' org.cbioportal.PortalApplication --spring.config.location=cbioportal-webapp/application.properties --authenticate=false --path /cbioportal --session.service.url=http://cbioportal-session:5000/api/sessions/my_portal/"
as mentioned in this issue: https://github.com/cBioPortal/cbioportal/pull/9468/files/da63dbd1aad5b20830008295d9356925d7045cab
I also added: server.servlet.context-path="/cbioportal" to the application.properties.
When I query a study that I uploaded I get an error:
2024-08-27 10:16:19 2024-08-27T08:16:19.358Z DEBUG 15 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Failed to complete request: java.net.URISyntaxException: Illegal character in path at index 44: https://public.api.oncokb.org/api/v1��⢚+��K�][���[��\��[�S\�
I think it results from the file: ProxyController.java in line 99 and 100 where it tries to decode the path but does not remove the context path.
Could you please fix that error? Thanks in advance for your help :)
I also could not find the documentation to change the context path, was it removed or updated?
The text was updated successfully, but these errors were encountered: