You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry to have kept you waiting. How are you using puppeteer with Azure? As I know there are 2 ways: SaaS like browserless.io or docker. Сould you send me a test project if you got one?
Hello, thank you for this package.
There is some issue when I try to use it with Azure function v3 and netcoreapp3.1.
Here is my .csproj file.
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework> <AzureFunctionsVersion>v3</AzureFunctionsVersion> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.11" /> <PackageReference Include="PuppeteerExtraSharp" Version="1.2.0" /> <PackageReference Include="PuppeteerSharp" Version="2.0.4" /> </ItemGroup> <ItemGroup> <None Update="host.json"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Update="local.settings.json"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToPublishDirectory>Never</CopyToPublishDirectory> </None> </ItemGroup> </Project>
The error is:
Microsoft.Azure.WebJobs.Script.WebHost: The host is disposed and cannot be used. Disposed object: 'Microsoft.Azure.WebJobs.Script.WebHost.ScriptLoggerFactory'. Microsoft.Extensions.Logging: Cannot access a disposed object. Object name: 'LoggerFactory'.
and it happens once code returns.
When I user only PuppeteerSharp , everything is fine.
The text was updated successfully, but these errors were encountered: