Board index » delphi » TIdHTTP and Proxy

TIdHTTP and Proxy

Hello,

I have an application that uses TIdHTTP to connect to a remote ISAPI DLL.
Basically, it does some requests and shows the replies in the application.
Everything is working tight and right. However, if I configure TIdHTTP to
use a proxy, I always get a "Internal Server Error" after the first request.
The proxy is working right with everything but my program. I'm configuring
the proxy in the "ProxyParams" property on TIdHTTP. I'm specifying the IP
and the port of the proxy. Do I have to do anything more?
Thanks in advance for any help given.

Best regards,
Paulo

 

Re:TIdHTTP and Proxy


Quote
Paulo Ribeiro wrote:
> Hello,

> I have an application that uses TIdHTTP to connect to a remote ISAPI DLL.
> Basically, it does some requests and shows the replies in the application.
> Everything is working tight and right. However, if I configure TIdHTTP to
> use a proxy, I always get a "Internal Server Error" after the first request.
> The proxy is working right with everything but my program. I'm configuring
> the proxy in the "ProxyParams" property on TIdHTTP. I'm specifying the IP
> and the port of the proxy. Do I have to do anything more?
> Thanks in advance for any help given.

use one of the http de{*word*81}s at http://www.pocketsoap.com. this might
help clarify things.

Grahame

Re:TIdHTTP and Proxy


Hello Grahame, and thank you for your reply.

I tried the proxyTrace utility and everything runs fine with it. However,
with any other proxy server, I still get the same "Internal Server Error"
message. I looked at the request and response messages in proxyTrace and
everything seems to be fine. I'm still stuck with no clue...

Best regards,
Paulo

Quote
> Paulo Ribeiro wrote:
> > Hello,

> > I have an application that uses TIdHTTP to connect to a remote ISAPI
DLL.
> > Basically, it does some requests and shows the replies in the
application.
> > Everything is working tight and right. However, if I configure TIdHTTP
to
> > use a proxy, I always get a "Internal Server Error" after the first
request.
> > The proxy is working right with everything but my program. I'm
configuring
> > the proxy in the "ProxyParams" property on TIdHTTP. I'm specifying the
IP
> > and the port of the proxy. Do I have to do anything more?
> > Thanks in advance for any help given.

> use one of the http de{*word*81}s at http://www.pocketsoap.com. this might
> help clarify things.

> Grahame

Re:TIdHTTP and Proxy


I downloaded TcpTrace and I tried to put it before and after the proxy to
see the differences, but the problem is that with this program either after
or before the proxy, everything runs fine. When I get it out, the error
occurs.
I really don't have a clue...
Any suggestions?

Regards,
Paulo Ribeiro

Quote
> I tried the proxyTrace utility and everything runs fine with it. However,
> with any other proxy server, I still get the same "Internal Server Error"
> message. I looked at the request and response messages in proxyTrace and
> everything seems to be fine. I'm still stuck with no clue...

> Best regards,
> Paulo

> > Paulo Ribeiro wrote:
> > > Hello,

> > > I have an application that uses TIdHTTP to connect to a remote ISAPI
> DLL.
> > > Basically, it does some requests and shows the replies in the
> application.
> > > Everything is working tight and right. However, if I configure TIdHTTP
> to
> > > use a proxy, I always get a "Internal Server Error" after the first
> request.
> > > The proxy is working right with everything but my program. I'm
> configuring
> > > the proxy in the "ProxyParams" property on TIdHTTP. I'm specifying the
> IP
> > > and the port of the proxy. Do I have to do anything more?
> > > Thanks in advance for any help given.

> > use one of the http de{*word*81}s at http://www.pocketsoap.com. this might
> > help clarify things.

> > Grahame

Re:TIdHTTP and Proxy


Quote
Paulo Ribeiro wrote:
> I downloaded TcpTrace and I tried to put it before and after the proxy to
> see the differences, but the problem is that with this program either after
> or before the proxy, everything runs fine. When I get it out, the error
> occurs.

err? If you use TCPTrace after the proxy then it works fine?
that's pretty strange... I don't think I can help you with that

Grahame

Other Threads