WordPress.org

Ready to get started?Download WordPress

Forums

BackWPup Free - WordPress Backup Plugin
Not backing up due to SSL? (11 posts)

  1. Sunrise12
    Member
    Posted 1 year ago #

    I just implemented SSL on one of my sites and now the database backup is not working.

    The SSL is the only thing that changed since the last backup which was successful.

    What happens is that I see a black box after I click "Run Now" and no text is outputted; it just stalls a while and makes me nervous until I stop it from "running". I am attempting to send the database backup to my Dropbox account.

    One of the issues that I have with the SSL at the moment is that my domain email is not working properly and that needs to be fixed. Perhaps that is creating a conflict with the program.

    If I am behind SSL, do I have to put my username and password in the last box in Settings (HTTP Authentication)? I tried that and it still didn't work right.

    I tested it on another blog at a different host that is not behind SSL and it ran fine and quickly. So, that is why I suspect SSL is creating the issue on this host.

    Any suggestions on how to fix this?

    http://wordpress.org/extend/plugins/backwpup/

  2. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    SSL normely works. In moment i can only help if we integrate a test in a file to see waht happend.

    the test is:
    in backwpup/job/job_start.php on (on the ens) line 241 chage it to:
    $res=wp_remote_post($backwpup_static['JOBRUNURL'], array('timeout' => 3, 'blocking' => true, 'sslverify' => false, 'headers'=>$httpauthheader ,'body'=>array('nonce'=>$backwpup_working['NONCE'], 'type'=>'start'), 'user-agent'=>'BackWPup'));
    and after that line add a line with:
    print_r($res)

    Than i ned the massage that cams on top if the job startet manualy.

  3. Sunrise12
    Member
    Posted 1 year ago #

    Never mind ... posted questions below.

  4. Sunrise12
    Member
    Posted 1 year ago #

    Is the following code supposed to be in the script?

    => 'Basic '.base64_encode($backwpup_static['CFG']['httpauthuser'].':'.backwpup_base64($backwpup_static['CFG']['httpauthpassword'])));

    If not, maybe that is the problem.

    I found the wp_remote_post section but it does not have $res= in front of that so I guess you want me to add that.

    So, this is how it should look (with my changes in bold)?

    $res=wp_remote_post($backwpup_static['JOBRUNURL'], array('timeout' => 3, 'blocking' => false, 'sslverify' => false, 'headers'=>$httpauthheader ,'body'=>array('nonce'=>$backwpup_working['NONCE'], 'type'=>'start'), 'user-agent'=>'BackWPup'));
    print_r($res);
    return $backwpup_static['LOGFILE'];
    }

    Please advise before I make the change. Thanks.

  5. Sunrise12
    Member
    Posted 1 year ago #

    Actually, it seems that you also want me to change 'blocking' => false to true ...

  6. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    Yes thats are the cahnges. To get a output.

  7. Sunrise12
    Member
    Posted 1 year ago #

    Okay, this is the error message that I am getting:

    WP_Error_Object [errors] => Array ([http_request_failed] => Array [0] => connect () timed out!)) [error_data} => Array () )

    Does this sound like a memory issue?

  8. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    No not a memory issuse only a connection time out. has the job started after the massage ?

    you can try to increase the 'timeout' => 3 to test if it than works. Try 20

  9. Sunrise12
    Member
    Posted 1 year ago #

    Okay, I upped the timeout to 20 and it still does not work and produces the same error message.

    I still think it has something to do with adding SSL to my domain.

    I really like this program and wish it would work. : (

    Any other ideas?

  10. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    in Version 3 we have chande many that can help but it cames out in the end of jannuary we hope.

  11. Sunrise12
    Member
    Posted 1 year ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.