You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The picture uploaded with the post should be publicly visible.
Actual behavior
The post is available in the fediverse, but only the text is shown. If on the social section of the Nextcloud instance of origin, a broken image icon is shown. If trying to navigate to the image URL, you get prompted to log into the instance. The image is only visible if logged in (with any account). Maybe a permissions problem? (See browser logs)
(when going to the Nextcloud instance of origin without being logged in)
15974218013152811736:1 GET https://nextcloud.paoloap.ml/apps/social/document/get/resized?id=https://nextcloud.paoloap.ml/documents/local/f0d0eb9d-7566-4cbc-ab8c-91c8328412b6 401
15974218013152811736:1 GET https://nextcloud.paoloap.ml/avatar/tachi/32 404
social.js:190 GET https://nextcloud.paoloap.ml/apps/social/local/v1/post/replies?id=https://nextcloud.paoloap.ml/apps/social/@tachi/15974218013152811736&limit=5&since=1597430810 401
(anonymous) @ social.js:190
t.exports @ social.js:190
t.exports @ social.js:210
0.be8422e7b97e6802dd44.js:1 Failed to load more timeline entries Error: Request failed with status code 401
at t.exports (social.js:190)
at t.exports (social.js:210)
at XMLHttpRequest.f.onreadystatechange (social.js:190)
(anonymous) @ 0.be8422e7b97e6802dd44.js:1
It really looks like Nextcloud is blocking the access to this images for security measures; it would be bad if everybody knowing just the URL of the picture could see it. Unfortunately, this breaks a lot of Social's functionalities. How could we grant access to this resources without compromising the security of the instance?
The text was updated successfully, but these errors were encountered:
Describe the bug
Posted pictures do not load.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The picture uploaded with the post should be publicly visible.
Actual behavior
The post is available in the fediverse, but only the text is shown. If on the social section of the Nextcloud instance of origin, a broken image icon is shown. If trying to navigate to the image URL, you get prompted to log into the instance. The image is only visible if logged in (with any account). Maybe a permissions problem? (See browser logs)
Screenshots
How the post appears on the fediverse: https://imgur.com/p4EzSxi.png
How the post appears on the Nextcloud instance of origin when not logged in: https://imgur.com/3BnFYkx.png
How the post appears on the Nextcloud instance of origin when logged in: https://imgur.com/ELFnjRR.png
Client details:
Server details
**Social app version:** 0.3.1Operating system:
Debian 10
Web server:
Nginx 18
Database:
PostgreSQL 12
PHP version:
PHP-FPM 7.3
Nextcloud version:
19
Logs
Nextcloud log (data/nextcloud.log)
Browser log
(when going to the Nextcloud instance of origin without being logged in)
It really looks like Nextcloud is blocking the access to this images for security measures; it would be bad if everybody knowing just the URL of the picture could see it. Unfortunately, this breaks a lot of Social's functionalities. How could we grant access to this resources without compromising the security of the instance?
The text was updated successfully, but these errors were encountered: