Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I press Start setup and authorize account it sends me to a google page https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=&hd= with no token in query and the google page output is Invalid Token. What I do wrong?
Comment | File | Size | Author |
---|---|---|---|
#5 | 2011-12-05_091823.jpg | 52.85 KB | pinenut |
Comments
Comment #1
grendzy CreditAttribution: 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 CreditAttribution: SilviuChingaru commentedThe date of my server was with one day in past ;-)
Thank you for your answer.
Comment #4
cpatriciasousa CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: grendzy commentedHi, we need to see your watchdog (/admin/reports/dblog).
Comment #7
wkelvinf CreditAttribution: 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 CreditAttribution: grendzy commentedwkelvinf- you'll need to ask your hosting provider to enable OpenSSL support.
Comment #9
udvranto CreditAttribution: 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 CreditAttribution: udvranto commentedUhh.. Running NTP solved the problem: http://articles.slicehost.com/2010/11/8/using-ntp-to-sync-time-on-debian
Comment #11
holydrupal CreditAttribution: 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 CreditAttribution: holydrupal commentedAny idea?
Comment #13
grendzy CreditAttribution: 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/OAuthGetRequestToken
If the connection succeeds, you should see "parameter_absent" in the response.
Comment #14
mrooks1984 CreditAttribution: 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 CreditAttribution: Johann Wagner commentedFor information, you can check the availibility of https on phpinfo()'s Registered PHP Streams.
Comment #16
rudrupal CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: PacoMuñoz commentedRunning NTP solved the problem too, thanks udvranto.
Comment #19
Plazik CreditAttribution: Plazik as a volunteer commented7.x-1.x is unsupported. Please upgrade to 7.x-3.x.