-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Server not found in Kerberos database" with httpclient 4.3.3 #134
Comments
I am facing same issue "KrbException: Server not found in Kerberos database (7) - Server not found in Kerberos database" Though i am using org.apache.httpcomponents:httpclient:4.5.10. JDK: 1.8 Regards, |
Hi, I have fixed it. It was actually not a Spring issue. It was due to wrong server ticket name generated due to mismatch hostname (Canonical ) on aws platform. When i was calling it using external DNS name, it was working but when i deployed the client to aws instance where the server instance also running, it was creating ticket name using internal DNS name which different than the ticket creating using external DNS name. But the server ticket stored in KDC database was generated using external DNS name of the server. After stoping generating canonical hostname problem is resolved. Thank you. |
@rajibhalder I am facing the same issue. Can u please elaborate how did you stop generating canonical hostname in the servers. |
This is related to https://bugs.java.com/bugdatabase/view_bug?bug_id=8210821 |
The current version
1.0.1.RELEASE
usesorg.apache.httpcomponents:httpclient:4.3.3
. With it, callingrestTemplate.getForObject()
results in:However, starting with
org.apache.httpcomponents:httpclient:4.4
this error is no longer thrown.As far as I can tell, this is been fixed with https://issues.apache.org/jira/browse/HTTPCLIENT-1541
The text was updated successfully, but these errors were encountered: