• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Plesk Migrator - urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION]

Eleshar

New Pleskian
Hi,

After updating to Plesk Onyx 17.8.11 Update 13 Plesk Migrator is no longer working failing with error:

Failed to connect to target Plesk server by Plesk API: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)>

Prior to the update we have been using the migrator on a daily basis without any issues.

We've tried the following commands on both servers, but so far has not resolved the issue:
plesk bin server_pref -u -ssl-protocols 'TLSv1.1 TLSv1.2'
plesk bin server_pref -u -ssl-protocols 'TLSv1.2'
plesk repair all

The target server is running Debian Stretch with Plesk Onyx 17.8.11 Update 13
The source server is running Debian Jessie with Plesk Onyx 17.8.11 Update 13

Please help.
 
Do you have any additional related error messages in /usr/local/psa/var/modules/panel-migrator/sessions/<time_of_migration>/debug.log ?
 
Prior to the update we have been using the migrator on a daily basis without any issues.
And make sure that upgrade was completed successfully on target server. Try to fix it with

# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
# plesk repair installation
 
I've run the above commands but unfortunately didn't resolve the issue.

Herewith debug extract from the log:
Code:
+Exception:
=Traceback (most recent call last):
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/connections/checker.py", line 49, in check_plesk_api
=    plesk_server.run_test_api_request()
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/connections/plesk_server.py", line 63, in run_test_api_request
=    self._get_server_info()
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/common/__init__.py", line 253, in wrapper
=    value = func(*args, **kw)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/connections/plesk_server.py", line 67, in _get_server_info
=    return get_server_info_with_key(self)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/common/__init__.py", line 253, in wrapper
=    value = func(*args, **kw)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/plesk_utils.py", line 708, in get_server_info_with_key
=    plesk_api = panel_server.plesk_api()
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/common/__init__.py", line 253, in wrapper
=    value = func(*args, **kw)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/connections/target_server.py", line 136, in plesk_api
=    return self.conn.plesk_api()
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/common/__init__.py", line 253, in wrapper
=    value = func(*args, **kw)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/connections/target_connections.py", line 129, in plesk_api
=    ServerOperator.Dataset.STAT,
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/utils/xml_rpc/plesk/client.py", line 36, in send
=    return self.send_many(operation, **request_settings)[0]
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/plesk/utils/xml_rpc/plesk/client.py", line 77, in send_many
=    response = self.send_xml(request)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/common/http_xml_client.py", line 36, in send_xml
=    response = self.send_raw(request, extra)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/common/http_xml_client.py", line 28, in send_raw
=    self.url, data, headers, hostname=self.host, verify_certificates=False
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/http_client.py", line 75, in perform_http_request_response_text
=    response = perform_http_request_response(url, data, headers, hostname, ip_address, verify_certificates)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/http_client.py", line 114, in perform_http_request_response
=    verify_certificates=verify_certificates
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/http_client.py", line 166, in perform_http_request_response_raw
=    response = opener.open(request)
=  File "/opt/plesk/python/2.7/lib/python2.7/urllib2.py", line 429, in open
=    response = self._open(req, data)
=  File "/opt/plesk/python/2.7/lib/python2.7/urllib2.py", line 447, in _open
=    '_open', req)
=  File "/opt/plesk/python/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
=    result = func(*args)
=  File "/usr/local/psa/admin/plib/modules/panel-migrator/backend/lib/python/parallels/core/utils/http_client.py", line 233, in https_open
=    return self.do_open(http_class, req, context=self._context)
=  File "/opt/plesk/python/2.7/lib/python2.7/urllib2.py", line 1198, in do_open
=    raise URLError(err)
=URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)>
 
Last edited:
Back
Top