Can I use MQTTS ???
已完成Can I use MQTTS ???
Im testing and from the RC is not able to connect to cloud:
but If I connect the Dock it connects no problem with the ssl://
-
The logs taken from the Pilot device, showing the successful establishment of the cloud connection in insecure case and the non-successful establishment in the secure case. Highly obfuscated (replacing domain and user/password), but otherwise their traces.
The process is stuck in secure case. No errors, but also no success. The insecure case is a mix of secure and insecure. All is secured, except the MQTT connection from the H5 plugin to the platform.
Insecure MQTT, port 1883:
```
====== Device Info ======
manufacture:DJI
product:rm510
model:DJI RC Pro Enterprise
version:V80.05.00.11 release-keys
android version:10
======== App Info ========
app version:9.0.5.31
==========================[d][16:03:00.629]: start component module api param : {"host":"https://server.domain.com/","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjIiLCJuYmYiOjE3MDgzNTgyOTYsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJiZTdjNmMzZC1hZmU5LTRiZTQtYjllYi1jNTUwNjZjMDkxNGUiLCJleHAiOjE3MDg0NDQ2OTYsImlhdCI6MTcwODM1ODI5NiwidXNlcm5hbWUiOiJwaWxvdHZ4In0.ZqnU0FFtxIktIh7tnqitAqQLRG94PPbkbuPZFhL33H0"}
[d][16:03:00.631]: start component module ws param : {"connectCallback":"wsConnectCallback","host":"wss://server.comain.com/api/v1/ws","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjIiLCJuYmYiOjE3MDgzNTgyOTYsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJiZTdjNmMzZC1hZmU5LTRiZTQtYjllYi1jNTUwNjZjMDkxNGUiLCJleHAiOjE3MDg0NDQ2OTYsImlhdCI6MTcwODM1ODI5NiwidXNlcm5hbWUiOiJwaWxvdHZ4In0.ZqnU0FFtxIktIh7tnqitAqQLRG94PPbkbuPZFhL33H0","topicCallbacks":{}}
[d][16:03:00.634]: start component module mission param : {}
[d][16:03:00.638]: start component module tsa param : {}
[d][16:03:00.643]: start component module liveshare param : {"statusCallback":"liveStatusCallback","videoPublishType":"video-demand-aux-manual"}
[d][16:03:00.646]: start component module media param : {"autoUploadPhoto":true,"autoUploadVideo":true,"uploadPhotoType":0}
[d][16:03:00.648]: start component module thing param : {"connectCallback":"connectCallback","host":"tcp://mqtt.domain.com:1883","password":"mypassword","username":"my username"}
[d][16:03:00.649]: start component module map param : {"elementPreName":"PILOT","userName":"myusername"}
```Secure MQTTS, port 8883:
```
====== Device Info ======
manufacture:DJI
product:rm510
model:DJI RC Pro Enterprise
version:V80.05.00.11 release-keys
android version:10
======== App Info ========
app version:9.0.5.31
==========================[d][16:49:19.713]: start component module api param : {"host":"https://server.domain.com/","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjIiLCJuYmYiOjE3MDg0NjU3MDMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJiZTdjNmMzZC1hZmU5LTRiZTQtYjllYi1jNTUwNjZjMDkxNGUiLCJleHAiOjE3MDg1NTIxMDMsImlhdCI6MTcwODQ2NTcwMywidXNlcm5hbWUiOiJwaWxvdHZ4In0.RY1c3Wnmrn0BWTfsKZdf7QDQbMr5YxAS3grX4R3ICU0"}
[d][16:49:19.715]: start component module thing param : {"connectCallback":"connectCallback","host":"ssl://mqtt.domain.com:8883","password":"mypassword","username":"myusername"}
[d][16:49:34.952]: setPlatformMessage Cloud Api Platform
[d][16:49:40.866]: setPlatformMessage Cloud Api Platform
[d][16:49:41.078]: start component module api param : {"host":"https://server.domain.com/","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjIiLCJuYmYiOjE3MDg0NjU3ODMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJiZTdjNmMzZC1hZmU5LTRiZTQtYjllYi1jNTUwNjZjMDkxNGUiLCJleHAiOjE3MDg1NTIxODMsImlhdCI6MTcwODQ2NTc4MywidXNlcm5hbWUiOiJwaWxvdHZ4In0.CWVwu7RRHsLWlfcQyyTJTZV7FSqRuBhla4P33Fzqf0Y"}
[d][16:49:41.080]: {"host":"https://server.domain.com/","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjIiLCJuYmYiOjE3MDg0NjU3ODMsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJiZTdjNmMzZC1hZmU5LTRiZTQtYjllYi1jNTUwNjZjMDkxNGUiLCJleHAiOjE3MDg1NTIxODMsImlhdCI6MTcwODQ2NTc4MywidXNlcm5hbWUiOiJwaWxvdHZ4In0.CWVwu7RRHsLWlfcQyyTJTZV7FSqRuBhla4P33Fzqf0Y"}
[d][16:49:41.336]: setPlatformMessage Cloud Api Platform Test Group One Cloud Sample Test Platform
[d][16:49:41.339]: setWorkspaceId e3dea0f5-37f2-4d79-ae58-490af3228069
[d][16:49:41.515]: start component module thing param : {"host":"ssl://mqtt.domain.com:8883","username":"myusername","password":"mypassword","connectCallback":"connectCallback"}
[d][16:49:59.835]: setPlatformMessage Cloud Api Platform
[d][16:50:54.312]: start component module api param : {"host":"https://server.domain.com/","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjIiLCJuYmYiOjE3MDg0NjU4NTcsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJiZTdjNmMzZC1hZmU5LTRiZTQtYjllYi1jNTUwNjZjMDkxNGUiLCJleHAiOjE3MDg1NTIyNTcsImlhdCI6MTcwODQ2NTg1NywidXNlcm5hbWUiOiJwaWxvdHZ4In0.3EreU5FEdopmoOgi_CXRsOsnUHW4nEvRSGAiajrTk2w"}
[d][16:50:54.315]: {"host":"https://server.domain.com/","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3b3Jrc3BhY2VfaWQiOiJlM2RlYTBmNS0zN2YyLTRkNzktYWU1OC00OTBhZjMyMjgwNjkiLCJzdWIiOiJDbG91ZEFwaVNhbXBsZSIsInVzZXJfdHlwZSI6IjIiLCJuYmYiOjE3MDg0NjU4NTcsImxvZyI6IkxvZ2dlcltjb20uZGppLnNhbXBsZS5jb21tb24ubW9kZWwuQ3VzdG9tQ2xhaW1dIiwiaXNzIjoiREpJIiwiaWQiOiJiZTdjNmMzZC1hZmU5LTRiZTQtYjllYi1jNTUwNjZjMDkxNGUiLCJleHAiOjE3MDg1NTIyNTcsImlhdCI6MTcwODQ2NTg1NywidXNlcm5hbWUiOiJwaWxvdHZ4In0.3EreU5FEdopmoOgi_CXRsOsnUHW4nEvRSGAiajrTk2w"}
[d][16:50:54.839]: start component module thing param : {"host":"ssl://mqtt.domain.com:8883","username":"myusername","password":"mypassword","connectCallback":"connectCallback"}
[d][16:50:54.849]: setPlatformMessage Cloud Api Platform Test Group One Cloud Sample Test Platform
[d][16:50:54.850]: setWorkspaceId e3dea0f5-37f2-4d79-ae58-490af3228069
[d][16:50:58.353]: start component module thing param : {"connectCallback":"connectCallback","host":"ssl://mqtt.domain.com:8883","password":"mypassword","username":"myusername"}
[d][16:51:03.647]: start component module thing param : {"connectCallback":"connectCallback","host":"ssl://mqtt.domain.com:8883","password":"mypassword","username":"myusername"}
[d][16:51:13.416]: start component module thing param : {"connectCallback":"connectCallback","host":"ssl://mqtt.domain.com:8883","password":"mypassword","username":"myusername"}
[d][16:51:23.908]: start component module thing param : {"connectCallback":"connectCallback","host":"ssl://mqtt.domain.com:8883","password":"mypassword","username":"myusername"}
[d][16:51:24.317]: start component module thing param : {"connectCallback":"connectCallback","host":"ssl://mqtt.domain.com:8883","password":"mypassword","username":"myusername"}```
-
I apologize for any inconvenience. After consulting with our relevant team members, we can confirm that as long as you are using a GoDaddy certificate and ensuring the configuration information is accurate, establishing a connection should be possible. We recommend you first check to see if your cloud-based GoDaddy certificate configuration is indeed correct. Additionally, we're also conveying your need to our colleagues, suggesting they provide a diagnostic tool that could help identify and troubleshoot issues related to incorrect cloud certificate configurations.
请先登录再写评论。
评论
7 条评论