Closed AlexPravdin closed 5 years ago
Also I have a lot of questions about its operation caused by lack of documentation.
Per your config, you listen on 8090 port. You can ask your questions as separate GitHub issues so we can clarify missing information in Wiki.
Sorry, I was mistyping. I'm connecting to 8090 port.
Have you tried to request any static file? Have you tired to use simpler hello world worker? Windows firewall sometimes will block ports without providing any feedback loop, this can not be checked on RR end. Try to use different port maybe, or make sure that RR is allowed to serve thought firewall. What happens when you try to stop rr, does it ends without any warnings?
Hope it helps, unfortunately, Windows machines can be painful to debug.
This is my fault. Placing the RR worker into the src
directory caused this default Symfony's config in action:
services:
App\:
resource: '../src/*'
exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}'
So Symfony was including worker file on startup and worker was tried to connect to itself. Commenting this config or removing worker file from the src folder solved this problem.
Perfect :)
Windows 10 PHP 7.3.0 RR 1.3.0
Clean Symfony 4.2 Skeleton app. Worker script is copied from here: https://github.com/spiral/roadrunner/wiki/Symfony-Framework with little path-related changes. RR config:
Console rr output:
When I connect to the 8081 port, connections hangs and never ends. No response, no timeout errors. Right now I'm observing a 30-minute conection.
It seems there must be at least a timeout error. And I want to know how to debug and solve such a problem?