openhab-android icon indicating copy to clipboard operation
openhab-android copied to clipboard

Does not show images via remote reverse proxy

Open sidamos opened this issue 5 years ago • 4 comments

Actual behaviour

Images are not being displayed when using a SSL reverse proxy with Basic Auth (Apache). The same images work fine when using the local URL (without reverse proxy) or the myopenhab cloud. The images also work fine behind the reverse proxy when showing the Basic UI in the Chrome browser.

Expected behaviour

Images should be displayed.

Steps to reproduce

  1. Set up reverse proxy with Apache and Basic Authentication
  2. Point the app to that remote URL

Can you reproduce the issue in demo mode?

No.

Environment data

Client

  • Android version: Pie
  • Device model: Xiaomi Redmi Note 5
  • Stock or customized ROM: Custom, Pixel Experience
  • App version : 2.5.0
  • Build flavor : Play Store
  • Device language: German

Server

  • Server version: 2.4.0
  • Reverse Proxy: Apache
  • Authentication method : Basic Auth

openHAB Cloud

N/A

Logs

App log

Can't find.

openHAB Server log

Nothing related there.

Reverse Proxy log

Insert your reverse proxy error log here.
For nginx: `/var/log/nginx/error.log`
For Apache 2: `/var/log/apache2/error.log`

Nothing related there.

Insert your reverse proxy access log here
For nginx: `/var/log/nginx/access.log`
For Apache 2: `/var/log/apache2/access.log`

Nothing related there.

sidamos avatar Feb 19 '19 07:02 sidamos

This is the entry in the sitemap:

Image item=FrontDoorCameraNestHello_Camera_SnapshotURL label="Nest Snapshot" refresh=60000

sidamos avatar Feb 19 '19 07:02 sidamos

Also happens with 2.5.14-beta.

sidamos avatar Feb 19 '19 08:02 sidamos

Do you have any interesting log messages from the reverse proxy?

mueller-ma avatar Mar 11 '19 15:03 mueller-ma

No, sorry. Could not find anything related.

sidamos avatar Mar 11 '19 20:03 sidamos

Is this still an issue?

mueller-ma avatar Mar 08 '24 15:03 mueller-ma

Sorry, I do not use this setup anymore.

sidamos avatar Apr 21 '24 08:04 sidamos