Skip to content

Read-only file system #2703

Discussion options

You must be logged in to vote

The error says Read-only file system did you check permissions?

i have deployed on aws lambda with full permission , but still getting same error so i have changed the code as below
and it worked .

if (this.loggerFactory == null)
    this.loggerFactory = (ILoggerFactory)new LoggerFactory();


var browserLauncher = new HeadlessChromiumPuppeteerLauncher(loggerFactory);

using (var browser = await browserLauncher.LaunchAsync())
using (var page = await browser.NewPageAsync())
{
    try
    {
        page.DefaultTimeout = 3600;

        var html = responseBody;

        PdfOptions objnav = new PdfOptions();
        objnav.Format = PaperFormat.A4;
        objnav.PrintBackground = true;
      …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by satviktechie1986
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2702 on July 18, 2024 13:01.