• Resolved i0n1ca

    (@i0n1ca)


    Hello Alin,

    Starting today I keep receive 0 users live on website (even when they are online and can be seen in analytics website). First I’ve got some error saying that API has timed out after 5000ms or something. Tried to delete de error but it wasn’t gone, remains on the plugin error section.

    Now I’m receiving this:

    Num?r:116
    Cod eroare Ajax: None
    Cod eroare API: 429
    Motiv eroare API: 
    Exhausted property tokens for a project per hour. These quota tokens will return in under an hour. To learn more, see https://developers.google.com/analytics/devguides/reporting/data/v1/quotas
    Detalii eroare API: 
    Array
    (
        [0] => RESOURCE_EXHAUSTED
        [1] => trying to refresh token
    )
    • This topic was modified 8 months, 2 weeks ago by i0n1ca.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Alin Marcu

    (@deconf)

    Hi,

    Most probably you were sending too many requests in a short period of time. You should clear the error after an hour and retry. If the issue persists you should clear authorization and re-authorize the plugin.

    Thread Starter i0n1ca

    (@i0n1ca)

    Hi Alin,

    I am not trying anything just having my dashboard open like always during the day. And after some article published I’m refreshing the page. I will clear the error again (but when I do this nothing happens the error remains there). Probably the re-authorize the plugin again will do the magic.

    Thanks,

    ionica

    Thread Starter i0n1ca

    (@i0n1ca)

    I have removed the access from google account and tried to re-authorize the plugin but it opens your page and remains blank.

    Plugin Author Alin Marcu

    (@deconf)

    I just authorized a website to test it and works ok. Can you try using incognito mode of your browser or using a different browser?

    Are you using your own API Project?

    • This reply was modified 8 months, 2 weeks ago by Alin Marcu.
    Thread Starter i0n1ca

    (@i0n1ca)

    Deleted the cookies and website data, no success in Safari. Tried on Chrome and now it works. Checking these days to see if any error came up. Thanks.

    Plugin Author Alin Marcu

    (@deconf)

    Great! I will test Safari too, to see if I can replicate the issue.

    Thread Starter i0n1ca

    (@i0n1ca)

    I receive this.

    Num?r:1
    Cod eroare Ajax: 624
    Cod eroare API: http_request_failed
    Motiv eroare API: 
    cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received
    Detalii eroare API: 
    None

    Just installed the new version, waiting to see if the error appears again.

    Plugin Author Alin Marcu

    (@deconf)

    The timeout should be increased to 30 seconds on new version. I’ve also noticed these timeouts lately and 30s seems to be more than enough on my tests.

    I’m going to mark this thread as resolved. If there are further issues please post here and mark it back as unresolved.

    Thread Starter i0n1ca

    (@i0n1ca)

    Hi Alin,

    I’ve never had this issue before, everything was fine till recently. Probably Google did some modifications to their API or so. Today I have again the error with tokens. How can I consume them? I’m just refreshing my dashboard after 1-2-3 articles written and that’s it, nothing special.

    Num?r:134
    Cod eroare Ajax: None
    Cod eroare API: 429
    Motiv eroare API: 
    Exhausted property tokens for a project per hour. These quota tokens will return in under an hour. To learn more, see https://developers.google.com/analytics/devguides/reporting/data/v1/quotas
    Detalii eroare API: 
    Array
    (
        [0] => RESOURCE_EXHAUSTED
        [1] => trying to refresh token
    )

    I use Analytics plugin in wp-admin with the option Real-time to see the number of online users. This was my option from many years now …

    • This reply was modified 8 months, 2 weeks ago by i0n1ca.
    Plugin Author Alin Marcu

    (@deconf)

    Hi,

    IMHO considering the behavior described above you may be hitting the Realtime Concurrent Requests Per Property, which is 10.

    Please note that a token doesn’t equal a request. Depending on request complexity it can consume more than a token. So if the plugin is trying to make a request for real-time reports and at the same time you force the retrieval by doing consecutive requests it can hit that limit.

    Please try not to force refreshes and see how it goes. Also considering the issue you had with Safari, clearing the cache for the domain and disabling browser extensions would be helpful.

    Thread Starter i0n1ca

    (@i0n1ca)

    I have a few extensions, but now I’m working on a laptop with Windows and Chrome which I have for almost a year since I’m doing the same thing / writing articles and using dashboard with realtime view without any issue till now.

    From my side nothing has changed and what I am seeing now probably is not the plugin but Google!

    I am very curios if I am the only one with this issue or somebody else have it too. ??

    Plugin Author Alin Marcu

    (@deconf)

    After all everything adds up without necessary new limitations. If we’re considering that lately the latency on API requests is high (reason for the PHP cURL timeouts) multiple concomitent requests are very possible on repeated refreshes.

    Thread Starter i0n1ca

    (@i0n1ca)

    I think some how I’ll found the issue but I don’t know what is causing it.

    I am using Chrome / Windows 11 and I have wp-admin (dashboard) open. I don’t refresh it for 10-20 minutes and I am doing other work on other tabs. When I’m coming back to the tab without refresh it the number of live users keeps fluctuating (20-22-18-17-19 …). After refresh of the page the number doesn’t fluctuate keeps normal with the live users.

    I think that when fluctuating it sends requests on request and this is why we get timeout or exhausted tokens.

    This type of usage I did before and this didn’t happened.

    Plugin Author Alin Marcu

    (@deconf)

    Hi,

    Please check if you can replicate the issue with v6.3.6. While I wasn’t able to replicate it, I found a few issues based on the above details which could have caused problems.

    Thread Starter i0n1ca

    (@i0n1ca)

    Hi Alin,

    Just installed v6.3.6 and I will try to replicate the issue today.

    ionic?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Exhausted property tokens’ is closed to new replies.