wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
846 stars 785 forks source link

[3.2.0] Cannot find application error when loading Devportal #8933

Closed athiththan11 closed 4 years ago

athiththan11 commented 4 years ago

Description:

The following error-trace is observed when loading the Devportal page once after a server start/restart (from second start onwards). This is not observed for the Publisher portal.

[2020-08-05 13:12:39,958] ERROR - OIDCSessionIFrameServlet Error while retrieving OAuth application information for the provided client id : null, Cannot find an application associated with the given consumer key : null

cannot-find-application

Steps to reproduce:

  1. Start the API Manager and login to the Devportal
  2. Restart the server (close all active tabs and browsers) and open a browser and go to Devportal
  3. The above-reported error-trace can be observed in the wso2carbon logs

Affected Product Version:

tmkasun commented 4 years ago

Did you change the server hostname in deployment toml ?

athiththan11 commented 4 years ago

@tmkasun No changes were done to the deployment.toml. The API Manager was running with the default shipped configurations.

ruks commented 4 years ago

This is due to the token information persisted in the browser in an old APIM setup. Open in a private window this issue will not occur. Normally this can be reproduced when you redeploy new fresh pack or clean up DBs.

HiranyaKavishani commented 4 years ago

Same issue [1] has been closed

[1] https://github.com/wso2/product-apim/issues/7874