Board index » delphi » Error Proxy Requires Authentication in TidHttp

Error Proxy Requires Authentication in TidHttp

I'm using TidHttp for file downloading.
I notice that Tidhttp doesn't uses IE proxy settings.
So implemented using information in the registry.
But in some clients it returns error 407: Proxy Requires Authentication.
How can i solve this problem ?

Thanks in advanced
Alexandre

 

Re:Error Proxy Requires Authentication in TidHttp


well if your clients are using MS Proxy then you just can't do anything.
NTLM proxy authtentication is not supported at this time in Indy 9.
If they are using squid or any other proxy server that use Basic
authtentication then all you have to do is to fill the coreponding
properties in the http componenet to set user name and password for proxy
authorization.

Doychin Bondzhev - Team Indy

"Alexandre Bento Freire" <a-bentofre...@a-bentofreire.com.nospam> wrote in
message news:3c3ad210_2@dnews...

Quote
> I'm using TidHttp for file downloading.
> I notice that Tidhttp doesn't uses IE proxy settings.
> So implemented using information in the registry.
> But in some clients it returns error 407: Proxy Requires Authentication.
> How can i solve this problem ?

> Thanks in advanced
> Alexandre

Re:Error Proxy Requires Authentication in TidHttp


Just to confirm:
If i get this error number, it's not possible to show a dialog message to the user, asking him the
user and pwd. And then resend this to the indy, as a user and pwd fields.

Thanks for your time,
Alexandre

"Doychin Bondzhev - Team Indy" <doyc...@dsoft-bg.com> wrote in message news:3c3b089c_1@dnews...

Quote
> well if your clients are using MS Proxy then you just can't do anything.
> NTLM proxy authtentication is not supported at this time in Indy 9.
> If they are using squid or any other proxy server that use Basic
> authtentication then all you have to do is to fill the coreponding
> properties in the http componenet to set user name and password for proxy
> authorization.

> Doychin Bondzhev - Team Indy

> "Alexandre Bento Freire" <a-bentofre...@a-bentofreire.com.nospam> wrote in
> message news:3c3ad210_2@dnews...
> > I'm using TidHttp for file downloading.
> > I notice that Tidhttp doesn't uses IE proxy settings.
> > So implemented using information in the registry.
> > But in some clients it returns error 407: Proxy Requires Authentication.
> > How can i solve this problem ?

> > Thanks in advanced
> > Alexandre

Re:Error Proxy Requires Authentication in TidHttp


you can but it is importent to know that if the authtentication scheme is
not supprted you can't do anything

"Alexandre Bento Freire" <a-bentofre...@a-bentofreire.com.nospam> wrote in
message news:3c3b15f0_1@dnews...

Quote
> Just to confirm:
> If i get this error number, it's not possible to show a dialog message to

the user, asking him the
Quote
> user and pwd. And then resend this to the indy, as a user and pwd fields.

> Thanks for your time,
> Alexandre

> "Doychin Bondzhev - Team Indy" <doyc...@dsoft-bg.com> wrote in message

news:3c3b089c_1@dnews...
Quote
> > well if your clients are using MS Proxy then you just can't do anything.
> > NTLM proxy authtentication is not supported at this time in Indy 9.
> > If they are using squid or any other proxy server that use Basic
> > authtentication then all you have to do is to fill the coreponding
> > properties in the http componenet to set user name and password for
proxy
> > authorization.

> > Doychin Bondzhev - Team Indy

> > "Alexandre Bento Freire" <a-bentofre...@a-bentofreire.com.nospam> wrote
in
> > message news:3c3ad210_2@dnews...
> > > I'm using TidHttp for file downloading.
> > > I notice that Tidhttp doesn't uses IE proxy settings.
> > > So implemented using information in the registry.
> > > But in some clients it returns error 407: Proxy Requires
Authentication.
> > > How can i solve this problem ?

> > > Thanks in advanced
> > > Alexandre

Other Threads