requests to a certain admin url results in 504 gateway timeout

Unsolved Technical Support
  • The url is /admin/manage/admins-mods.
    I'm behind a reverse proxy (nginx), if that helps.
    In /var/log/nginx/error.log I see:

    2022/10/31 17:08:56 [error] 605264#605264: *1157 upstream timed out (110: Connecti
    on timed out) while reading response header from upstream, client: ::1, server: ,
    request: "GET /forum/admin/manage/admins-mods HTTP/1.1", upstream: "http://127.0.0
    .1:4567/forum/admin/manage/admins-mods", host: "localhost:4000"

    nodebb is 2.5.7
    node is 18.6.0

  • How many categories do you have? Are there any categories that might me mistakenly creating cycles as in parent A => parent B => parent A that would cause a lockup.

  • @baris well, when I went to check, nothing appears.


    There's also nothing helpful in the log;

    2022-11-01T16:39:48.177Z [41gKFtogHYuTLgtmff2zbx9hk7DWS8VB612gDjf1YFPsfT66jV4UFCBNJSsUKKBpwf9y4CunA1UoucxSkm8NLtmRFxDFATcas of v1.15.3, and slated for removal in v2.1.0. Please use instead. The following plugins are still listening for this hook:
      * nodebb-plugin-write-api
    2022-11-01T16:39:48.248Z [4567/13736] - info: [session-sharing] Settings OK
    2022-11-01T16:39:48.254Z [4567/13736] - info: [plugins/spam-be-gone] Settings loaded
    2022-11-01T16:39:48.344Z [4567/13736] - info: [api] Adding 0 route(s) to `api/v3/plugins`
    2022-11-01T16:39:48.369Z [4567/13736] - info: [router] Routes added
    2022-11-01T16:39:48.416Z [4567/13736] - info: 🎉 NodeBB Ready
    2022-11-01T16:39:48.418Z [4567/13736] - info: 🤝 Enabling 'trust proxy'
    2022-11-01T16:39:48.431Z [4567/13736] - info: 📡 NodeBB is now listening on:
    2022-11-01T16:39:48.448Z [4567/13736] - info: 🔗 Canonical URL:
  • Is your forum public so we can take a look? Can you access individual categories with this url /admin/manage/categories?cid=<replace with category id>?

  • @baris strangely enough, the category list loads now! And it doesn't look like there's any circularness in the list.


    Still, trying to manage the admin group via /admin/manage/groups/administrators or /admin/manage/admins-mods results in a gateway timeout. I've also enabled verbose logging, which displays this upon visiting either of these two urls:

    x.x.x.x - - [01/Nov/2022:17:12:10 +0000] "GET /forum/admin/manage/admins-mods HTTP/1.1" - - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0"

    Now there's no response code. Strange.

Suggested Topics

  • 0 Votes
    6 Posts
  • 0 Votes
    4 Posts
  • 1 Votes
    21 Posts
  • 0 Votes
    7 Posts
  • 0 Votes
    5 Posts