Gwaihir schreef op maandag 27 december 2021 @ 12:59:
@
hill2button Gen1 doet zelf geen https inderdaad. Maar m.b.t. de webinterface had je dat al met succes met je reverse proxy opgelost, begrijp ik. Lijkt me dat het met de app dan ook wel moet kunnen. Misschien gaat die (bijv.) anders met de benodigde certificaten om? (Typisch iets waar ik voor op loxforum zou gaan zoeken, trouwens.)
Na je tip ben ik wat gaan zoeken op loxforum en daar tip gevonden om MS opnieuw in te stellen id app via handmatige entry vh externe adres met https. En dat werkte wél! Tijdelijk hoera!
Tijdelijk, want... Quick Actions werken nog steeds niet: werken NIET met VPN en NIET met reverse proxy HTTPS, maar dus WEL met reverse proxy HTTP-HTTP. Ik ga een case loggen bij Loxone, want dat lijkt mij niet te kloppen. Zou het iets kunnen zijn met MTU size?
Case omschrijving:
I may have found a bug related to Loxone + Apple Watch + Quick Actions + HTTPS/VPN.
My setup:
Iphone 12 PRO with iOS 15.2
Apple Watch 7 software version 8.3
Loxone Gen1 MiniServer 12.2.11.5
Synology NAS with DSM v7
Goal: Use Quick Actions on the Apple Watch, both with internal connection (home Wi-Fi) and external connection (4G/LTE). No problems with Quick Actions on Apple Watch as long as Iphone is connected to home Wi-Fi.
Scenario 1:
OpenVPN app on Iphone, full tunnel (all traffic through tunnel). Loxone iOS app connects internal, through the VPN tunnel.
Results:
- Everything works in the iOS app on Iphone, including quick actions
- Quick Actions do not work on the Apple Watch
Scenario 2:
No VPN, but HTTPS to HTTP reverse proxy using the Synology NAS as reverse proxy. iOS app connects HTTPS, Miniserver receives HTTP.
Results:
- Everything works in the iOS app on Iphone, including quick actions
- Quick Actions do not work on the Apple Watch
Scenario 3:
No VPN, but HTTP to HTTP reverse proxy using the Synology NAS as reverse proxy. iOS app connects HTTP.
Results:
- Everything works in the iOS app on Iphone, including quick actions
- Quick actions work PERFECTLY on the Apple Watch, even when connected to 4G/LTE
Possible conclusion: there is an issue with Quick Actions on the Apple Watch if a VPN tunnel or HTTPS is used. When HTTP is used, everything works fine. Is this an issue only with Gen1 MS + reverse proxy, or does this issue also happen when using a Gen2 MS and HTTPS? It seems to me the app is the one talking HTTPS, so I would guess this issue also exists on the Gen2 MS?