You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have simple API on AWS ECS (using EC2, ARM64).
I want to connect to the sample broker which is shown as an example in the MQTTnet documentation however I always get a timeout.
All secutity groups and load balancers are set to accept any traffic.
I'm using this sample:
var mqttFactory = new MqttFactory();
using (var mqttClient = mqttFactory.CreateMqttClient())
{
var mqttClientOptions = new MqttClientOptionsBuilder().WithTcpServer("broker.hivemq.com").Build();
await mqttClient.ConnectAsync(mqttClientOptions, CancellationToken.None);
// always timeout
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have simple API on AWS ECS (using EC2, ARM64).
I want to connect to the sample broker which is shown as an example in the MQTTnet documentation however I always get a timeout.
All secutity groups and load balancers are set to accept any traffic.
I'm using this sample:
Enabled locally, of course, it works well.
Please give me some advices.
Beta Was this translation helpful? Give feedback.
All reactions