简体   繁体   中英

Differences in behavior in Azure Function running in App Service plan and Consumption Plan. Why?

Differences in behavior in Azure Function running in App Service plan and Consumption Plan. Why?

I'm running the WkHtmlToPdf.exe as part as an Azure Function in an App Service Plan (B1). I would like to move this Azure Function to a Consumption plan, but it seems to fail.

I track down the blocking point to be the WkHtmlToPdf.exe, by using the Kudo console.

With an Azure Function in a Consumption plan, it just ends in a deadlock and never returns to the console.

Any ideas on this?

How it looks when running in a App Service Plan: 应用服务计划中的Azure功能

This is caused by sandbox restrictions that do not apply to dedicated plans on Basic+ tiers.

You can find more information about the sandbox here , and this portion of the documents covers PDF generation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM