curl: (52) Empty reply from server
Hi,
I am trying to test the API server and I am getting the following response:
linux-bau1:~ # curl http://
curl: (52) Empty reply from server
I am using SLES12 SP3:
linux-bau1:~ # cat /etc/uwsgi.
[uwsgi]
chmod-socket = 666
uwsgi-socket = 127.0.0.1:35000
lazy-apps = true
add-header = Connection: close
buffer-size = 65535
thunder-lock = true
plugins = python
enable-threads = true
exit-on-reload = true
die-on-term = true
master = true
processes = 2
wsgi-file = /usr/bin/
pidfile = /tmp/zvmsdk-
socket = /tmp/zvmsdk-
uid = zvmsdk
gid = zvmsdk
threads = 16
linux-bau1:~ # ps -ef | grep uwsgi
zvmsdk 52245 1 0 13:23 ? 00:00:00 /usr/bin/uwsgi --ini /etc/uwsgi.
zvmsdk 52248 52245 0 13:23 ? 00:00:00 /usr/bin/uwsgi --ini /etc/uwsgi.
zvmsdk 52249 52245 0 13:23 ? 00:00:00 /usr/bin/uwsgi --ini /etc/uwsgi.
root 52303 51929 0 13:25 pts/0 00:00:00 grep --color=auto uwsgi
linux-bau1:~ # systemctl status zvmsdk-wsgi.service -l
● zvmsdk-wsgi.service - z/VM Cloud Connector uwsgi
Loaded: loaded (/usr/lib/
Active: active (running) since Fri 2018-03-02 13:23:06 -03; 2min 57s ago
Process: 52242 ExecStop=
Main PID: 52245 (uwsgi)
Tasks: 33 (limit: 512)
CGroup: /system.
├─52245 /usr/bin/uwsgi --ini /etc/uwsgi.
├─52248 /usr/bin/uwsgi --ini /etc/uwsgi.
└─52249 /usr/bin/uwsgi --ini /etc/uwsgi.
Mar 02 13:23:06 linux-bau1 uwsgi[52245]: your server socket listen backlog is limited to 100 connections
Mar 02 13:23:06 linux-bau1 uwsgi[52245]: your mercy for graceful operations on workers is 60 seconds
Mar 02 13:23:06 linux-bau1 uwsgi[52245]: mapped 3638352 bytes (3553 KB) for 32 cores
Mar 02 13:23:06 linux-bau1 uwsgi[52245]: *** Operational MODE: preforking+threaded ***
Mar 02 13:23:06 linux-bau1 uwsgi[52245]: *** uWSGI is running in multiple interpreter mode ***
Mar 02 13:23:06 linux-bau1 uwsgi[52245]: spawned uWSGI master process (pid: 52245)
Mar 02 13:23:06 linux-bau1 uwsgi[52245]: spawned uWSGI worker 1 (pid: 52248, cores: 16)
Mar 02 13:23:06 linux-bau1 uwsgi[52245]: spawned uWSGI worker 2 (pid: 52249, cores: 16)
Mar 02 13:23:07 linux-bau1 uwsgi[52245]: WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x3d432260 pid: 52249 (default app)
Mar 02 13:23:07 linux-bau1 uwsgi[52245]: WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x3d432260 pid: 52248 (default app)
linux-bau1:~ # systemctl status sdkserver.service -l
● sdkserver.service - zVM SDK API server
Loaded: loaded (/usr/lib/
Active: active (running) since Fri 2018-03-02 13:22:50 -03; 3min 28s ago
Main PID: 52234 (sdkserver)
Tasks: 1 (limit: 512)
CGroup: /system.
└─52234 /usr/bin/python /usr/bin/sdkserver
Mar 02 13:22:50 linux-bau1 systemd[1]: Stopped zVM SDK API server.
Mar 02 13:22:50 linux-bau1 systemd[1]: Started zVM SDK API server.
Mar 02 13:22:50 linux-bau1 sdkserver[52234]: INFO: [MainThread] SDK server now listening
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- cao biao Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask titog for more information if necessary.