Hi, I am trying to generate an image from HTML string. Locally works well, but when I deploy it to Azure app service it fails on
var bytes = converter.FromHtmlString(html, width: 500);
00:00 [Error] Microsoft.AspNetCore.Server.Kestrel 0HM22TGTAKM5U:00000003-Microsoft.AspNetCore.Server.Kestrel: Connection id ""0HM22TGTAKM5U"", Request id ""0HM22TGTAKM5U:00000003"": An unhandled exception was thrown by the application. System.Exception: Something went wrong. Please check input parameters at CoreHtmlToImage.HtmlConverter.FromUrl(String url, Int32 width, ImageFormat format, Int32 quality) at CoreHtmlToImage.HtmlConverter.FromHtmlString(String html, Int32 width, ImageFormat format, Int32 quality)
Hi, I am trying to generate an image from HTML string. Locally works well, but when I deploy it to Azure app service it fails on
var bytes = converter.FromHtmlString(html, width: 500);
00:00 [Error] Microsoft.AspNetCore.Server.Kestrel 0HM22TGTAKM5U:00000003-Microsoft.AspNetCore.Server.Kestrel: Connection id ""0HM22TGTAKM5U"", Request id ""0HM22TGTAKM5U:00000003"": An unhandled exception was thrown by the application. System.Exception: Something went wrong. Please check input parameters at CoreHtmlToImage.HtmlConverter.FromUrl(String url, Int32 width, ImageFormat format, Int32 quality) at CoreHtmlToImage.HtmlConverter.FromHtmlString(String html, Int32 width, ImageFormat format, Int32 quality)
Please help, thank you!