Comments (5)
Same problem
sudo rymfony server:start --port 80
INFO - Starting PHP...
INFO - Running native PHP server with PID 10588
[Mon Aug 3 12:11:34 2020] PHP 7.4.7 Development Server (http://127.0.0.1:65535) started
INFO - PHP server is ready
INFO - PHP started with module CLI
INFO - Starting HTTP server...
INFO - Configured document root: /home/gg/Sites/datt/public/
INFO - PHP entrypoint file: /home/gg/Sites/datt/public/index.php
INFO - Server listening to http://127.0.0.1:80
INFO - HTTP/1.1 GET /
[Mon Aug 3 12:12:15 2020] 127.0.0.1:40138 Accepted
[Mon Aug 3 12:12:15 2020] 127.0.0.1:40138 Invalid request (Malformed HTTP request)
[Mon Aug 3 12:12:15 2020] 127.0.0.1:40138 Closing
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Io(Custom { kind: UnexpectedEof, error: "failed to fill whole buffer" }), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })', src/http/fastcgi_handler.rs:82:78
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
additional information :
rymfony --version
# rymfony 0.1
php -v
# PHP 7.4.7 (cli)
composer --version
# Composer 1.10.1 2020-03-13 20:34:27
cat /etc/os-release
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=ulyana
UBUNTU_CODENAME=focal
cargo --version
#cargo 1.46.0-nightly (fede83ccf 2020-07-02)
from rymfony.
Thanks for reporting this issue!
I think it might come from the fact that the fastcgi handling is buffered instead of being streamed.
I have to make more research about this, since I'm using the fastcgi_client crate and it doesn't seem to have an option to stream the output.
There are also issues with the same crate forcing me to parse the entire HTTP response as a string, which isn't viable in long-term, because this might be incompatible with binary responses or other edge cases I don't know yet.
from rymfony.
Likely fixed by #20 - as both reports mention the exact same error I had and both started CLI instead of FPM
from rymfony.
@dzc34, @maitrepylos , can you retry with the latest builds? It should be fixed 😉
from rymfony.
No answer for some time, and latest releases and refactorings may have fixed this. Feel free to reopen if you encounter this issue again 👍
from rymfony.
Related Issues (20)
- [PHP] CGI server healthcheck HOT 1
- Forks cannot build with Github actions HOT 2
- [DOC] How to select the SAPI on serve comand HOT 2
- Error on request HOT 9
- [Windows] Unable to build HOT 4
- [windows] how to provide directory to find PHP HOT 2
- Issues with POST requests HOT 1
- Add RYMFONY_PATH information on command php:list HOT 4
- Rymfony with PHP7.3 cli on Linux HOT 15
- Error on PNG assets access HOT 2
- Autodetect app_dev.php entry_point
- Do not launch PHP if no entrypoint found HOT 2
- Check if PHP Binary exist before launch
- Unable to download binary file from PHP HOT 1
- Detect Systemd presence for php-fpm on *nix systems HOT 1
- PHP does not receive all Cookies sent in HTTP query
- Set-Cookie header lost in response HOT 1
- Handle root user HOT 3
- Tail logs to a file when server is run in the background HOT 1
- php:list on MacOS throws error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rymfony.