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

Start/Stop Container results in error: Unable to connect to remote host. HTTP status code: 400 #38

Open
cvmiller opened this issue Apr 18, 2022 · 0 comments

Comments

@cvmiller
Copy link

cvmiller commented Apr 18, 2022

Running lxdware v3.4 on Alpine v3.15

Noted this error after starting or stopping a container
"Unable to connect to remote host. HTTP status code: 400"

Work-around: log out of lxdware, and log back in.

The FIX is to increase the number of php-fpm7 children processes. Error log reports:

/var/log/php7 # tail error.log 

[18-Apr-2022 17:30:05] NOTICE: fpm is running, pid 678
[18-Apr-2022 17:30:05] NOTICE: ready to handle connections
[18-Apr-2022 17:41:29] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[18-Apr-2022 17:41:48] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
[18-Apr-2022 17:43:39] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it

Editing the /etc/php7/php-fpm.conf file and setting a value:

process.max = 16

restart php-fpm7 daemon. Clears the problem. Now it is possible to start/stop containers from lxdware.

Please add this to the LXDWare on Alpine document
https://lxdware.com/lxd-dashboard-installing-from-source-in-alpine-linux/

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

1 participant