• Hi, since the most recent version (Version 2.30.15), my site seems to be getting a 504 Gateway Time-out – nginx when using this plugin and accessing a broken link.

    When visiting broken links, my site times out eventually showing the 504 error, which shows as follows on my server log:

    2022-05-26 17:25:39 Error:
    133620#0: *2044085 openat() “/var/www/vhosts/domain.uk/httpdocs/holiday-homes/claife-view-lodge-ref-935405/titleUrl” failed (2: No such file or directory)
    2022-05-26 17:25:42 Error 499:
    GET /holiday-homes/claife-view-lodge-ref-935405/titleUrl HTTP/2.0
    2022-05-26 17:25:42 Error:
    133620#0: *2044085 openat() “/var/www/vhosts/domain.uk/httpdocs/holiday-homes/claife-view-lodge-ref-935405/titleUrl” failed (2: No such file or directory)
    2022-05-26 17:27:42 Error 504:
    GET /holiday-homes/claife-view-lodge-ref-935405/titleUrl HTTP/2.0

    Extract from 404 plugin debug:

    2022-05-26 18:29:26 BST (DEBUG): Processing 404 for URL: /holiday-homes/low-dow-crag-ref-1086009/ownerUrl | Redirect: {"id":0} | is_single(): | is_page(): | is_feed(): | is_trackback(): | is_preview(): | options: auto_redirects: 1, auto_score: 90, auto_cats: 1, auto_tags: 1, dest404page: 0|0, HTTP_USER_AGENT: Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot), REMOTE_ADDR: 114.119.136.1ine8eh5ralg, REQUEST_URI: /holiday-homes/low-dow-crag-ref-1086009/{{ownerUrl}}
    2022-05-26 18:29:26 BST (DEBUG): No posts or pages matching slug: ownerUrl,
    Trace: #0 /var/www/vhosts/domain.uk/httpdocs/wp-content/plugins/404-solution/includes/ErrorHandler.php(147): ABJ_404_Solution_Logging->errorMessage()
    #1 [internal function]: ABJ_404_Solution_ErrorHandler::FatalErrorHandler()
    #2 {main}

    Up to the most recent version, everything was working perfectly. I have however added around 100 new broken links (taking my total to around 900 managed links).

    Any help would be appreciated ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Aaron

    (@aaron13100)

    Would you paste the most recent 5 pages or so of the 404 plugin debug log to pastebin.com and give the link that’s created here so I can see them? Don’t paste the log here because it’s too long and breaks the forum…

    thanks

    Thread Starter Paul

    (@p666james)

    Hey,

    I have posted my 404 Plugin Log to: https://pastebin.com/H7rAVA0K

    I have added some example links to: https://pastebin.com/VM3AufRp

    Many thanks for your help

    Plugin Author Aaron

    (@aaron13100)

    Do you have a lot of pages/posts on the site?

    Thread Starter Paul

    (@p666james)

    There are around 1600 pages/posts.

    Thread Starter Paul

    (@p666james)

    Just a note.

    I disabled the following settings, and it seems to be stable again:
    – Create automatic redirects
    – Create automatic redirects for categories
    – Create automatic redirects for tags.

    Perhaps the automatic lookup against such a large number of posts/pages was causing the time out?

    Plugin Author Aaron

    (@aaron13100)

    Yeah on my test site there are 9,000 pages and 10,000 posts and it seems to work fine, but yes, there is a timeout because it’s taking too long to find a match or no match at all. It could be an issue with the permalink lookup table, for example, but there’s isn’t enough information in the log file to tell me what the issue is. So I’m considering what to do next to figure out what the issue is, but definitely it will at least involve adding some more debug information.

    Thread Starter Paul

    (@p666james)

    I’m happy to use the plugin without the Automatic functions, it is working better than other plugins I’ve tried even with this little glitch ??

    If you need to use my site for testing, drop me a message and I can provide you with a login etc.

    I’m happy to close this ticket if you are ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘504 Error’ is closed to new replies.