api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

iis node issue on APIM

Open kieran-clifton-civica opened this issue 2 years ago • 6 comments

Every bug report should have precise description and reproduction steps; console traces or source code references are appreciated.

For assistance requests, contact Azure support or submit a post on Stack Overflow. We don't provide support through GitHub Issues. Feature requests can be raised on the Azure Feedback Forum.

Bug description

Getting a iisnode error when I open the Azure API managed developer portal

iisnode encountered an error when processing the request.

image

Expected behavior

This is a new issue, when I was using this yesterday this issue wasnt here

Is your portal managed or self-hosted?

Managed

API Management service name

https://integration-fsa-rof-gateway.developer.azure-api.net/

Environment

  • Operating system: [Windows]
  • Browser: [Chrome & Edge]
  • Version: [latest]

kieran-clifton-civica avatar Aug 16 '23 11:08 kieran-clifton-civica

@kieran-clifton-civica Thank you for reporting that. I found the logs that are related to this issue. Looks like this is related to the one of the new features: custom access. One of the elements (widget/button/section) on your website has access set to type api and allowed apis is null << that state shouldn't happen. I believe that this happen because you have limited access to some element, and then reverted that (Could you confirm on that?).

To work-around this issue, for now, you could try to:

  1. remove that element
  2. republish the portal
  3. add the element back

maciejtreder avatar Aug 16 '23 12:08 maciejtreder

@maciejtreder thanks for your reply and thanks for looking into this for me, I did change a feature like that yes and then reverted it. I would change it but I cant access the Azure developer Portal at all to edit anything because that error page is the only page available now - is there a way to fix this without accessing the APIM portal?

kieran-clifton-civica avatar Aug 16 '23 13:08 kieran-clifton-civica

@kieran-clifton-civica Just applied the fix on your database. Please try to republish the portal now, using the buttom available in the portal.azure.com

maciejtreder avatar Aug 16 '23 13:08 maciejtreder

@maciejtreder I have re-published, issue still present

kieran-clifton-civica avatar Aug 16 '23 14:08 kieran-clifton-civica

@kieran-clifton-civica Yeah. You're right, my fault. I forgot that for publishment you need to have properly running back-end. I've just manually upload a fix to your instance. It is working now. Please remember that this is temporary fix, and it might be gone if it will not be included in the upcoming release.

maciejtreder avatar Aug 17 '23 17:08 maciejtreder

@maciejtreder brilliant, thank you so much! I will try and not break it in the mean time

kieran-clifton-civica avatar Aug 18 '23 07:08 kieran-clifton-civica

This issue is related to managed developer portal. We advise you to create a Azure support request to get assistance on this issue. Please refer to the below link to create a new Azure support request, Please select Problem Type = "Developer Portal" in the request to route it appropriately.

https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

mrcarlosdev avatar Mar 29 '24 17:03 mrcarlosdev