ASP.net Control isValid False (Behind Proxy Authentication)

565 views
Skip to first unread message

Dan G

unread,
Jul 26, 2010, 6:50:52 PM7/26/10
to reCAPTCHA
I've got the reCaptcha Image displaying nice and pretty on my page,
but the validator is always false. The development server sits behind
a firewall and a proxy that requires authentication. I followed this
guide here: http://wiki.recaptcha.net/index.php/Using_reCaptcha_on_IIS_through_a_proxy
but I'm still not able to successfully validate.

The error message returned is: "The reCAPTCHA server is unavailable"

Srini

unread,
Aug 26, 2010, 4:50:30 AM8/26/10
to reCAPTCHA
Hi Dan .... Could you resolve this? please help. i am facing the same
issue.

On Jul 27, 3:50 am, Dan G <dangros...@gmail.com> wrote:
> I've got the reCaptcha Image displaying nice and pretty on my page,
> but the validator is always false. The development server sits behind
> a firewall and a proxy that requires authentication. I followed this
> guide here:http://wiki.recaptcha.net/index.php/Using_reCaptcha_on_IIS_through_a_...

Adrian Godong

unread,
Aug 26, 2010, 5:02:38 AM8/26/10
to reca...@googlegroups.com
Is it ASP.NET?

If it is, you may want to look at this issue:

Basically, just create your own IWebProxy instance and pass it to the control.

I'm not sure about the real usage scenario, I never have any chance. But if you have a possibly easier alternatives, please let me know.


--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To post to this group, send email to reca...@googlegroups.com.
To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.




--
Adrian Godong
adrian...@gmail.com

Srini

unread,
Aug 27, 2010, 12:15:23 AM8/27/10
to reCAPTCHA
Hi Adrian,

Yes. It is ASP.Net and i am using teh latest build of reCaptcha.

I get the error "The reCAPTCHA server is unavailable." after setting
the proxy

System.Net.WebProxy proxy = new System.Net.WebProxy(new
Uri("http://xx.xx.xx.xx"));
proxy.Credentials = new
System.Net.NetworkCredential("myusername", "passwd");
recaptcha.Proxy = proxy;

Please help

Regards,
Srini


On Aug 26, 2:02 pm, Adrian Godong <adrian.god...@gmail.com> wrote:
> Is it ASP.NET?
>
> If it is, you may want to look at this issue:http://code.google.com/p/recaptcha/issues/detail?id=49
>
> Basically, just create your own IWebProxy instance and pass it to the
> control.
>
> I'm not sure about the real usage scenario, I never have any chance. But if
> you have a possibly easier alternatives, please let me know.
>
>
>
>
>
> On Mon, Jul 26, 2010 at 23:50, Dan G <dangros...@gmail.com> wrote:
> > I've got the reCaptcha Image displaying nice and pretty on my page,
> > but the validator is always false. The development server sits behind
> > a firewall and a proxy that requires authentication. I followed this
> > guide here:
> >http://wiki.recaptcha.net/index.php/Using_reCaptcha_on_IIS_through_a_...
> > but I'm still not able to successfully validate.
>
> > The error message returned is: "The reCAPTCHA server is unavailable"
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "reCAPTCHA" group.
> > To post to this group, send email to reca...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > recaptcha+...@googlegroups.com<recaptcha%2Bunsubscribe@googlegroups­.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/recaptcha?hl=en.
>
> --
> Adrian Godong
> adrian.god...@gmail.com- Hide quoted text -
>
> - Show quoted text -

Adrian Godong

unread,
Aug 27, 2010, 8:57:01 AM8/27/10
to reca...@googlegroups.com
I have no experience on using proxy, thus I can't comment on your code.

I just thought that if you have any portable server that is outside the proxy, you can see what is actually the problem.


To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.




--
Adrian Godong
adrian...@gmail.com
Reply all
Reply to author
Forward
0 new messages