Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use to work in Azure AppServer? #51

Open
DiegoD4i opened this issue Jan 5, 2020 · 4 comments
Open

How can I use to work in Azure AppServer? #51

DiegoD4i opened this issue Jan 5, 2020 · 4 comments

Comments

@DiegoD4i
Copy link

DiegoD4i commented Jan 5, 2020

Someone know how can i do to implement Rotativa in a Azure AppService?

I can run it under Visual Studio 2019 as well.. but when i tried tu upload tu my Azure instance the page returns this error

502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

Any idea? Thanks a lot

@rlilov
Copy link

rlilov commented May 16, 2020

My experience is that wkhtmltopdf.exe DOES NOT run if you are on shared infrastructure plan (D1, F1). Minuimum service plan has to be B1 .

@arlind-shkrela
Copy link

Hello, Lately I faced the same problem. I guess the @rlilov answer is correct, (thanks btw). My app was running on azure app service, plan F1. I tried scale up to B1 and it worked.
Not sure why azure does that ?!

@willpower18
Copy link

Are you using Windows app in Azure?

If you can, consider changing to linux app service, and follow this steps:

#65

It work fine to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@rlilov @willpower18 @arlind-shkrela @DiegoD4i and others