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

MySQL: Got an error reading communication packets #10

Open
enumag opened this issue Apr 22, 2018 · 2 comments
Open

MySQL: Got an error reading communication packets #10

enumag opened this issue Apr 22, 2018 · 2 comments

Comments

@enumag
Copy link

enumag commented Apr 22, 2018

I wanted to try pootle using this but it doesn't work for me. When I run docker-compose up I get these errors after a short while and pootle doesn't work:

mysql_1   | 2018-04-22 10:32:54 140687299213056 [Warning] Aborted connection 8 to db: 'pootle_db' user: 'pootle' host: '172.18.0.4' (Got an error reading communication packets)
mysql_1   | 2018-04-22 10:32:56 140687299213056 [Warning] Aborted connection 10 to db: 'pootle_db' user: 'pootle' host: '172.18.0.4' (Got an error reading communication packets)
mysql_1   | 2018-04-22 10:32:58 140687299213056 [Warning] Aborted connection 11 to db: 'pootle_db' user: 'pootle' host: '172.18.0.4' (Got an error reading communication packets)

Any idea how to fix it?

@enumag
Copy link
Author

enumag commented Apr 22, 2018

Ok maybe it't not an issue with mysql. It seems that the pootle service is unable to start. I improved supervisord.conf to see more errors and got this:

pootle_1  | 2018-04-22 11:02:40,033 INFO spawned: 'pootle' with pid 24
pootle_1  | 2018-04-22 11:02:40,075 INFO Loading custom settings from '/root/.pootle/pootle.conf'...
pootle_1  | 2018-04-22 11:02:40,259 INFO Using Python PO
mysql_1   | 2018-04-22 11:02:37 140311481673472 [Warning] Aborted connection 11 to db: 'pootle_db' user: 'pootle' host: '172.18.0.4' (Got an error reading communication packets)
pootle_1  | Can't import flup.server.fcgi_fork
pootle_1  | 2018-04-22 11:02:40,344 INFO exited: pootle (exit status 0; not expected)

That Can't import flup.server.fcgi_fork line bothers me. I'm guessing that's the real issue.

@tuksi
Copy link

tuksi commented Mar 25, 2019

For whoever is struggling with this in 2019 - the solution is to install flup 1.0.2 with
pip install flup==1.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants