• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

ACP Loading Extremely slow - 1.8.1

Scheduled Pinned Locked Moved Technical Support
7 Posts 2 Posters 935 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yapne
    wrote on last edited by
    #1

    Hi,

    I have downloaded 1.8.1 to test and i realised loading the ACP page takes about 15 seconds. In the logs i'm seeing multi error message in the below. I'm sitting behind a corporate proxy server and firewall and i suspect the request going out to github is blocked.

    I did a hack on the request code in \NodeBB-1.8.1\src\admin\versions.js to include a proxy and the error dissapears and ACP loads immediately. This wasn't an issue in 1.7.5v and i believe there were changes made to some files.

    I'm seeing this problem too in ACP plugin whereby i can't search for plugin because of the same issue. Is there a way to set PROXY in NodeBB?

    Thanks

    Nelson

    2018-03-26T20:05:16.187Z [16500] - error: [acp] Failed to fetch latest version Error: getaddrinfo ENOTFOUND api.github.com api.github.com:443
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2

    That error shouldn't cause any issues, it's specifically written to avoid breaking things.

    The reason the ACP takes so long to load the first time is because after you upgrade, it has to recompile the template when you first request the page.

    Y 1 Reply Last reply
    0
  • Y Offline
    Y Offline
    yapne
    replied to PitaJ on last edited by
    #3

    @pitaj even subsequent tries are slow as well because the DNS.js has some sort of timeout setting before erroring out. This is a new install rather than upgrade.

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #4

    Anyways, it looks like I could enable setting the proxy parameter, and possibly lower the timeout value for the request to speed things up.

    Y 1 Reply Last reply
    0
  • Y Offline
    Y Offline
    yapne
    replied to PitaJ on last edited by
    #5

    @pitaj thank you. Will this be available in 1.8.2?

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to yapne on last edited by
    #6

    @yapne probably

    Y 1 Reply Last reply
    0
  • Y Offline
    Y Offline
    yapne
    replied to PitaJ on last edited by
    #7

    @pitaj did this make it to 1.8.2? Thanks

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development