After once my IOT Box has restarted, the Domain URL has completely changed. Is ther any way to fix this issue.
Present Domain URL:  192-168-50-22.4ab752d6.odoo-iot.com:8069
Required URL: http://192.168.50.22:8069
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
After once my IOT Box has restarted, the Domain URL has completely changed. Is ther any way to fix this issue.
Present Domain URL:  192-168-50-22.4ab752d6.odoo-iot.com:8069
Required URL: http://192.168.50.22:8069
It is normal.
After you registered your box in your DB the box downloaded a authenticated certificate linked to this domain.
So now you can contact the box in HTPPS secured connection.
What is the problem with this ?
Thank you for your response.
The problem is:
I have created an POST API inside the IOT BOX using driver.py
The API works for URL with http://192.168.50.22:8069/test
But after the URL is changed , the API doesn't work for this URL:
@Quentin The URL works.
Earlier what happened, I was using the IP from iot_box table from database and accessing the API using javascript. So, Javascript geeting only "192-168-50-22.xxxxxxxx.odoo-iot.com" was unable to access the API.
I have corrected the full api and now it works with HTPPS secured connection.
Image for better understanding:
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|  | 3 thg 11 22  | 6849 | ||
|  | 0 thg 10 25  | 156 | ||
|  | 2 thg 8 25  | 3716 | ||
|  | 1 thg 7 25  | 1797 | ||
|  | 1 thg 8 25  | 1153 |