I have just created the new
Installed mqtt on the linux, but can not connect to HiveMq. Tried command is in the GettingStarted part…
mqtt sub -h a78xxxxxxx.s1.eu.hivemq.cloud -p 8883 -s -u TxxxxxTdevice2 -pw -t ‘my/test/topic’
Enter value for --password (The password for authentication):
Client ‘UNKNOWN@a78xxxxxxx.s1.eu.hivemq.cloud’ sending CONNECT MqttConnect{keepAlive=60, cleanStart=true, sessionExpiryInterval=0, simpleAuth=MqttSimpleAuth{username and password}}
Client ‘UNKNOWN@a78xxxxxxxx.s1.eu.hivemq.cloud’ DISCONNECTED finishConnect(…) failed: Connection refused
finishConnect(…) failed: Connection refused: a788bxxxxxxx.s1.eu.hivemq.cloud/54.73.92.158:8883
I got TCP reset back…
13:04:13.087618 IP (tos 0x0, ttl 64, id 48360, offset 0, flags [DF], proto TCP (6), length 60)
ubuntu2002-4.43684 > ec2-54-73-92-158.eu-west-1.compute.amazonaws.com.8883: Flags [S], cksum 0xb6cc (incorrect → 0x40d5), seq 4219484363, win 64240, options [mss 1460,sackOK,TS val 3809767651 ecr 0,nop,wscale 7], length 0
13:04:13.088295 IP (tos 0x0, ttl 252, id 42886, offset 0, flags [none], proto TCP (6), length 40)
ec2-54-73-92-158.eu-west-1.compute.amazonaws.com.8883 > ubuntu2002-4.43684: Flags [R.], cksum 0xfc9c (correct), seq 0, ack 4219484364, win 64240, length 0
What could be the issue?