Public bug reported: The version of uwsgi in trusty (1.9.17.1-5build5) suffers from an endian bug that causes it to fail on PowerPC because PowerPC is big-endian. For example, if an incoming request passed on from nginx with uwsgi_pass is 661 bytes, I get a message like this in the log:
invalid request block size: 38146 (max 4096)...skip I know this is an endian issue, because 661 is 0x0295 in hex, and 38146 is 0x9502 in hex. Installing a newer version of uwsgi from pip fixes it (and confirms in the log that the request is actually 661 bytes). It would probably be good to fix it in Ubuntu's distribution too. The upstream fix appears to have been added in 1.9.18: http://uwsgi-docs.readthedocs.org/en/latest/Changelog-1.9.18.html - fixed uwsgi native protocol support on big endian machines Ubuntu Release: Ubuntu 14.04.1 LTS Package Version: 1.9.17.1-5build5 ** Affects: uwsgi (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1377561 Title: Broken with endian issues on PowerPC in trusty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1377561/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs