Open Closed

Administration menu is missing in Azure #5136


User avatar
0
Tisham.Ahuja created

We are setting up ABP commercial projects using Azure WebApps and administration menu is not visible. Administration menu item is visible in local but missing when deploying it in Azure web apps service. Both from local and Azure web app database being used is same.

  • ABP Framework version: v7.2.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC)): yes
  • Exception message and stack trace: Administration menu item is visible in local but missing when deploying it in Azure web apps service. Both from local and Azure web app database being used is same.
  • Steps to reproduce the issue:" Run application in azure, login with admin user credentials. Administration menu item is not visible.

12 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share the online url and a test user with me?

    liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Your Azure does not enable the WebSocket.

  • User Avatar
    0
    Tisham.Ahuja created

    Do I need to enable websocket only on blazor webapp or also in Authserver and HTTPAPI host webapps?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You only need to enable it on azure.

    eg

  • User Avatar
    0
    Tisham.Ahuja created

    Enabled web socket but now the azure site is not loading throwing 500 error. Please check email have shared logs.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I didn't receive the logs.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share the logs of api and authserve website

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Your API website is try to reach https://localhost:44339/.well-known/openid-configuration

    Please check your configuration.

    2023-05-26 08:48:44.755 +00:00 [ERR] Exception occurred while processing message.
    System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://localhost:44339/.well-known/openid-configuration'.
    
  • User Avatar
    0
    Tisham.Ahuja created

    Thanks, updated configuration and its working now

  • User Avatar
    0
    Tisham.Ahuja created

    On click of logout getting below error message: [400] Error! An internal error occurred during your request!

    Shall send the corresponding logs.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The logout request was rejected because the specified post_logout_redirect_uri was invalid: https://xxx-v2-xxx-ui.azurewebsites.net/signout-callback-oidc.

    The PostLogoutRedirectUris of RISE_BlazorServerTiered is ["https://xxx-v2-xxx-api.azurewebsites.net/signout-callback-oidc"]

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    PostLogoutRedirectUris: The logout callback URLs associated with the current application.

    You have to add https://xxx-v2-xxx-ui.azurewebsites.net/signout-callback-oidc to PostLogoutRedirectUris

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11