Hi,
We received the following error in the application server when implementing a Fuota deployment. We could initiate deployment from Fuota server to application server, however the deployment failed when sending back response from application server to Fuota server. The problem seems to be generated from the configuration of event handler.
Can anyone give us some suggestions?
Logs in Application server
dev_eui=5d118f324dc9737c error="http request error: Post “http://172.20.0.3:8091?event=up": dial tcp 172.20.0.3:8091: connect: connection refused” event_type=up url="http://172.20.0.3:8091?event=up"
We run Fuota with docker container, 172.20.0.3 is the ip of docker container of Fuota server, and our Fuota server is running on port 8091.
Our application server HTTP integration setting:
End points http://172.20.0.3:8091
We also tried: http://localhost:8091, http://server ip:8091
Fuota server configuration:
[application_server.event_handler.http]
# IP:Port to bind the event handler server to.
bind=“localhost:8091”
Docker container network setting:
“8091/tcp”: [
{
“HostIp”: “0.0.0.0”,
“HostPort”: “8091”
},
{
“HostIp”: “::”,
“HostPort”: “8091”
}
Thank you!