Skip to content
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

Error loading image in talk app #992

Open
filipdot opened this issue Dec 18, 2024 · 5 comments
Open

Error loading image in talk app #992

filipdot opened this issue Dec 18, 2024 · 5 comments
Labels
0. Needs triage bug Something isn't working

Comments

@filipdot
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Install talk desktop on windows 10
  2. Log in
  3. Recive photo from somebody in message
  4. get error

Expected behaviour

I should see photo, in broweser works ok.
in broweser i see file (but idk why previe doesn't work)
Image
Image

Actual behaviour

"Could not load the file.
Image

Diagnosis and logs

Diagnosis report ### Diagnosis report
Nextcloud Talk Desktop
Version v1.0.0
Built-in Talk version v20.1.0
Operating system Windows_NT 10.0.19045 (Windows 10 Pro)
Executable Path C:\Users\Filip\AppData\Local\NextcloudTalk\app-1.0.0\Nextcloud Talk.exe
Connected to -
Nextcloud server version 30.0.4
Nextcloud Talk version 20.1.0
notifications app enabled ✅ yes
notify_push app enabled ✅ yes

Application config

{
  "theme": "dark",
  "systemTitleBar": true,
  "monochromeTrayIcon": false,
  "zoomFactor": 1.1999999999999997,
  "playSoundChat": "respect-dnd",
  "playSoundCall": "respect-dnd",
  "enableCallbox": "respect-dnd"
}

It can be found in the About window (open from the menu or via F1 and click on "Copy report" button).

Client logs

Press Ctrl+Shift+I (Cmd+Option+C on macOS) or use the context menu to open the developer tools, then go to the Console tab.

Not connected to signaling server yet, defer joining room m4bnafes

mydomainfonextcloud.net/ocs/v2.php/apps/user_status/api/v1/statuses/_Filip:1 
        
        
       Failed to load resource: the server responded with a status of 404 ()
@filipdot filipdot added 0. Needs triage bug Something isn't working labels Dec 18, 2024
@ShGKme
Copy link
Contributor

ShGKme commented Dec 18, 2024

Thank you for your report.

Is that correct, that you don't have files preview on your instance?

@filipdot
Copy link
Author

when i send it works, when somebody then not. Sometimes it works some times it doesn't.
My message:
Image
Somebody else:
Image

@Antreesy
Copy link
Contributor

Antreesy commented Dec 19, 2024

When you send it, we use blob with local picture to not load it again from server (until restarted)
Unless it's an actual desktop issue, same should happen in browser (own upload previews available, others - not)

@filipdot
Copy link
Author

filipdot commented Dec 19, 2024

i get 404 in browser when trying to generate preview
Image

GET | https://mydomain/core/preview?fileId=177795&x=-1&y=32&a=1 -- | --

HTTP/1.1 404
server: openresty
date: Thu, 19 Dec 2024 08:12:31 GMT
content-type: application/json; charset=utf-8
content-length: 2
cache-control: no-cache, no-store, must-revalidate
content-security-policy: default-src 'none';base-uri 'none';manifest-src 'self';frame-ancestors 'none'
feature-policy: autoplay 'none';camera 'none';fullscreen 'none';geolocation 'none';microphone 'none';payment 'none'
referrer-policy: no-referrer
strict-transport-security: max-age=31536000;
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-request-id: Jm9wbPFpP1T81Ps47yhp
x-robots-tag: noindex, nofollow
x-xss-protection: 1; mode=block
X-Firefox-Spdy: h2

GET /core/preview?fileId=177795&x=-1&y=32&a=1 HTTP/1.1
Host: mydomain
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Accept: image/avif,image/webp,image/png,image/svg+xml,image/;q=0.8,/*;q=0.5
Accept-Language: pl,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br, zstd
DNT: 1
Sec-Fetch-Dest: image
Sec-Fetch-Mode: no-cors
Sec-Fetch-Site: same-origin
Connection: keep-alive

@alexhjelmnf
Copy link

Correct, we get this also. Works in mobile talk but not on desktop talk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants