Re: How Do I Set SNI(Server Name Indentification)

2023-08-12 Thread Petar Tahchiev
onnectionManager] > ep-01 connected c-00 > 2023-08-12 11:11:54,168 DEBUG > [httpclient-dispatch-1][org.apache.hc.client5.http.impl.async.InternalHttpAsyncClient] > ep-01 endpoint connected > 2023-08-12 11:11:54,168 DEBUG > [httpclient-dispatch-1][o

Re: How Do I Set SNI(Server Name Indentification)

2023-08-11 Thread Petar Tahchiev
terChain. > > doFilter(FilterChainProxy.java:361) > > at > > org.springframework.security.web.context.request.async.WebAsyncManage > > rIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter. > > java:62) > > at > > org.springframework.web.filter.O

Re: How Do I Set SNI(Server Name Indentification)

2023-08-11 Thread Petar Tahchiev
util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833) = На пт, 11.08.2023 г. в 10:58 ч. Oleg Kalnichevski написа: > On Thu, 2023-08-10 at 22:

Re: How Do I Set SNI(Server Name Indentification)

2023-08-10 Thread Petar Tahchiev
to be about.) > > Jochen > > On Thu, Aug 10, 2023 at 9:41 PM Petar Tahchiev > wrote: > > > > Hmm, > > > > I tried now setting the Host header: > > > > > > httpGet.setHeader("Host", "localhost"); > > >

Re: How Do I Set SNI(Server Name Indentification)

2023-08-10 Thread Petar Tahchiev
Hmm, I tried now setting the Host header: httpGet.setHeader("Host", "localhost"); yet tomcat still logs null for SNI На чт, 10.08.2023 г. в 22:21 ч. Jochen Wiedmann написа: > On Thu, Aug 10, 2023 at 9:14 PM Petar Tahchiev > wrote: > > > I found this gi

How Do I Set SNI(Server Name Indentification)

2023-08-10 Thread Petar Tahchiev
Hello, I am facing a very weird issue. I have a project that uses HttpClient4 to make a simple GET request to Apache Tomcat. It was all working fine. Now I need to upgrade to HttpClient5. I managed to upgrade very easy - just a small package renames. However when I make the same request the

Re: org.apache.hc.core5.http.NoHttpResponseException: localhost:8112 failed to respond

2019-07-29 Thread Petar Tahchiev
he exception happens after the httpClient shutdown on this line: SimpleHttpResponse response = future.get(); На пн, 29.07.2019 г. в 14:57 ч. Petar Tahchiev написа: > Thank you Oleg, > it worked :). However now, once in a while I get this type of error: >

Re: org.apache.hc.core5.http.NoHttpResponseException: localhost:8112 failed to respond

2019-07-29 Thread Petar Tahchiev
sometimes. На пн, 22.07.2019 г. в 12:43 ч. Oleg Kalnichevski написа: > On Mon, 2019-07-22 at 12:29 +0300, Petar Tahchiev wrote: > > Hello, > > I have a Tomcat server running on port 8112 via HTTPS. The Tomcat has > > http2 > > enabled and is running with OpenJDK11. &g

org.apache.hc.core5.http.NoHttpResponseException: localhost:8112 failed to respond

2019-07-22 Thread Petar Tahchiev
Hello, I have a Tomcat server running on port 8112 via HTTPS. The Tomcat has http2 enabled and is running with OpenJDK11. Now when I try to connect with HTTPClient 5.0-beta5 I get this exception: === 2019-07-22 12:22:57,699 [https-jsse-nio-8443-exec-2] INFO : Recoverable I/O