• Resolved raoulunger

    (@raoulunger)


    Hi,

    My WordPress site does not perform scheduled events any longer, and this seems to have started in september 2024 (but I just noticed today). When investigating (with a temporary cron-event-plugin), the problem is related to this error message:

    cURL error 7: Failed to connect to 127.0.0.1 port 80 after 0 ms: Could not connect to server

    When I deactivate the AIOS plugin, the problem disappears and everything runs as it should, so it is caused by something AIOS does or prevents. When I activate AIOS, the problem and the error message returns instantly. I tried changing several settings in the AIOS plugin, but there are so many that I really don’t know where to start.
    Anyone any idea what to do, or which particular part of AIOS could be causing this? I really would like to keep AIOS running, but it should not interfere with WP-Cron functionality.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter raoulunger

    (@raoulunger)

    Addition: I found this thread that was started around the same time the problems on my site seem to have started:

    https://wordpress.org/support/topic/wp-cron-not-working-7/

    The difference perhaps is that I have listed the specific error message that is causing this (see my first post). This may perhaps point you in the direction of the problem?

    Cheers

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @raoulunger,

    Can you please cross-check whether the setting below is disabled or not?

    WP Security > Firewall > Internet bots ban – Blank HTTP headers Ban POST requests that have a blank user-agent and referer

    Also, if possible, add the below constant and check if it solves the issue or not.

    define( 'AIOS_NO_FIREWALL', true);

    Regards

    Thread Starter raoulunger

    (@raoulunger)

    Hi, thanks for the answer.
    The “Internet bot ban”-setting did not help, nor did the added line of code.

    I have solved it for now by using these three drastic options in the settings-page:
    – Disable all security features
    – Disable all firewall rules
    – Reset settings

    After that I have gradually reconfigured AIOS and switched things back on, and the error has not yet returned, so I don’t know what had caused it. I had no custom rules or anything like that. There are a number of options in AOIS that I don’t dare to use because of the warning for th risk of being locked out of my own site. That happened to me once yesterday, and it took me an hour to delete options from the database to be able to get back in.

    So: problem solved for now, but the cause maybe still there, just not switched on.

    Cheers

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @raoulunger,

    Ok, if this is still an issue in the future, please export settings from WP security > Settings > Import / Export it will be good.

    If you can provide more info on which cronjob you try to run and have an issue, I can create an internal ticket to check if any AIOS setting has a conflict with that, and can reproduce the issue.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘AIOS causes cron-problems: scheduled events not performed’ is closed to new replies.