Baldinof / roadrunner-bundle

A RoadRunner worker integrated in your Symfony app
MIT License
270 stars 48 forks source link

goridge_frame_receive: CRC verification failed, bad header: RuntimeExcep #81

Closed hamdallah90 closed 2 years ago

hamdallah90 commented 2 years ago

Hello,

I have an issue while running this package

[INFO] RoadRunner server started; version: 2.9.1, buildtime: 2022-04-11T10:26:46+0000 2022-04-14T00:53:10.206Z ERROR container/poller.go:16 vertex got an error {"id": "http.Plugin", "error": "static_pool_allocate_workers: WorkerAllocate:\n\tgoridge_frame_receive: CRC verification failed, bad header: <!DOCTYPE html>\n\n \n <meta "} github.com/roadrunner-server/endure/pkg/container.(*Endure).poll.func1 github.com/roadrunner-server/endure@v1.2.3/pkg/container/poller.go:16 error occurred: static_pool_allocate_workers: WorkerAllocate: goridge_frame_receive: CRC verification failed, bad header: <!DOCTYPE html>

piotrkardasz commented 2 years ago

Hello 👋 I had the same issue. Do you have a symfony/runtime installed and enabled in composer.json? 🤔 And your public/index.php look like this:

<?php

use App\Kernel;

require_once dirname(__DIR__).'/vendor/autoload_runtime.php';

return function (array $context) {
    return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};
Baldinof commented 2 years ago

Hello!

I cannot reproduce with a fresh installation. What is your version of symfony and roadrunner-bundle ?

Did you try @piotrkardasz solution?

hamdallah90 commented 2 years ago

worked thanks @piotrkardasz <3