Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebInput en HTTPS ne marche pas ?
#8
Voila j'ai essaye avec l'alpha5 mais ca marche pas.

Si tu veux tester, voici un input de io.xml.  Avec l'url en HTTP ca marche  mais si on met HTTPS dans l'url ca marche pas (ca renvoie une string vide).

Code:
<calaos:input enabled="true" file_type="json" frequency="60000" gui_type="string_in" id="input_1000" io_type="input" name="Test json" path="total" type="WebInputString" url="https://data.public.lu/api/1/datasets/" visible="true" />

A noter que le site redirige l'url HTTP vers HTTPS donc je suis encore plus etonne que ca marche en mettant l'url HTTP et pas HTTPS.

Log avec HTTPS (journalctl -ru calaos-server):

Code:
Aug 15 23:52:44 raspberrypi calaos_server[592]: [INF] server (IOFactory.cpp:51) webinputstring: Ok
Aug 15 23:52:44 raspberrypi calaos_server[592]: [INF] input (WebInputString.cpp:72) Frequency : 60000
Aug 15 23:52:44 raspberrypi calaos_server[592]: [INF] input (WebInputString.cpp:84) Read string value :
Aug 15 23:52:44 raspberrypi calaos_server[592]: [INF] input (WebInputString.cpp:63) WebInputString::WebInputString()
Aug 15 23:52:44 raspberrypi calaos_server[592]: [INF] input (InputString.cpp:35) input_1000: Ok
Aug 15 23:52:44 raspberrypi calaos_server[592]: [INF] server (IOFactory.cpp:51) wodigital: Ok
Aug 15 23:52:44 raspberrypi calaos_server[592]: [INF] server (IOFactory.cpp:51) wodigital: Ok
  calaos-os-raspberrypi2-v3.0-alpha6-14-g341535a-2021-01-17 on Raspberry Pi 2 ▶ Wago_2.2/wago_881.pro on Wago 750-881 ▶ DS18B20 sensors on Pi GPIO ▶ Node-RED









Reply


Messages In This Thread
WebInput en HTTPS ne marche pas ? - by mifrey - 08-06-2017, 10:28 PM
RE: WebInput en HTTPS ne marche pas ? - by raoulh - 08-07-2017, 08:52 AM
RE: WebInput en HTTPS ne marche pas ? - by mifrey - 08-14-2017, 12:25 PM
RE: WebInput en HTTPS ne marche pas ? - by raoulh - 08-14-2017, 01:24 PM
RE: WebInput en HTTPS ne marche pas ? - by mifrey - 08-14-2017, 01:26 PM
RE: WebInput en HTTPS ne marche pas ? - by raoulh - 08-14-2017, 02:17 PM
RE: WebInput en HTTPS ne marche pas ? - by raoulh - 08-15-2017, 07:11 PM
RE: WebInput en HTTPS ne marche pas ? - by mifrey - 08-16-2017, 12:03 AM
RE: WebInput en HTTPS ne marche pas ? - by raoulh - 08-16-2017, 08:46 AM
RE: WebInput en HTTPS ne marche pas ? - by mifrey - 08-16-2017, 09:20 AM
RE: WebInput en HTTPS ne marche pas ? - by raoulh - 08-21-2017, 02:49 PM
RE: WebInput en HTTPS ne marche pas ? - by chafre - 09-16-2017, 01:48 PM
RE: WebInput en HTTPS ne marche pas ? - by mifrey - 08-21-2017, 05:43 PM
RE: WebInput en HTTPS ne marche pas ? - by raoulh - 08-22-2017, 02:53 PM
RE: WebInput en HTTPS ne marche pas ? - by raoulh - 09-20-2017, 03:53 PM
RE: WebInput en HTTPS ne marche pas ? - by chafre - 09-20-2017, 04:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)