WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics Dashboard for WP
[resolved] Dashboard Times Out (19 posts)

  1. singhnsk
    Member
    Posted 6 months ago #

    Hello

    I was using the plugin on my blog (techmesto.com) hosted at BlueHost and recently shifted to DreamHost. At dreamhost, it is a hit and trial thing. It loads up occasionally and at other times the Dashboard just gives me a timeout and nothing else.
    I'm also contacting DreamHost about this and just created a ticket. I'd also like to ask you if you or anybody else has noticed similar issues with DreamHost or any other host.

    Or maybe any sort of guide or troubleshooting information to get over this? I've already tried disabling FastCGI and their extra web security feature, but nothing seems to help.

    Thanks

    http://wordpress.org/plugins/google-analytics-dashboard-for-wp/

  2. Alin Marcu
    Member
    Plugin Author

    Posted 6 months ago #

    Have a look on my Data Usage Policy for Extensions, you can find it here: http://deconf.com/data-usage-policy-extensions/.

    It will help you understand how the data exchange is made between your server and Google Servers. Also check your PHP Error Log for possible errors/warnings.

    FYI @ipstenu

  3. singhnsk
    Member
    Posted 6 months ago #

    I've checked my PHP Error logs and they show up just nothing. Nothing relevant to Analytics plugin is found.

    Still waiting for a ticket response from DreamHost. I'll update this thread if the thing is something generic.

  4. singhnsk
    Member
    Posted 6 months ago #

    Hello Alin

    Dreamhost has simply ignored my ticket claiming that they don't provide support for 3rd party plugins. They claim that the server configuration is very healthy and there is no issue whatsoever.

    Would you be able to provide me with some additional troubleshooting steps? Sadly there's no plugin replacement available for yours and I badly need my stats in my dashboard :(

    Thanks

  5. Alin Marcu
    Member
    Plugin Author

    Posted 6 months ago #

    1. Do you have this error only when my plugin is enabled?

    2. Can you post a screen shot with the exact error?

    3. Try to disable all backend and frontend options (uncheck them all) and see if the error remains.

    4. Send me your php error log here deconf.com/contact

  6. singhnsk
    Member
    Posted 6 months ago #

    1. Yes the error only occurs when this plugin is enabled and authorized.
    2. Screenshot, hmm.. I'd have liked to bring one, but it just times out, It takes around 30 secs showing its loading and then Firefox says "The connection has timed out". Surprisingly Google Adsense Dashboard plugin works fine.
    3. I've done this already. Nothing helps. Only disabling the plugin or clearing the authorization will let me load my dashboard again.
    4. I'll send you the combined error log from /wp-admin to you. But I'm very sure it doesn't reflect anything related to the plugin.

  7. Alin Marcu
    Member
    Plugin Author

    Posted 6 months ago #

    The main difference between Google Adsense Dashboard and Google Analytics Dashboard is that Google Aanalytics Dashboard makes much more requests than Google Adsense Dashboard.

    Can you try version 4.2.6, I've found a bug in the way the plugin handled/refreshed the tokens.

    If there are no changes, I think the issue is generated by a firewall rule which blocks some Google IPs or a security rule that restricts outgoing connections.

  8. singhnsk
    Member
    Posted 6 months ago #

    Thank you for looking into it. The new update has changed some, but not entirely.

    I updated the plugin, authorized and it worked fine for an hour or so. But now its again the same timeout, but in an improved way. The dashboard takes now like 30s to load and then only shows the widgets which are placed before the GA Widget. The GA widget is not loading and hence nothing after it loads as well.

    I've tried a competitive plugin called 'Google Analytics Dashboard' and it was able to display the stats anytime, even working fine ATM, but I don't like the way it displays the stats, so I prefer yours against any other.

    Looked into error logs already and there's nothing new in them since 18th.

    Here's the screenshot of my how my dashboard is looking:
    http://img594.imageshack.us/img594/7544/ts79.png

  9. singhnsk
    Member
    Posted 6 months ago #

    Update: A reload after like 5 minutes has again made all my widgets accessible and the dashboard is again loading fine. A reload again and it was gone. Yet another reload like after 10 mins and it appeared again. So there are more number of favorable cases than negatives.

    The update REALLY fixed a lot and I'm kinda happy that there are more cases of it working than the dashboard not showing up at all. Will be awesome if you will be able to make some more improvements to the things.

    I suspect cache playing a role here and seems when the cache got flushed, it fetched new stats and presented them to me. I'll still continue monitoring on how often it happens and will update you.

    Thanks a lot for the update, Alin. Much Appreciated.

  10. Alin Marcu
    Member
    Plugin Author

    Posted 6 months ago #

    Forgot to ask you two important things:

    1. Is this a big website with multiple editors/admins?

    2. Have you tried it with other browsers, for example Chrome and from other computers? If not, please do.

    Let's use Chrome to see where it hangs, press CTRL+SHIFT+I, go to Network tab and reload the page. You should see the exact request that makes the browser hang.

  11. Ipstenu-DH
    DreamHost Rep
    Posted 6 months ago #

    Are you on DreamHost standard hosting or DreamPress?

    DreamPress is running memcached so it can get really sticky with caches.

  12. Alin Marcu
    Member
    Plugin Author

    Posted 6 months ago #

    @singhnsk from your screenshot, it's clear that the plugin crashes. @ipstenu-dh can you double check the PHP error_log for errors, just to be sure. Thank You!

  13. singhnsk
    Member
    Posted 6 months ago #

    @Alin:

    1. Won't call it big, but it is definitely above average sites. There are a handful of other authors who do the work, but stats are only enabled for Admin. So they won't be seeing the widgets.
    2. ATM its loading fine in both crome and firefox. I'll try from other browsers (chrome) as soon as I see it crashing on the firefox.

    @Ipstenu-DH:
    I'm using the standard Dreamhost hosting. Dunno much, but I'm sure it ain't DreamPress. Account name is narsin13 (if you want to check out something).

  14. singhnsk
    Member
    Posted 6 months ago #

    Hello Alin

    It happened again and following are the observations. I couldn't understand anything from the stats that it shows. So I'm attaching them here:

    1. Chrome's network tab shows all these requests - http://imageshack.com/a/img11/3640/3exs.png
    2. Firefox's network tab shows a way lesser requests here - http://imageshack.com/a/img571/9959/a65u.png
    3. The screenshot of the page in both Chrome and Firefox is ditto of this - http://imageshack.com/a/img543/1883/l1sg.png

    I've checked the error logs of /, /wp-admin and the main server log for my account at /home*name*/logs/ but none of them reflect anything related to the plugins request.

    Let's see if you can make something out of these screenshots.

    Edit: I'm using cloudflare as well. Do you think it could be caused by it? I was also using it while on BlueHost and it was all fine with the same configuration. I'll still pause Cloudflare protection and wait for how it responds after that.

  15. Alin Marcu
    Member
    Plugin Author

    Posted 6 months ago #

    Can you try to temporary set WP_DEBUG to true when having the issue? It may throw some errors.

    If you like, send me some temporary admin credentials, using my contact form. I will edit the plugin and try to determine the line where it hangs.

  16. singhnsk
    Member
    Posted 6 months ago #

    Hello Alin

    Tried setting Wp Debug to true, but its still the same. It does not show any error/warning on the screen and not in the error_log as well.

    I won't be able to give out those for techmesto, but there's another factsmesto which is also living on the same server and facing similar issue. I'll shoot the details towards you via the form.

  17. Ipstenu-DH
    DreamHost Rep
    Posted 6 months ago #

    singhnsk - You set up Cloudflare outside of DreamHost... I wonder if it would work better if you turned on CloudFlare in panel, since that activates an apache module for CF to work better.

    I'm taking a look at the server too see if anything jumps out at me, but I have a 'I'm on Tylenol Cold/Flu' caveat today ;)

  18. singhnsk
    Member
    Posted 6 months ago #

    Well actually, I do have cloudflare enabled via the panel on factsmesto.com and its still facing the same problem. So it can be an issue with the cloudflare, but not the setup :P

    Plus I've even disabled it on factsmesto for this trial if it is the cause of the issues.

    Another interesting find is that it happens on both the domains at the same time. So if techmesto's dashboard is gone, factsmesto won't show it either. ATM both are working though :v

  19. singhnsk
    Member
    Posted 4 months ago #

    It seems the resent updates fixed it up. I have not seen it happening for multiple weeks. Hence, closing this thread.

    Thanks for your support, Alin and Ipstenu-DH

Reply

You must log in to post.

About this Plugin

About this Topic