Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use PhpChrome rendering driver in Laravel #1

Open
medilies opened this issue Aug 8, 2023 · 1 comment
Open

Unable to use PhpChrome rendering driver in Laravel #1

medilies opened this issue Aug 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@medilies
Copy link
Member

medilies commented Aug 8, 2023

What happened?

{
    "message": "Devtools could not start",
    "exception": "RuntimeException",
    "file": "C:\\Dev\\row-bloom-app\\vendor\\chrome-php\\chrome\\src\\Browser\\BrowserProcess.php",
    "line": 449,
    "trace": [
        {
            "file": "C:\\Dev\\row-bloom-app\\vendor\\chrome-php\\chrome\\src\\Utils.php",
            "line": 60,
            "function": "HeadlessChromium\\Browser\\{closure}",
            "class": "HeadlessChromium\\Browser\\BrowserProcess",
            "type": "->"
        },
        {
            "file": "C:\\Dev\\row-bloom-app\\vendor\\chrome-php\\chrome\\src\\Browser\\BrowserProcess.php",
            "line": 462,
            "function": "tryWithTimeout",
            "class": "HeadlessChromium\\Utils",
            "type": "::"
        },
        {
            "file": "C:\\Dev\\row-bloom-app\\vendor\\chrome-php\\chrome\\src\\Browser\\BrowserProcess.php",
            "line": 138,
            "function": "waitForStartup",
            "class": "HeadlessChromium\\Browser\\BrowserProcess",
            "type": "->"
        },
        {
            "file": "C:\\Dev\\row-bloom-app\\vendor\\chrome-php\\chrome\\src\\BrowserFactory.php",
            "line": 82,
            "function": "start",
            "class": "HeadlessChromium\\Browser\\BrowserProcess",
            "type": "->"
        },
        {
            "file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\Renderers\\PhpChromeRenderer.php",
            "line": 47,
            "function": "createBrowser",
            "class": "HeadlessChromium\\BrowserFactory",
            "type": "->"
        },
        {
            "file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\RowBloom.php",
            "line": 58,
            "function": "render",
            "class": "ElaborateCode\\RowBloom\\Renderers\\PhpChromeRenderer",
            "type": "->"
        },
        {
            "file": "C:\\Dev\\row-bloom-app\\vendor\\elaborate-code\\row-bloom\\src\\RowBloom.php",
            "line": 44,
            "function": "render",
            "class": "ElaborateCode\\RowBloom\\RowBloom",
            "type": "->"
        },
        {
            "file": "C:\\Dev\\row-bloom-app\\app\\Http\\Controllers\\RenderController.php",
            "line": 46,
            "function": "get",
            "class": "ElaborateCode\\RowBloom\\RowBloom",
            "type": "->"
        },
        {"...": "..."}
    ]
}

How to reproduce the bug

Use the package in Laravel

Package Version

0.2.0-beta

PHP Version

8.1.7

Laravel Version

10.18

Operating systems

Windows

Notes

No response

@medilies medilies added the bug Something isn't working label Aug 8, 2023
@medilies medilies self-assigned this Aug 8, 2023
@medilies medilies added the help wanted Extra attention is needed label Aug 8, 2023
@medilies
Copy link
Member Author

medilies commented Sep 8, 2023

Works fine when served from apache.

Must be related to web server process user permissions.

@medilies medilies added the documentation Improvements or additions to documentation label Oct 26, 2023
@medilies medilies transferred this issue from row-bloom/row-bloom Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
Status: In Review
Development

No branches or pull requests

1 participant