Home
Categories
Categories:
All Categories
Search...
Suggested keywords
Search
x
Search
New
cloudamqp.com MQTT don't connect ( #disconnected )
General
Anonymous User
Thursday, 25 June 2020
2
Replies
2.5K Visits
Subscribe
I'm trying to connect to cloudamqp, but didn't connect, with or without TLS, need change anything else ?
txtHost.text := 'prawn.rmq.cloudamqp.com';
//txtHost.text := '18.231.143.44';
txtDefaultPort.text := '1883';
txtSSLPort.text := '8883';
chkTLS.Checked := True;
WSClient.Options.Parameters := '';
MQTT.Authentication.Enabled := True;
MQTT.Authentication.UserName := '****';
MQTT.Authentication.Password := '****';
Port 1883:
#disconnected
#exception:Connection Closed Gracefully.
Port 8883: (TLS)
#disconnected
Thanks !!
Oldest First
Newest First
Oldest First
Admin
4 years ago
·
#445
Hello,
Most probably the port 1883 is not using websocket as protocol, instead try to connect using plain TCP protocol, just set RFC6455 property to false before connect
WSClient.Specifications.RFC6455 := False;
Kind Regards,
Sergio
Nelson Kameda
4 years ago
·
#446
Thanks, working perfect !
Page :
1
There are no replies made for this post yet.
Submit Your Response
Post this reply anonymously so that others would not be able to see your name.
Write
Preview
Attachments
Links
Upload files or images for this discussion by clicking on the upload button below.
Supported:
gif,jpg,png,jpeg,zip,rar,pdf,pas,dfm,dpr,dproj,dpk
· Insert
· Remove
Upload Files
(Maximum 10MB)
Cite your Sources with a URL link to help readers verify facts or find more details.
x
Add Another Link
Reply