Hi Greg:

I said yesterday that I had a fix. Well after more testing my fix of using
an IP address
with the setHost call did not solve the problem. It led to more problems.
The problems
were only resolved when I either do not call setHost or call it with a null
parameter; i.e., setHost( null ).

My code base has been running smoothly with setHost( hostName ) where
hostname is the fully qualified domain name
for several years against  Jetty v9.2.1.x and most recently Jetty
v9.4.1.v20170120. The problems arose when I
upgraded to Jetty v9.4.7.v20170914 and Jetty 9.4.8.v20171121 .

I am using jetty with jdk-8u152 running under gentoo on an X86-64 PC.

My network setup is fine with the machine being accessible to all machines
on my internal network.

I am OK with using setHost(null) but I was wondering if you have any
suggestions?

thank you,

west suhanic

On Tue, Dec 12, 2017 at 2:25 PM, Greg Wilkins <[email protected]> wrote:

>
> West,
>
> Sounds like there could be some DNS resolution problems on your machine.
>
> Can you do a host lookup for "aaa,bbb.ccc" and get 192.168.20.9? from the
> command line?
> Perhaps try writing a little test main in java to check that InetAddress
> can also look up the name and resolve it.
>
> regards
>
>
> On 12 December 2017 at 20:08, west suhanic <[email protected]> wrote:
>
>> Hello:
>>
>> This is an update to my previous email.
>>
>> If I use an actual IP address in the setHost call everything works as
>> expected.
>>
>> For example:
>>
>>  ServerConnector http = new ServerConnector(server,
>>                 new HttpConnectionFactory(http_config));
>>  http.setPort(8080);
>>  http.setHost( "192.168.20.9" );
>>  http.setIdleTimeout(30000);
>>
>> works as expected when contacted using the following URL:
>>
>> http://aaa.bbb.ccc:8080/index.html
>>
>>
>> thank you,
>>
>> west suhanic
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>
>
>
> --
> Greg Wilkins <[email protected]> CTO http://webtide.com
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to