Support » Plugin: Async JavaScript » Wizard Async JavaScript Doesn´t work

  • pastorizag

    (@pastorizag)


    Dear:

    Yesterday I installed the plugin Async JavaScript because I have problems with the speed of my page in a mobile environment. I am a beginner in wordpress and I tried to configure the plugin through Wizard. I tried to run the wizard five times but all the time the blue bar is waiting and nothing happens. I completed the user and the API of the plugin into wordpress but I do not know why not working.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    The wizard requires successful communication between your browser and your server and between your server and gtmetrix. The most likely reason it doesn’t work is a problem in the latter connection (timeouts or simply blocked), but it is very hard to confirm. Your php errorlog _might_ have info though.

    But as you’ve already got Autoptimize running and as you seem to have only 1 external JS-script, you could also simply add bestazon.io to Autoptimize -> Extra -> Async instead.

    hope this helps,
    frank

    pastorizag

    (@pastorizag)

    Dear Frank:

    I checked php errorlog but I don´t find the error about plugin Async JavaScript. The error code below:

    [03-Jan-2020 12:24:45 UTC] Item_Lookup_Response_Cache_Loader :: create_cache_entry::<h4>Estas realizando peticiones demasiado rápidamente. Por favor, vuelve a enviar tus peticiones a un ritmo más lento. Para mayor información, revisa las Recomendaciones de eficiencia.</h4>
    [04-Jan-2020 15:23:45 UTC] <h4>Estas realizando peticiones demasiado rápidamente. Por favor, vuelve a enviar tus peticiones a un ritmo más lento. Para mayor información, revisa las Recomendaciones de eficiencia.</h4>
    [04-Jan-2020 17:58:58 UTC] <h4>Estas realizando peticiones demasiado rápidamente. Por favor, vuelve a enviar tus peticiones a un ritmo más lento. Para mayor información, revisa las Recomendaciones de eficiencia.</h4>

    Another thing, You speak about add bestazon.io in Autopmitize plugin but I do not find this option. The only similar parameter is:

    Archivos JavaScript asíncronos: Tienes “Async Javascript” instalado, la configuración de javascript asíncrono se realiza mejor allí.

    Sorry for my questions but I am an beginner in this topics 🙁

    Thanks in advance
    Regards

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I checked php errorlog but I don´t find the error about plugin Async JavaScript. The error code below:

    no, doesn’t seem relevant indeed.

    Archivos JavaScript asíncronos: Tienes “Async Javascript” instalado, la configuración de javascript asíncrono se realiza mejor allí.

    disable Async JavaScript (the plugin) and at that point you’ll be able to add bestazon.io in Autoptimize -> Extra -> Async

    pastorizag

    (@pastorizag)

    Dear:

    The support team of the server asks me the following question:

    Can you contact the plugin support to indicate to which host or link the plugin is connected so that we can perform a connectivity test from your account and discard possible causes?

    Thank in advance

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    sure, the API endpoint is https://gtmetrix.com/api/0.1.

    pastorizag

    (@pastorizag)

    Dear:

    My host provider webempresa answered this about the conecction. Could you help me please?
    __________________________________________________________________________________

    “las conexiones a gtmetrix.com son correctas desde el servidor. Si no, no se podría completar el análisis directamente desde su página. Todo apunta a que se realiza a través de otro host o IP.

    La única visita que veo reciente desde una IP con referencias a GTMetrix es:

    208.70.247.157 – – [05/Jan/2020:22:50:57 +0100] “GET / HTTP/1.0” 200 64186 “-” “Mozilla/5.0 (Linux; Android 4.3; Galaxy Nexus Build/JWR66Y; GTmetrix https://gtmetrix.com/) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36”

    No tengo claro si es la de esa herramienta, pero la conexión a esa misma IP desde el servidor falla:

    └─# sudo nc -zv 208.70.247.157 443
    Ncat: Version 7.50 ( https://nmap.org/ncat )
    Ncat: Connection refused.

    └─# sudo nc -zv 208.70.247.157 80
    Ncat: Version 7.50 ( https://nmap.org/ncat )
    Ncat: Connection refused.

    Puedes facilitarle esta información al soporte del plugin para que la evalúe. Las conexiones a gtmetrix son correctas:

    └─# sudo nc -zv gtmetrix.com 80
    Ncat: Version 7.50 ( https://nmap.org/ncat )
    Ncat: Connected to 204.187.14.69:80.
    Ncat: 0 bytes sent, 0 bytes received in 0.17 seconds.

    └─# sudo nc -zv gtmetrix.com 443
    Ncat: Version 7.50 ( https://nmap.org/ncat )
    Ncat: Connected to 204.187.14.69:443.
    Ncat: 0 bytes sent, 0 bytes received in 0.17 seconds.

    _____________________________________________________________________

    Regards

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    The request from your server to gtmetrix does not get logged in your own webserver log, so it’s normal there isn’t any trace of that there. I have however, no idea how to further troubleshoot this I’m afraid, sorry.

    pastorizag

    (@pastorizag)

    Hi:

    We did a test through the developer console of the plugin and localize the following error when we release the test:

    DomREADY 2
    admin.min.js?ver=2.18.12.10:1
    {status: false, error: “Selected browser is not available via the API”}
    status: false
    error: “Selected browser is not available via the API”
    __proto__:
    constructor: ƒ Object()
    __defineGetter__: ƒ __defineGetter__()
    __defineSetter__: ƒ __defineSetter__()
    hasOwnProperty: ƒ hasOwnProperty()
    __lookupGetter__: ƒ __lookupGetter__()
    __lookupSetter__: ƒ __lookupSetter__()
    isPrototypeOf: ƒ isPrototypeOf()
    propertyIsEnumerable: ƒ propertyIsEnumerable()
    toString: ƒ toString()
    valueOf: ƒ valueOf()
    toLocaleString: ƒ toLocaleString()
    get __proto__: ƒ __proto__()
    set __proto__: ƒ __proto__()

    Could you please give us any suggestions?

    Regards

    Plugin Author Frank Goossens

    (@futtta)

    No idea I’m afraid; there is no browser being set/ requested in AsyncJS when communicating with the gtmetrix API and upon testing all works on my end;

    I would suggest to move on from the wizard and instead simply async bestazon.io and be done with it 😉

    Thanks Frank for your support. I will take your suggestion.

    Regards

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.