wso2 / api-manager

All issues, tasks, improvements and new features of WSO2 API Manager
Apache License 2.0
34 stars 8 forks source link

500 error occurs when refreshing Business Info and API definition pages #2161

Closed chamilaadhi closed 4 days ago

chamilaadhi commented 10 months ago

Description

500 error occurs when refreshing Business Info and API definition pages.

Steps to Reproduce

Login to APIM publisher portal Deploy an API Navigate to Business Info/ API definition pages Refresh the page.

Affected Component

APIM

Version

4.2.0

Environment Details (with versions)

No response

Relevant Log Output

[2023-09-11 14:05:05,973] ERROR - AuthenticationValve Error while normalizing the request URI to process the authentication: 
java.net.URISyntaxException: Illegal character in path at index 61: /publisher/apis/52dd7d90-1b70-44cd-bc62-197071453c83/business info
    at java.net.URI$Parser.fail(URI.java:2913) ~[?:?]
    at java.net.URI$Parser.checkChars(URI.java:3084) ~[?:?]
    at java.net.URI$Parser.parseHierarchical(URI.java:3166) ~[?:?]
    at java.net.URI$Parser.parse(URI.java:3125) ~[?:?]
    at java.net.URI.<init>(URI.java:600) ~[?:?]
    at org.wso2.carbon.identity.auth.service.util.AuthConfigurationUtil.getNormalizedRequestURI(AuthConfigurationUtil.java:346) ~[org.wso2.carbon.identity.auth.service_1.7.1.2.jar:?]
    at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:105) ~[org.wso2.carbon.identity.auth.valve_1.7.1.2.jar:?]
    at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:106) ~[org.wso2.carbon.tomcat.ext_4.8.1.jar:?]
    at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49) ~[org.wso2

Related Issues

No response

Suggested Labels

No response

HeshanSudarshana commented 3 months ago

This issue is not reproduced in APIM 4.2.0 or 4.3.0.