Hi,

Could you send snippets of the relevant log files *only to me* by clicking 
*Reply 
to Author*?

Also, are you able to successfully make IPv6 requests elsewhere in your app?

Thanks,
Josh, AdWords API Team

On Wednesday, May 28, 2014 11:08:37 AM UTC-4, c...@clickbits.de wrote:
>
> Hi all,
>
> I am using a website on Azure and I get the following error when i try to 
> get a refresh token via the Google AdWords API: 
>
> *Failed to connect to 2a00:1450:400c:c05::54: Address family not 
> supported*But 
> step by step:
> - First I create a new client id (for web application) using the Google 
> Developrs Console
> - I put my redirect url (target is a Zend Framework 2 Action) in the 
> Redirect URI textfield.
> - Then I generate an authorization url (with my client_id and 
> client_secret) by doing this:
>
> $OAuth2Handler = $this->user->GetOAuth2Handler();
> $authorizationUrl = 
> $OAuth2Handler->GetAuthorizationUrl($this->user->GetOAuth2Info(), 
> $redirectUri, true);
>
> - Then I open the authorization url by clicking on the link on my website 
> and log in in the google website (with my google account).
> - Then in the address line of the Browser I can see the correct redirect 
> url with the token 4/......
> - But nothing happens. Only the Error Message is shown:
>
>
>
>
>
> *File 
> ...\vendor\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php:118Message 
> Failed to connect to 2a00:1450:400c:c05::54: Address family not supported*I 
> think the error is from the last line of the following code:
>
> $redirectUri   = 'http://...';
> $OAuth2Handler = $this->user->GetOAuth2Handler();
>         
> // Get the access token using the authorization code. Ensure you use the 
> same
> // redirect URL used when requesting authorization.
> $this->user->SetOAuth2Info($OAuth2Handler->GetAccessToken($this->user->GetOAuth2Info(),
>  
> $code, $redirectUri));
>
>
> By using Google I only found the both sites, but it don't fix my Problem.
>
> https://groups.google.com/forum/#!topic/adwords-api/poBetVNdMWg
> https://groups.google.com/forum/#!msg/adwords-api/D1zTq4ZtnTs/PfatuLV_aOYJ
>
> What can I do?
>
>
> Geetings from germany
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to