Hi Leonardo,

That seems *not* to be an error from PHP nor our client lib.
And it seems an elusive problem that occurs in many cases 
<https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=error%3A0307A071%3Abignum+routines%3ABN_rand_range%3Atoo+many+iterations>
.

For now, I'm not sure how XAMPP sets up your system (including curl), so we 
may need to make sure first where the problem occurred (your curl, PHP, or 
XAMPP).
But from what you said, Eclipse can run the file well so it may be possible 
that XAMPP uses different version of curl from that of Eclipse.

>From what I've searched <https://github.com/mitchellh/vagrant/issues/5016>, 
it may worth trying 1) running the file without XAMPP 2) replacing curl in 
your system.
Another source <https://bugzilla.kernel.org/show_bug.cgi?id=85911> hints 
that it may be related to CPU kernel too.

Best,
Thanet, AdWords API Team

On Monday, December 21, 2015 at 11:47:32 PM UTC+9, Leonardo Mejia wrote:
>
> I am getting Error: error:0307A071:bignum routines:BN_rand_range:too many 
> iterations when trying to refresh token on a XAMPP install on my machine:
>
>
> <https://lh3.googleusercontent.com/-o2SAl4wckNE/VnVLPayRdqI/AAAAAAAA8Vk/U06JbCSOofg/s1600/oatherror.png>
>
> The error seems to be occuring here:
>
>
> <https://lh3.googleusercontent.com/-FDhdmDZdT0A/VnVL0e4eutI/AAAAAAAA8Vs/hna20ux4Wig/s1600/oathcode.png>
> Error and Http Code results are as follows:
> Error: error:0307A071:bignum routines:BN_rand_range:too many iterations
> Httpcode: 0
>
> There is a twist however:  If I run the same codebase through the debugger 
> in Eclipse I don't get an error:
>
> It runs as expected I get:
> Httpcode: 200
>
> The only difference other than it working correctly through eclipse is 
> that the following line of code:
>
>  $ch = $this->curlUtils->CreateSession($url); (line 119 in the 
> MakeRequest() code) returns different values.
>
> It returns a value of ch: Resource id  #51 when I run it through eclipse 
> and  ch: Resource id #49 when I run it stand alone.
>
> I hope this is enough information:  Any help is appreciated. 
>
> Thank you.
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87b616d6-f4ee-4bfb-ba79-fdc5e56064eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to