Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Doesn't show anything and shows no error #82

Open
tillhanke opened this issue Jan 5, 2021 · 16 comments
Open

Doesn't show anything and shows no error #82

tillhanke opened this issue Jan 5, 2021 · 16 comments

Comments

@tillhanke
Copy link

Hi there, I just found the photoprism project and am really excited!
I was looking for a nice photo mediathek solution for a while now and this looks really promising.

I got a simple docker version running on my raspi now for testing purposes and wanted to check out the android app.
But sadly it doesnt show anything. If I use the raspi ip with the default port it does not show any photos. And even the demo server is not loading correctly. It shows grey rectangles with ! inside them and nothing more.

No error no nothing.
How could I go about finding out whats wrong here?

Thanks for your work!

@Jumn
Copy link

Jumn commented Jan 5, 2021

Same problem for me,
the web view works fine, but the mobile app doesn't display any photos

Screenshot_20210105-123127

@imjoep
Copy link

imjoep commented Jan 5, 2021

I opened the same issue on the photoprism side (photoprism/photoprism#818). They said it's because

"recently improved the security of our API by using a random preview token by default - it previously was just public, so that you could theoretically find thumbs by knowing their sha1 hash."

Said you can downgrade photoprism until the issue is resolved

@alanpt
Copy link

alanpt commented Jan 5, 2021

Same problem here. Do you know what we might lose by downgrading? And the process of downgrading photoprism in a docker?

@Grumvar
Copy link

Grumvar commented Jan 6, 2021

No need to downgrade, you can define the preview token in the photoprism configuration. The mobile app currently sends "public" as the token, if you define the following in the photoprism configuration it should work: PHOTOPRISM_PREVIEW_TOKEN: "public"

Warning: This disables the new security feature, therefore you need to remove that configuration when the photoprism app is updated.

@tillhanke
Copy link
Author

tillhanke commented Jan 6, 2021

I still cant see any previews from my server. Its just a blank page, not even the exclamation mark indicators...
Screenshot_20210106-115108

The raspi is just running in my local network under the ip 192.168.4.118
Screenshot_20210106-115331

@fingolfin
Copy link

Having the same in the iOS testflight beta app.

@jakobroehrl
Copy link

Same Problem, but if I share a picture I can see it

@thielepaul
Copy link
Owner

I pushed an update that hopefully fixes this issue (or at least the one with the previewToken)

https://github.com/photoprism/photoprism-mobile#installation

@starkayc
Copy link

I still cant see any previews from my server. Its just a blank page, not even the exclamation mark indicators...
Screenshot_20210106-115108

The raspi is just running in my local network under the ip 192.168.4.118
Screenshot_20210106-115331

Not sure if you were able to fix it already but I had the same issue but I was able to get it to load by adding http:// in front of the ip so http://192.168.1.19:2342 for me worked instead of 192.168.1.19:2342 . Hope that helped out!

@ThinkDigitalSoftware
Copy link

So happy that this is getting active development. Thanks for the fix, @starkayc. That solved my issue. We need to put a confirmation screen with a check to make sure the server URL is valid. We also need an error message on the main screen

@jakobroehrl
Copy link

Photos are shown for me with the latest app and the demo server.
But I don't see any videos

@skippa
Copy link

skippa commented Jan 23, 2021

Same issue, I've put my server IP with and without the http and port - nothing working. Server works because I can access via browser...

@esturniolo
Copy link

Same here.
I've my server in the cloud and i tried the config with and without the https with no luck.
Complete blank screen.

@skippa
Copy link

skippa commented Jan 23, 2021

Managed to get it to work - I used http and the port number eg http://xxx.xxx.xxx.xxx:2342 and selected Photoprism only under authentication. It's clearly an alpha version as it's got bugs, very promising though!

@step21
Copy link

step21 commented Feb 24, 2021

Managed to get it to work - I used http and the port number eg http://xxx.xxx.xxx.xxx:2342 and selected Photoprism only under authentication. It's clearly an alpha version as it's got bugs, very promising though!

Yeah, same. Though at least an error would be nice on not connecting. Or a messsage in logs.

@nevado
Copy link

nevado commented Mar 6, 2021

In case this helps anyone else, I just realised why mine wasn't working... you must also remove any trailing slash from the URL, i.e. http://xxx.xxx.xxx.xxx:2342 instead of http://xxx.xxx.xxx.xxx:2342/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests