• Resolved menloperk

    (@menloperk)


    My ISP updated PHP to version 8.1 recently. Since the update, the updater is not working anymore. It was working fine before. I know PHP 8.1 support for WP may not be official but it seems to me everything is working fine. I can just get no updates automatically any longer! Can we please get a version that supports PHP 8.1?! It’s been out now for half a year.

    What I am getting is this:

    “An automated WordPress update has failed to complete – please attempt the update again now.”

    When I try to attempt the update manually I get:

    “ERROR: There was an error connecting to the server, Please verify the settings are correct.”

    Of course, none of the settings (FTP/SSH Username; FTP/SSH Password; Connection Type=SSH2) have changed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    A test update of a theme on an install PHP 8.1.5 worked fine for me. I verified that this plugin was being use by first deliberately using a wrong password (which was then logged by the SSH/SFTP server), and then trying again with the correct server (which then logged the successful login). The underlying phpseclib library is also supported by its author on PHP 8.1, and we have no other reports of issues. Therefore, you will need to do further investigation into what is happening on your setup. Perhaps your PHP 8.1 install has different configuration somewhere to your PHP 8.0 setup which is preventing the network connection. Is there no further text after the error message given above? (The code has lines to output further information).

    David

    Thread Starter menloperk

    (@menloperk)

    We are coming from version PHP 7.x, not 8.0. It’s still not working where I now see the below error message when trying to update to latest version of WP:

    Notice: Cannot connect to xxx.yyy.com:22. Error 60. Operation timed out in /usr/home/renek/public_html/wp-content/plugins/ssh-sftp-updater-support/phpseclib/Net/SSH2.php on line 1201

    Strangely enough nothing was changed on the SSH IP whitelisting when the update to 8.1 was performed where it was working before just fine and it is not working any longer. It seems obvious that a connection is blocked somehow.
    Can you tell me who is initiating the connection to our server? I hope it is not some external client using our credentials trying to setup a connection to our server?? Is it from localhost? Please can you give some more context?

    Thread Starter menloperk

    (@menloperk)

    Btw, if we are setting up the connection from external then what site is it as it will be blocked if not explicitly whitelisted.

    Plugin Author David Anderson

    (@davidanderson)

    > “Operation timed out”

    That means that there was no network connectivity in between your PHP install and the SSH server. To investigate that you will need to ask the operator of your webserver (i.e. where the PHP install is) to help you – it’s not something that the plugin has influence over or access to, and the setup of particular networks is not something that I as plugin author have any special insight into.

    David

    Thread Starter menloperk

    (@menloperk)

    It appeared to be not only an upgrade to PHP8.1 but also a change in IP address where the alias for the hostname was removed from the server. Changed the config to connect to localhost:22 now and it’s back working. Thanks for your support. Case closed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SSH 8.1 support’ is closed to new replies.