Applicable to:
- Plesk Migrator
-
Migration fails with the following error:
Failed to connect to target Plesk server by Plesk API: <urlopen error [Errno 10049] The requested address is not valid in its context>
-
On the target server "%plesk_dir%\var\modules\panel-migrator\sessions\<SESSION_TIME_STAMP>\debug.log" has the following data:
core.utils.common.http_xml_client|||API request to https://203.0.113.2:8443/enterprise/control/agent.php:
...
core.connections.checker|||URLError: <urlopen error [Errno 10049] The requested address is not valid in its context> -
IP address
203.0.113.2
does not exist on the target server, but is listed in Plesk under Tools & Settings > IP addresses> ipconfig | findstr 203.0.113.2
>
Cause
Plesk Migrator sends API request to target host to non-existent IP address.
Resolution
In "%plesk_dir%\var\modules\panel-migrator\sessions\<SESSION_TIME_STAMP\config" file change the target IP from non-existent IP address to the correct one:
[plesk]
ip = "203.0.113.100"
Comments
0 comments
Please sign in to leave a comment.