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

RE: help with proxy error



Hi KAj
You are right this is my problem.  i saw the httpapi source and at the moment it can not  do what I need. For the moment my network admin connected the procedure directly to the ip. 

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Julius Kaj
Sent: venerdì 8 agosto 2014 14:42
To: HTTPAPI and FTPAPI Projects
Subject: Re: help with proxy error

Hi Fabio,

Some companies require their proxy users to authenticate themselves to the proxy server using NTLM before they are allowed to use it. Maybe that is how your proxy server works?

Unfortunately to my knowledge this is not yet supported in the official HTTPAPI as maintained by Scott Klement. A couple of years ago a patch was published by Thomas Radatz that would add NTLM support to HTTPAPI, but it never made it into the official code. I think Thomas may be alle to help you if you should need NTLM authentication to the proxy server.


Regards,
Kaj

Sendt fra min iPad

> Den 07/08/2014 kl. 09.47 skrev "Gatti Fabio" <f.gatti@xxxxxxxxx>:
> 
> 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
> ----------------------------------------------------------------------
> -
> 
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com 
> ______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________
-----------------------------------------------------------------------
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
-----------------------------------------------------------------------