There is only 1 docker host with 2 containers:
OpenDXL broker (version 4.0.0.393) with run command:
docker run --restart=always -d --name opendxl-broker --network myBridge -p 8443:8443 -p 8883:8883 -v /var/lib/opendxl/opendxl-broker:/dxlbroker-volume
The second contain uses currently using python:2.7.15-stretch (using OpenSSL 1.1.0f) as the parent image (though i have also tried an alpine image and installed Python 2.7.15 via apk that used LibreSSL). My python image is built with the certs installed on it and hardcoded to use "opendxl-broker" as the broker address. The certs were created using the opendxl broker's webapp at 8443.
docker run --name myPythonClient --network myBridge -v /var/log:/var/log -p 127.0.0.1:9999:9999 -d myPythonImage
myBridge:
[
{
"Name": "myBridge",
"Id": "d3c88570fdcf6db3772673f40b04743b783ce1615efe2e366fb0ada97af1c059",
"Created": "2018-10-22T01:01:11.55120541-07:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": {},
"Config": [ { "Subnet": "172.18.0.0/16", "Gateway": "172.18.0.1" } ]
},
"Internal": false,
"Attachable": false,
"Containers": {
"52a67298e72d2d230060cf506da2e252978ff22458e3b4761aad5fa9185e0b59": {
"Name": "opendxl-broker",
"EndpointID": "c4cb50d07fcc8fae9ed2c1c7dc60e8d81261e5766ebd793c5413c2f0e0c665b3",
"MacAddress": "02:42:ac:12:00:02",
"IPv4Address": "172.18.0.2/16",
"IPv6Address": ""
},
"52faf4311d655e77c8524affc56ee25a74cb9e96cb51c51cb828eeec51137406": {
"Name": "myPythonImage",
"EndpointID": "b4083be255774a33dbc60002a2fd472555329fc939f57b135fbcc4f0a87e578f",
"MacAddress": "02:42:ac:12:00:04",
"IPv4Address": "172.18.0.4/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {}
}
]
On startup the first thing my script is doing with the python client is connecting to the broker and then registering 4-5 services. It connects and then sometimes registers 1 or 2 of the services before getting stuck because it never receives a response from the broker, though im not entirely sure the broker is receiving the original message that it doesn't respond to.