Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Obi Onuorah 3 posts 73 karma points
    19 hours ago
    Obi Onuorah
    0

    Umbraco 13 on Ubuntu produces a 502 Bad Gateway Error for authenticated Backoffice API Requests

    I have an Umbraco website with a somewhat complex setup. It is hosted on an AWS EC2 instance running Ubuntu. The web server is NGINX and requests are routed through an application load balancer. I've set UseHttps :true in the appsettings.Production.json I have set up a self signed certificate on NGINX and only expose the https enpoint. I have also used the same sel-signed certificate to secure the Kestrel server See this article for the steps we have also taken https://our.umbraco.com/forum/using-umbraco-and-getting-started/111674-umbraco-v11-in-linux-kestrel-plus-nginx-reverse-proxy-plus-https

    The frontend of the website runs ok. However, when I access the backoffice page we have some problems. When I try logging in, it results in a 503 Bad Gateway error on nginx.

    If directly access /umbraco following a login attempt, it redirects me to /umbraco#content indicating that it is logged in but I get loads of errors for every request made to /umbraco/backoffice/umbracoapi/GetCurrentUser or any request to /umbraco/backoffice/umbracoapi/* basically returns the same 502 error.

    Has anyone had any experience with deploying Umbraco 13 applications to ubuntu that can help?

    Thank you

    I've asked the same on SO https://stackoverflow.com/q/79458171/768836

Please Sign in or register to post replies

Write your reply to:

Draft