Skip to content

Conversion Gets Failed When Deploying in Azure Function Windows Randomly #5043

Description

@karmegams02

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

119.4.30

Operating System

Windows 10

Architecture

x64

.Net Version

Net 8.0

Implementation

OffScreen

Reproduction Steps

Download and extract the attached sample.
Deploy the application to an Azure Function with the Windows Consumption Plan.
After successful deployment,
you can view the error log details in your Azure Function's Log Stream.

Expected behavior

Convert the Html to pdf document in azure function app windows without any failure.

Actual behavior

We are converting a URL to PDF using the CefSharp.OffScreen.NETCore package. However, we are randomly encountering the error "GPU process isn't usable," causing the conversion to fail with a "500. The request timed out.". We have attempted to resolve this issue by adding command-line arguments, but without success. Please refer to the details below to reproduce the issue.

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions