maheshwarirohit87 / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
0 stars 0 forks source link

NTLM authentication #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unix System HP UX 11.23 at datacenter
2. Internet access only thru a PROXY
3. DNS Server is able to resolve only Internal IP-addresses. It Will not be 
allowed to forward to a public  Internet DNS server, due to Security 
Policy,Hence DNS server is unable to resolve ec2.amazonaws.com, 
s3.amazonaws.com 
4. So Tried to add the IP address of the above in /etc/hosts file + We 
used Jec2.setProxyValues() to setProxy.

What is the expected output? What do you see instead?

we get the following error 

Jul 23, 2010 11:51:36 AM com.xerox.amazonws.common.AWSQueryConnection 
configureHttpClient
INFO: Proxy Host set to emea.nics.nxp.com:8080
Jul 23, 2010 11:51:37 AM 
org.apache.http.impl.client.AbstractAuthenticationHandler selectScheme
WARNING: Authentication scheme ntlm not supported
[Fatal Error] :7:3: The element type "BR" must be terminated by the matching 
end-tag "</BR>".
Problem parsing returned message.
com.xerox.amazonws.ec2.EC2Exception: Problem parsing returned message.
        at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:2293)
        at com.xerox.amazonws.ec2.Jec2.describeRegions(Jec2.java:1881)

What version of the product are you using? On what operating system?
TYPICA 1.7.0 , HP UX 11.23 on Itanium.

Please provide any additional information below.
In the attached code's call to setProxyValues proxyname , port number is left 
empty .

Original issue reported on code.google.com by swaru...@gmail.com on 23 Jul 2010 at 1:37

Attachments:

GoogleCodeExporter commented 9 years ago
With the new 1.7.2 Typica, i got the below error , but we donot have any 
password for the proxy that we use....

INFO: response = <HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD>
<BODY>
<FONT face="Helvetica">
<big><strong></strong></big><BR>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Access Denied (authentication_failed)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
Your credentials could not be authenticated: "Credentials required.". You will 
not be permitted access until your credentials can be verified.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
This is typically caused by an incorrect username and/or password, but could 
also be caused by network problems.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica" SIZE=2>
<BR>
For assistance, contact your network support team.
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</FONT>
</BODY></HTML>

Original comment by swaru...@gmail.com on 23 Jul 2010 at 2:34

GoogleCodeExporter commented 9 years ago
Issue resolved ... Thanks ... Please..

Original comment by swaru...@gmail.com on 26 Jul 2010 at 11:14

GoogleCodeExporter commented 9 years ago

Original comment by dkavan...@gmail.com on 29 Jul 2010 at 3:11