Bug 32252 - [Mageia 9] VLC 3.0.18 remote control not working
Summary: [Mageia 9] VLC 3.0.18 remote control not working
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM, feedback
Depends on:
Blocks:
 
Reported: 2023-09-06 13:49 CEST by Budi Rachmanto 佛慈 浪漫人
Modified: 2024-10-13 18:52 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Budi Rachmanto 佛慈 浪漫人 2023-09-06 13:49:36 CEST
Description of problem:
Today 2023/09/06 I upgraded to Mageia 9, & noticed that VLC remote control no longer works

Version-Release number of selected component (if applicable):
- Mageia 9
- VLC 3.0.18

How reproducible:
every time I try to connect to PC's VLC using Android's VLC Remote Control

Steps to Reproduce:
1. Upgrade to Mageia 9 & install VLC (3.0.18) + lua plugin
2. Open VLC -> Tools -> Preferences -> Show Settings [All] -> Main Interfaces
   - Extra interface modules
     - check [Web]
     - write "http" into the textbox
   - Lua -> Lua HTTP
     - enter password
   -> Save then relaunch VLC
3. Set Firewall to allow Internet connection to tcp/8080
4. Using Android phone I found that VLC:8080 port on PC is opened,
   (VLC does open the port 8080)
   but the VLC Remote Control apps failed to connect somehow.
   I used them to connect to PC (Mageia 8) without any problems.
Comment 1 Budi Rachmanto 佛慈 浪漫人 2023-09-06 14:19:29 CEST
I can connect using Web browser to http://192.168.x.x:8080 (with limited features) but failed using Android apps.
Comment 2 Lewis Smith 2023-09-06 21:29:05 CEST
Thank you for the report, and apologies for the inconvenience it is causing.

Unknown territory for me, so let us see that I understand this correctly:
You configured VLC for remote control (and the Firewall to allow it); which seems to have been taken into account in that the relevant port 8080 is opened by VLC.
You make (or try to) the connection from an Android phone VLC Remote Control application: nothing.
Since VLC has changed, it is suspect.

Can you say any more about the failure? No messages at all from the phone application?
> I used them to connect to PC (Mageia 8) without any problems
matters.

CC'ing Dave Hodgins who is conversant with ports etc, and will be able to suggest some terminal commands to check the state/usage of the port.

CC: (none) => davidwhodgins, lewyssmith

Comment 3 Dave Hodgins 2023-09-06 21:53:49 CEST
Quickest way to test/workaround a firewall issue is to add lines to
/etc/shorewall/rules.drakx with ...
ACCEPT  net:10.0.0.0/8 fw
ACCEPT  net:169.254.0.0/16 fw
ACCEPT  net:172.16.0.0/12 fw
ACCEPT  net:192.168.0.0/16 fw
ACCEPT  net fw  icmp    3   -
ACCEPT  net fw  icmp    5   -
ACCEPT  net fw  icmp    8   -
ACCEPT  net fw  icmp    9   -
ACCEPT  net fw  icmp    10   -
ACCEPT  net fw  icmp    11   -
ACCEPT  net fw  icmp    12   -
ACCEPT  net fw  icmp    13   -
ACCEPT  net fw  icmp    14   -
ACCEPT  net fw  icmp    40   -
ACCEPT  net fw  icmp    42   -
ACCEPT  net fw  icmp    43   -

Then run (as root) "systemctl restart shorewall.service".

That allows all traffic from within your lan. Don't use these rules if you
have untrusted guests on the network.

Do not run drakfirewall after that. It will not recognize the above lines and
will remove them.
Comment 4 Budi Rachmanto 佛慈 浪漫人 2023-09-06 21:56:35 CEST
It is not firewall problem.

1 application (jbscript.vlcremote) is able to connect but gives tons of annoying errors, while many other applications just fail to connect.
It seems to me VLC changed the protocol.
Comment 5 Budi Rachmanto 佛慈 浪漫人 2023-09-07 17:01:46 CEST
Someone has reported the same issue in the VLC forum:

https://forum.videolan.org/viewtopic.php?f=13&t=162774&p=538460&hilit=remote#p538460
Comment 6 Lewis Smith 2023-09-10 21:28:53 CEST
Thank you for that link: identical problem. Unfortunately the reporter says nothing about what his PC system is; and is apparently less clued up than you..
Can you add some more meaningful comment to that VLC bug, cross-referencing this one. Ppke that VLC bug; they seem to want to wash their hands of the problem. Even if it is not them, they should be able to suggest how to verify that nad what they think the problem might be.

Normally one could ask that you try an earlier version of VLC, but I doubt that this is currently possible with newly released Mageia 9.

Assigning this to the packagers for ideas & suggestions. CC'ing two who have committed VLC recently.

CC: lewyssmith => geiger.david68210, ghibomgx
Keywords: (none) => UPSTREAM
Assignee: bugsquad => pkg-bugs

Comment 7 Budi Rachmanto 佛慈 浪漫人 2023-09-13 14:24:46 CEST
I can show some errors from jbscript.vlcremote but it is meaningful only to the application developers (Jonny Buchanan et. al.). Meanwhile, normally there is no error message from VLC.

According to the Changelog
https://code.videolan.org/videolan/vlc/-/raw/3.0.x/NEWS
VLC has changed (improved?) the way it handles HTTP connection. I don't know if this caused the bug.
Comment 8 Budi Rachmanto 佛慈 浪漫人 2024-01-25 19:48:28 CET
Updated to VLC 3.0.20 but the problem still persists.
Comment 9 Morgan Leijström 2024-07-24 14:13:47 CEST
mga9 have vlc 3.0.21 in testing repos.

CC: (none) => fri

Comment 10 Morgan Leijström 2024-10-12 17:14:54 CEST
Why do we still have vlc 3.0.21 lingering in testing repos and I can not find a corresponding bug?
Comment 11 katnatek 2024-10-13 01:11:36 CEST
(In reply to Morgan Leijström from comment #10)
> Why do we still have vlc 3.0.21 lingering in testing repos and I can not
> find a corresponding bug?

Don't know Giuseppe send that version

Keywords: (none) => feedback

Comment 12 Morgan Leijström 2024-10-13 10:07:51 CEST
Giuseppe in private mail now:

" For vlc 3.0.21 I added that before the summer, and still actual (so there aren't newer versions, see https://github.com/videolan/vlc/tags), but hadn't time to open the corresponding bug #, basically it improves the stability, and should fix some of the various pending problems of vlc 3.0.18, though I've not checked it fixes all the bugs, and which exactly. "
Comment 13 Morgan Leijström 2024-10-13 10:10:35 CEST
As 3.0.21 is still latest and already built, I think we should open an own bug for it to get it out.
It may not fix the problem described in this bug, but fixes others.
katnatek 2024-10-13 18:52:23 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=33638


Note You need to log in before you can comment on or make changes to this bug.