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?

Files: 
CommentFileSizeAuthor
#5 2011-12-05_091823.jpg52.85 KBpinenut

Comments

Category:bug» support
Status:Active» Postponed (maintainer needs more info)

This 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.

Status:Postponed (maintainer needs more info)» Fixed

The date of my server was with one day in past ;-)
Thank you for your answer.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

I'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

Version:6.x-1.0-beta1» 7.x-1.0
Status:Closed (fixed)» Active
StatusFileSize
new52.85 KB

I 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.

Status:Active» Postponed (maintainer needs more info)

Hi, we need to see your watchdog (/admin/reports/dblog).

I 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:

wkelvinf- you'll need to ask your hosting provider to enable OpenSSL support.

I 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?

I 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:

Any idea?

holydrupal: "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.

I 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.

Component:API module» Miscellaneous
Status:Active» Postponed (maintainer needs more info)

For information, you can check the availibility of https on phpinfo()'s Registered PHP Streams.

Component:Miscellaneous» API module
Status:Postponed (maintainer needs more info)» Active

I 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:

Component:Miscellaneous» API module
Status:Postponed (maintainer needs more info)» Active

Note here https://drupal.org/node/1963174#comment-7732637
We are talking about the patch 1 Comments https://drupal.org/node/1963174 topic.

Running NTP solved the problem too, thanks udvranto.