[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: help with proxy error



Hello Scott
In my example i changed the proxy name buti in the orginal program it is correct.
The problem is if I try th dnslookup of the ip USFTCTL001.INTERNAL.UNICREDITGROUP.EU I receve the respons : not authorized.
I debugged the httapi and the function commTcp_Resolve is not able to solve the IP
I ask to my sys admin to configure the IP in the host table but it does not work.
thanks 

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: mercoledì 6 agosto 2014 17:57
To: HTTPAPI and FTPAPI Projects
Subject: Re: help with proxy error

Hello Gatti Fabio,

In your example, you put http_setproxy('proxy':3128).   That means that 
'proxy' will be the host that it needs to find in DNS or the host table.

Your proxy is simply named 'proxy'?   Are you sure that's correct?   At 
the command line, if you type PING RMTSYS(PROXY) does it work?  or does it say "Unknown host, PROXY"?


-SK


On 8/6/2014 4:52 AM, Gatti Fabio wrote:
>     Hi Mr Klement
>
>     First i apollogize for my terrible English and i hope to be able to
>     explain my problem
>
>
>     I have developed and esasy connection that have to pass throught a
>     proxy. The DNS must be solved by the proxy server but my PGM does not
>     work
>
>
>     Ehere the example
>
>          err=http_setproxy('proxy':3128);
>
>            url='http://USFTCTL001.INTERNAL.UNICREDITGROUP.EU/eh/service'+
>
>                '/EventHandlerService';
>
>            call_back=%paddr('RITORNO');
>
>            $return_code = http_url_post_xml(
>
>                              url
>
>                              : %addr($soap_i) + 2
>
>                              : %len($soap_i)
>
>                              : *null
>
>                              : call_back
>
>                              : *NULL
>
>                              : HTTP_TIMEOUT
>
>                              : HTTP_USERAGENT
>
>                              : 'text/xml');
>
>
>
>     My society have a private connection with a bank and our proxy should
>     redirect the connection to the DNS of the bank private network. The ip
>     is an internal ip of the bank
>
>     I tried to change the dns and the host table ma nothing change
>
>     The error is always :  SetError() #2: Host name look up failed.
>
>
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------