On the TPX User Interface (TPX-UI), in the event panel, you could can see this type of error message:
{
"errorDescription": "org.apache.qpid.proton.engine.TransportException: connection aborted" ,
"errorCode": "amqp:connection:framing-error"
}
This «framing-error » appears every time you are trying to restart your IoT Hub connector instance.
We facing to an AMQP authentication issue using SASL and PLAIN authentication mechanism.
On a regular AMQP, when we are doing the authentication, we are having this kind of dialog :
Request done by Actility:
AzureProtocolTracer : Reactor -> SASL
AzureProtocolTracer : Reactor -> SaslInit{mechanism=PLAIN, initialResponse=\ x00actility-service@SAS.root.actility -prod\x00SharedAccessSignature sig=ybUR7%2FVaa1hK2FOSPinoQmHofdBbaP%3D&se=1694711564&skn=actility-service&sr= actility-prod.azure-devices.net , hostname='null'}
Response from Azure:
AzureProtocolTracer : Reactor <- SASL
AzureProtocolTracer : Reactor <- SaslMechanisms{saslServerMechanisms=[EXTERNAL, MSSBCBS, ANONYMOUS, PLAIN]}
AzureProtocolTracer : Reactor <- SaslOutcome{_code=OK, _additionalData=Welcome!}
If we use wrong credentials the (normal) response is:
Response from Azure with a wrong password:
AzureProtocolTracer : Reactor <- SASL
AzureProtocolTracer : Reactor <- SaslMechanisms{saslServerMechanisms=[EXTERNAL, MSSBCBS, ANONYMOUS, PLAIN]}
AzureProtocolTracer : Reactor <- SaslOutcome{_code=SYS, _additionalData=null}
however in our case we observe the following:
Response from Azure:
AzureProtocolTracer : Reactor <- SASL
AzureProtocolTracer : Reactor <- SaslMechanisms{saslServerMechanisms=[EXTERNAL, MSSBCBS, ANONYMOUS, PLAIN]}
The answer is truncated, we never receive the expected last lines of the response.
This causes an unrecoverable error for the IoT Hub client: Actility ThingPark Enterprise displays "amqp:connection:framing-error"