• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Trial license 502 Bad Gateway error

ZbyszekL

Basic Pleskian
Hi,

I did a fresh install of PLESK 12.5.30 on Debian 8.

I tried to put a trial license key i license manager but every time I got 502 Bad Gateway NGINX error.

So far I tried solutions:
http://kb.odin.com/en/118757 - not working
http://kb.odin.com/en/126289 - not working
http://kb.odin.com/en/124975 - not working

Logs:
/var/log/sw-cp-server/error_log
referrer: "https://**.***.**.51:8443/plesk/license/"
2016/01/31 09:19:19 [error] 889#0: *3 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 217.99.254.41, server: , request: "GET /server/key_update.php?key_type=plesk HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "**.***.**.51:8443", referrer: "https://4**.***.**.51:8443/plesk/license/"

grep buffer /etc/sw-cp-server/config
fastcgi_buffers 128 128k;
fastcgi_buffer_size 256k;

ls -lta /etc/sw/keys/registry.xml
-rw-rw---- 1 psaadm swkey-data 923 sty 31 09:32 /etc/sw/keys/registry.xml
 
ls -lta /etc/sw/keys/registry.xml
-rw-rw---- 1 psaadm swkey-data 923 sty 31 09:32 /etc/sw/keys/registry.xml
On my test server I see:

[root@ppu12-5 ~]# ls -lta /etc/sw/keys/registry.xml
-rw-rw---- 1 root swkey-data 1596 Feb 1 05:28 /etc/sw/keys/registry.xml

In this article https://kb.odin.com/en/126289 point 2:

Make sure the file '/etc/sw/keys/registry.xml' exists and and has correct permissions:

# ll -lta /etc/sw/keys/registry.xml
-rw-rw---- 1 root swkey-data 9908 Aug 22 10:54 /etc/sw/keys/registry.xml
 
Back
Top