Thanks again for the feedback. Sadly my counterpart in AWS is not available today so I cannot check the ACLs. I set the logging level to trace as suggested, but I’m not sure I can make a lot out of the logs here. I post these as code since they might be able to copy and I’m not allowed more than one screenshot.
TransmissionClient 11Mar2024 10:43:26
[xxx_xxxx_xxx_data/ignition_test][yyy_yyyy_yyyyyyyy_yyyy] Failed to achieve connected state
TransmissionClient 11Mar2024 10:43:26
Attempting disconnect iot_core_URL:8883 :: yyy_yyyy_yyyyyyyy_yyyy with sendDisconnect=false, publishLwt=true, waitForLwt=false, resetForceTagScan=false
TransmissionClient 11Mar2024 10:43:26
[xxx_xxxx_xxx_data/ignition_test][yyy_yyyy_yyyyyyyy_yyyy] No longer attempting to connect
TransmissionClient 11Mar2024 10:43:26
[xxx_xxxx_xxx_data/ignition_test][yyy_yyyy_yyyyyyyy_yyyy] Attempting to disconnect from target server
TransmissionClient 11Mar2024 10:43:26
[xxx_xxxx_xxx_data/ignition_test][yyy_yyyy_yyyyyyyy_yyyy] is not attempting to connect
ClientsManager 11Mar2024 10:43:25
return getFieldvalue: 0 of 1
TransmissionClient 11Mar2024 10:43:25
[xxx_xxxx_xxx_data/ignition_test][yyy_yyyy_yyyyyyyy_yyyy] Attempting to connect
TransmissionClient 11Mar2024 10:43:25
[xxx_xxxx_xxx_data/ignition_test][yyy_yyyy_yyyyyyyy_yyyy] is attempting to connect
TransmissionClient 11Mar2024 10:43:25
Total timeout to connect is 50 seconds
TransmissionClient 11Mar2024 10:43:25
Setting Transmission client's connection retry interval to 1000 milliseconds
TransmissionClient 11Mar2024 10:43:25
[xxx_xxxx_xxx_data/ignition_test][] Not connected - attempting connect with isStayRunning=true
SparkplugTransmissionClient 11Mar2024 10:43:25
Creating new SparkplugMqttCallback
SparkplugTransmissionClient 11Mar2024 10:43:25
Shutting down old MQTT callback
TransmissionClient 11Mar2024 10:43:25
Trying to connect to target MQTT server 'New Mqtt Server' at index 0 now.
TransmissionClient 11Mar2024 10:43:25
Setting Transmission Info/Transmitters/Example Transmitter/Edge Nodes/xxx_xxxx_xxx_data/ignition_test/MQTT Client/ to OFFLINE
TransmissionClient 11Mar2024 10:43:25
Transmission Client 'xxx_xxxx_xxx_data/ignition_test' has gone offline
TransmissionClientManager 11Mar2024 10:43:25
onPayload - publishing: spBv1.0/xxx_xxxx_xxx_data/NDATA/ignition_test with payload: SparkplugBPayload [timestamp=1710150205365, metrics=[Metric [name=Ramp_to_20, alias=null, timestamp=1710150202917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=2, isNull=false], Metric [name=Ramp_to_10, alias=null, timestamp=1710150202967, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=2, isNull=false], Metric [name=Ramp_to_20, alias=null, timestamp=1710150203917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=3, isNull=false], Metric [name=Ramp_to_10, alias=null, timestamp=1710150203966, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=3, isNull=false], Metric [name=Ramp_to_20, alias=null, timestamp=1710150204917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=4, isNull=false], Metric [name=Ramp_to_10, alias=null, timestamp=1710150204966, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=4, isNull=false]], seq=null, uuid=null, body=null]
TransmissionClient 11Mar2024 10:43:24
Storing history on topic=spBv1.0/xxx_xxxx_xxx_data/NDATA/ignition_test with payload: SparkplugBPayload [timestamp=1710150202356, metrics=[Metric [name=Ramp_to_20, alias=null, timestamp=1710150199917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=19, isNull=false], Metric [name=Ramp_to_10, alias=null, timestamp=1710150199966, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=9, isNull=false], Metric [name=Ramp_to_20, alias=null, timestamp=1710150200917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=0, isNull=false], Metric [name=Ramp_to_10, alias=null, timestamp=1710150200967, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=0, isNull=false], Metric [name=Ramp_to_20, alias=null, timestamp=1710150201917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=1, isNull=false], Metric [name=Ramp_to_10, alias=null, timestamp=1710150201966, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=1, isNull=false]], seq=null, uuid=null, body=null]
TransmissionClient 11Mar2024 10:43:24
Setting Transmission Info/Transmitters/Example Transmitter/Edge Nodes/xxx_xxxx_xxx_data/ignition_test/MQTT Client/ to OFFLINE
TransmissionClient 11Mar2024 10:43:24
Transmission Client 'xxx_xxxx_xxx_data/ignition_test' has gone offline
TransmissionClient 11Mar2024 10:43:24
[xxx_xxxx_xxx_data/ignition_test][] Attempting to disconnect from target server
TransmissionClient 11Mar2024 10:43:24
With metric: Metric [name=Ramp_to_10, alias=null, timestamp=1710150201966, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=1, isNull=false]
TransmissionClient 11Mar2024 10:43:24
With metric: Metric [name=Ramp_to_20, alias=null, timestamp=1710150201917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=1, isNull=false]
TransmissionClient 11Mar2024 10:43:24
With metric: Metric [name=Ramp_to_10, alias=null, timestamp=1710150200967, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=0, isNull=false]
TransmissionClient 11Mar2024 10:43:24
With metric: Metric [name=Ramp_to_20, alias=null, timestamp=1710150200917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=0, isNull=false]
TransmissionClient 11Mar2024 10:43:24
With metric: Metric [name=Ramp_to_10, alias=null, timestamp=1710150199966, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=9, isNull=false]
TransmissionClient 11Mar2024 10:43:24
With metric: Metric [name=Ramp_to_20, alias=null, timestamp=1710150199917, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=19, isNull=false]
TransmissionClient 11Mar2024 10:43:24
Storing publish task for spBv1.0/xxx_xxxx_xxx_data/NDATA/ignition_test
TransmissionClient 11Mar2024 10:43:24
publishPayload for xxx_xxxx_xxx_data/ignition_test: globalInOrderFlushingActive = false
TransmissionClient 11Mar2024 10:43:24
publishPayload: isConnectedToPrimaryHost() = false
TransmissionClient 11Mar2024 10:43:24
publishPayload: isConnected() = false
TransmissionClient 11Mar2024 10:43:24
publishPayload: birthBuildInProgress = false
TransmissionClient 11Mar2024 10:43:24
Clearing client yyy_yyyy_yyyyyyyy_yyyy
TransmissionClient 11Mar2024 10:43:24
Successfully disconnected iot_core_URL:8883 :: yyy_yyyy_yyyyyyyy_yyyy
TransmissionClient 11Mar2024 10:43:24
Setting Transmission Info/Transmitters/Example Transmitter/Edge Nodes/xxx_xxxx_xxx_data/ignition_test/MQTT Client/ to OFFLINE
TransmissionClient 11Mar2024 10:43:24
Transmission Client 'xxx_xxxx_xxx_data/ignition_test' has gone offline
ClientsManager 11Mar2024 10:43:23
return getFieldvalue: 0 of 1
The exception for the disconnect on the Tahu client is still the EOFException presenet in the first post of this thread.
org.eclipse.paho.client.mqttv3.MqttException: Connection lost
at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:197)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: null
at java.base/java.io.DataInputStream.readByte(Unknown Source)
at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:92)
at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:137)
... 1 common frames omitted
The only additional thing I can see in the logs is the client trying to set a will on NDEATH when disconnecting.
TahuClient 11Mar2024 10:47:23
xxx_xxxx_xxx_xxxx: Setting WILL on spBv1.0/xxx_xxxx_xxx_data/NDEATH/ignition_test with retain false
I will try to get a hold of the ACLs as soon as possible. Anyway, if you confirm me that even custom namespaces can be used in IoT Core without issue, then I know my problem resides somewhere in the access side and I will focus there with my AWS counterpart.
Once again, thanks for the support, have a great week.