-
-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing images when using my.openhab #116
Comments
@staehler, to understand what's happening I need to have a look at your sitemaps content as it is sent to habdroid in both cases. First get http:///rest/sitemaps and there you will see the URL of your sitemap in section. Then please open this local URL and paste the contents here. After that please open https://my.openhab.org/rest/sitemaps/ and paste the contents here. |
Hi Victor, Sitefile local: Sitefile my.openhab: |
It should have been an XML? :-O |
Hmmm, that the output of my browser. Does the request need further parameter to get xml? |
|
Next try ;-) With IE Browser I've got XML formatted output.
sitefile my.openhab
Hope you can work with this output. Kind regards, Michael |
Ok, this all looks fine. Can you now check what will happen if you request one of those icons directly? For example with https://my.openhab.org/images/allesaus.png ? |
I can see this image, when I call it in the browser directly. That's Am 27.06.2015 um 13:51 schrieb belovictor:
Viele Grüße, Michael Pophal |
This is really strange. Can you get logcat from your Android device when starting the app and loading the page with missing images? |
Is there a solution to this problem? I have the exact problem, I can see the image if I adress it directly from myopenhab but does not show in the android app. Edit: logcat attached... I have 3 android devices, none getting images when connected to myopenhab, on local lan everything is ok. Everything was fine a couple of months ago... Same setup - Odroid C1, everything updated... https://www.dropbox.com/s/3dwruxwap54utp8/2015-09-09-23-12-02.txt?dl=0 Edit2: Latest updates:
Same thing, images on LAN, none using my.openhab.org. A lot of "Expired" and "Duplicare resource" on remote connect, none on LAN... Picture attached Edit3: Also tried on Windows, only Demo + Myopenhab binding, same result... Is there anyone using Myopenhab? At first I thought that it is a problem related to my particular setup but now, after 3 setups... Is Myopenhab working for someone, anyone...? Edit4: I don't know if anyoane is interested, i guess that this is not news to you, everything is ok from browser. |
I had the same issue in the Android app, and solved it by setting the remote URL to https. "openHAB Remote URL": |
Https:// doesn't solve this issue for me, unfortunately. |
same here .... |
Can anyone comment if this is still happening? |
I have had the same problem for months... and now, after reading this thread, I changed from http to https as suggesed above, and it works! Finally I have Icons again! :) Thanks @Mr-Swigg |
Did you run your remote openhab URL just with http? I would expect, that this doesn't work anyway, as it is highly unsecure. My habdroid shows no icons with openHAB remote URL https://my.openhab.org I have had the same problem for months... and now, after reading this thread, I changed from http to https as suggesed above, and it works! Finally I have Icons again! :) Thanks @Mr-Swigg You are receiving this because you were mentioned. |
Yes I used http before. It worked just fine, except for the icons. Try changing to http temporary.. or maybe to https://IP:port. Maybe it's some kind of caching problem which disappears when changing the URL. |
Did you try "clear images cache" in the android app menu? |
Yes, I did, but the behaviour didn't change. Seems, that I have to life with that :-( |
Seem to have the same issue even when using https.
The icon is shown OK in android browser when requested directly (after login) |
Guess I found the problem. It seems to be dependending on the password.
to
in file mobile/src/main/java/org/openhab/habdroid/util/MyWebImage.java (getBitmapFromUrl()) I got all images. I'm going to create a pull request for this. |
I have a similar problem. http://myopenhab.org works but dont show any icons in my Android app httpS://myopenhab.org just stays at reloading sitemap in my Android app. No content at all. When trying with my Google Nexus 9 tablet outside my home booth Url:s work. Using browser in Google Pixel phone works well with https://home.myopenhab.org/basicui.... Anyone knows about this or are using google Pixel with the app? Thanx in advance |
* Modified encoding of passwords. Loading of images failed if the password contains a line terminator. * Improved error handling in case of http response code greater or equal 400 Signed-off-by: Volker Daube <vd-github@online.de> (github: Snickermicker)
* 'master' of https://github.com/openhab/openhab.android: (31 commits) Do not start discovery service if only remote url is configured (openhab#291) Implement dynamic GCM sender ID (openhab#288) Updates gradle plugin to latest 2.4.0-alpha7 (openhab#296) Update to latest API+tools+gradle+misc. (try openhab#2) (openhab#281) set default theme to light (openhab#292) make "icon format" in settings translatable (openhab#293) Make a few strings non-translatable (openhab#277) Revert "Update to latest API+tools+gradle+misc. (openhab#268)" (openhab#280) More consistent strings (openhab#276) Update to latest API+tools+gradle+misc. (openhab#268) Bump verion for next relese (openhab#273) References openhab#117 - restore NFC functionality to Switch items (openhab#267) Add Lithuanian translation (openhab#272) Support for icons in svg format (openhab#256) Improve WebView compatibility by enabling DOM storage (openhab#266) Fix attempt at openhab#116 (openhab#262) Added Japanese translation (openhab#254) updated german translation (openhab#259) Bump version for next release. Signed-off-by: Cristian Sarac <sarac.cristian@gmaill.com> github: CristianSarac (openhab#226) ... # Conflicts: # mobile/src/main/res/values-es/strings.xml
@digitaldan : this issue can be closed as a fix has apparently been merged ? |
Does anyone still have this issue? |
No, this issue ssems to be fixed for me.
Am 5. Februar 2018 9:23:33 PM schrieb mueller-ma <notifications@github.com>:
… Does anyone still have this issue?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#116 (comment)
|
When using my.openhab on my habdroid all images disappear.
Pictures say more than words.
Connected to WLAN at home:
Connected via my.openhab:
What is going wrong? Is there a bug?
Regards, Michael
The text was updated successfully, but these errors were encountered: