eneshecan / whatsapp-for-linux

An unofficial WhatsApp desktop application for Linux.
GNU General Public License v3.0
951 stars 97 forks source link

no media is shown... #348

Open rycerzes opened 9 months ago

rycerzes commented 9 months ago

Description All images, videos and stickers are blank.... does not show anything

To Reproduce Steps to reproduce the behavior:

  1. Going to any chat shows the same bug

Screenshots image image

Environment

Phobos2001s commented 9 months ago

Faced with a similar problem. Also, since recently I can't send various documents (photos, videos, etc.).

Terminal log: flatpak run com.github.eneshecan.WhatsAppForLinux F: Don't share "/dev/log" with sandbox: Path "/dev" is reserved Flatpak logger: socket /dev/log: There is no such file or directory

Fedora 38 Workstation Wayland session Flatpak version application

aboutNisblee commented 9 months ago

Friendly hint to debug: Open the browser console and have a look at the 403 (forbidden) responses when the app is trying to request photos or videos.

deltalejo commented 9 months ago

I'm seeing errors like the following on browser console whenever I try to open media:

[Error] Blocked mixed content blob:https://web.whatsapp.com/<some_uuid_like_string_here> because 'block-all-mixed-content' appears in the Content Security Policy.

RENANZG commented 9 months ago

YT video thumbnails don't appear either

gree7 commented 8 months ago

A workaround for Arch users: yay -S whatsapp-electron-bin. This one works fine (so far).

prodrigestivill commented 8 months ago

Same happends in epiphany browser aka GNOME Web (same webkit engine).

Maybe this app can disable CSP as a temporal workarround.

Maybe setting something like the set_disable_web_security?

prodrigestivill commented 8 months ago

I have tried without any success:

        webkit_settings_set_enable_xss_auditor(settings, FALSE);
        webkit_settings_set_disable_web_security(settings, TRUE);

So it needs more investigation.

deltalejo commented 7 months ago

I was experiencing this issue until today, when a notification appeared on the app to update Whatsapp, and after doing the update I haven't experienced the issue so far.

41736861 commented 5 months ago

Disabling hardware acceleration 'fixed' this for me, if that's of use to anyone.