Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cf-dev] CoAP Proxy unable to resolve localhost address

Hi,


were you able to resolve your issues around this?


Mit freundlichen Grüßen / Best regards

Kai Hudalla
Chief Software Architect

Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn

From: cf-dev-bounces@xxxxxxxxxxx <cf-dev-bounces@xxxxxxxxxxx> on behalf of Karlson Lee <karlson@xxxxxxxxxxxx>
Sent: Thursday, May 25, 2017 11:01
To: cf-dev@xxxxxxxxxxx
Subject: [cf-dev] CoAP Proxy unable to resolve localhost address
 

Dear Californium developers,

We are experiencing an issue where when we have only one network interface with 3 different IPv6 addresses, the HTTP to CoAP proxy doesn't work and prints the following message

Temporary failure in name resolution

We believe the issue is to do with HttpTranslator.java at line 468-472

// TODO check with multihomed hosts
InetAddress localHostAddress = InetAddress.getLocalHost();
coapRequest.setDestination(localHostAddress);

Back to the top