Closed (won't fix)
Project:
Google Analytics Reports
Version:
7.x-1.0
Component:
API module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2011 at 16:47 UTC
Updated:
1 Aug 2015 at 14:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
grendzy commentedThis usually means that Drupal was unable to make an outgoing HTTPS request. The first step during authorization is to request a token from https://www.google.com/accounts/OAuthGetRequestToken.
Were there any errors recorded in the watchdog (/admin/reports/dblog)?
Also please upgrade to 1.0.
Comment #2
SilviuChingaru commentedThe date of my server was with one day in past ;-)
Thank you for your answer.
Comment #4
cpatriciasousa commentedI'm with this error and I can't resolve..I tried everything but nothing changed the output message, "Invalid Token".
Please, help me.
Thank you,
Patrícia
Comment #5
pinenut commentedI have exactly same problem as described in #4., ie. "Invalid Token".
I also get error statements as shown in the attached jpg file.
I am running Drupal version 7.9.
The modules of Google Analytics, Reports, API were installed today (12/5/2011) with the most current versions.
Comment #6
grendzy commentedHi, we need to see your watchdog (/admin/reports/dblog).
Comment #7
wkelvinf commentedI have this same problem.
Notice: Undefined index: oauth_token in GAFeed->getRequestToken() (line 104 of C:\xampp\htdocs\besta\sites\all\modules\google_analytics_reports\GAFeed.lib.inc).
Notice: Undefined index: oauth_token_secret in GAFeed->getRequestToken() (line 104 of C:\xampp\htdocs\besta\sites\all\modules\google_analytics_reports\GAFeed.lib.inc).
Notice: Undefined index: oauth_token in GAFeed->obtainAuthorization() (line 116 of C:\xampp\htdocs\besta\sites\all\modules\google_analytics_reports\GAFeed.lib.inc).
Code: 0 - Error: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? - Message:
Comment #8
grendzy commentedwkelvinf- you'll need to ask your hosting provider to enable OpenSSL support.
Comment #9
udvranto commentedI am having the same issue. Seems like the problem is with my time zone. I have Los Anglese time in my server. I tried the following:
1. Set Durpal time zone to LA
2. Set Drupal user time zone to LA
3. Set the developer box time zone to LA
It did not solve the problem. I do have the OpenSSL support enabled. Any suggestion what I should do?
Comment #10
udvranto commentedUhh.. Running NTP solved the problem: http://articles.slicehost.com/2010/11/8/using-ntp-to-sync-time-on-debian
Comment #11
holydrupal commentedI have the same issue.
Invalid Token.I tried changing the time zone but didn't help.
the log file says:
Code: -110 - Error: Connection timed out - Message:Comment #12
holydrupal commentedAny idea?
Comment #13
grendzy commentedholydrupal: "Connection timed out" is a new one for me. Is it possible your network has a firewall blocking access to Google?
You could test it by opening a shell on your server, and running
curl https://www.google.com/accounts/OAuthGetRequestTokenIf the connection succeeds, you should see "parameter_absent" in the response.
Comment #14
mrooks1984 commentedI also had this issue and looked through the reports to fix it.
Make sure you have the extension=php_openssl.dll uncommented in your php.ini file
if your on a hosted server, contact the company and make sure its uncommented.
Hope this helps.
Comment #15
Johann Wagner commentedFor information, you can check the availibility of https on phpinfo()'s Registered PHP Streams.
Comment #16
rudrupal commentedI have tried all the options mentioned above, but no luck. Please let me know if any other information needed.
In DB log::
Code: -110 - Error: Connection timed out - Message:
Comment #17
Gravitator commentedNote here https://drupal.org/node/1963174#comment-7732637
We are talking about the patch 1 Comments https://drupal.org/node/1963174 topic.
Comment #18
PacoMuñoz commentedRunning NTP solved the problem too, thanks udvranto.
Comment #19
plazik commented7.x-1.x is unsupported. Please upgrade to 7.x-3.x.