Issue with Siemens S7-1200 PLC connection to Event Grid

Janne Hagman 0 Reputation points
2024-10-10T07:52:38.9466667+00:00

Hi,

I'm trying to use Event Grid as an MQTT broker. I have a Siemens S7-1200 PLC which I'm trying to connect to Event Grid, but Event Grid rejects the connection.

I also have Beckhoff PLC, and with that, I have succeeded in MQTT communication with Event Grid. So, on the Event Grid side, everything should be done right.

I have also managed to make an MQTT connection working between Siemens PLC and MQTT broker in AWS IoT-Core. So the problem shouldn't be the PLC or settings in it.

I have also been in touch with Siemens support and according to them, everything should be done right on the PLC side.

In the image below are Wireshark recordings of Siemens(left) and Beckhoff (right) connection to Event Grid.

User's image

In the image below is the content of the client hello message from Siemens to Event Grid. Event Grid acknowledges this message but immediately after it terminates the connection.

User's image

I was first confused because there is TLSv1 in client hello message and thought that this was the problem as Event Grid does not support it by default. But then I got more information and if I have understood right Wireshark shows the client hello as TLSv1 because of the explanation in the image below. The actual version that Siemens uses in the handshake is 1.2 as seen in the image above.

User's image What could be the reason for Event Grid to reject the connection?

Best regards,

Janne Hagman

Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
397 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 33,231 Reputation points MVP
    2024-10-17T21:02:54.94+00:00

    Hello @Janne Hagman

    welcome to this moderated Azure community forum.

    Thanks you for the detailed explanation of the different ways (both successful and unsuccessful) used to connect to the Azure EventGrid MQTT Broker.

    Because the certificate works with the other tools mentioned and there is not that much to configure, I recommend opening a support ticket so the support team can check what is happening in the background.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.