B4X FEED [SOLVED] Connecting to Moqsuitto MQTT Broker-Server with Credentials/SSL Strange Problem !

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [SOLVED] Connecting to Moqsuitto MQTT Broker-Server with Credentials\/SSL Strange Problem ! است. این موضوع تا کنون 43 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [SOLVED] Connecting to Moqsuitto MQTT Broker-Server with Credentials\/SSL Strange Problem !
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
43
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi there...

Well I have a very very strange problem...

First of all - I am using the same code to connect at 3rd party server having "Credentials" and "SSL" (the same way - with lets encrypt). Works at debug/release and standalone package perfect.

1) I ve installed at my Debian VPS server a mosquitto broker 3.1/v3.1.1 as saying... not allowing anonymous !, created ssl for it, opened firewall port added a text file with usernames, passwords

2) I am connecting from B4J ide when running my project... succesfully... debug / release mode

3) but when I am trying from standalone package exe or debug.bat (at my server)... can;t connect like username/password are not right... the only way to connected is when enanbling anonymous access from server side...

Any IDEA?

Here the screenshot from IDE:
برای دیدن تصاویر باید ثبت نام کنید


from_debug.bat
برای دیدن تصاویر باید ثبت نام کنید


using those libs:
برای دیدن تصاویر باید ثبت نام کنید


I am uploading also the project (MQTTstrange.zip) ... but the strange problem is only at my server... not at...



 

عقب
بالا