Bug 112695 - Impress not listening on bluetooth or tcp 1599 for remote connection
Summary: Impress not listening on bluetooth or tcp 1599 for remote connection
Status: NEW
Alias: None
Product: Impress Remote
Classification: Unclassified
Component: Android Remote App (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-27 16:26 UTC by hgkamath
Modified: 2023-08-13 10:03 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hgkamath 2017-09-27 16:26:37 UTC
Description:
impress not listening for bluetooth or wifi impress-remote connections on win10/x64

Steps to Reproduce:
1. let both android and win10 be networked over openvpn
2. configure firewall to allow udp tcp, allow soffice.bin ability to open ports
3. start libreoffice, and open a ppt 
4. ensure the remote enable settings
5. connect android impress remote via IP


I was trying to get impress remote to connect to impress on win10/x64 .

Impress-remote Did not work for impress on win10/x64 neither bluetooth nor over wifi.

Impress-Remote worked for impress on linux/x64 (fedora 26) both bluetooth and over wifi.

open ports on win10 machine
netstat -anb
..
 UDP    0.0.0.0:1598           *:*                    
 [soffice.bin]
..
 TCP    127.0.0.1:56157        127.0.0.1:5354         ESTABLISHED
 [soffice.bin]
..

On Linux
$ netstat -anp | grep -E "179[79]8"
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:1599            0.0.0.0:*               LISTEN      17998/soffice.bin   
udp        0      0 0.0.0.0:1598            0.0.0.0:*                           17998/soffice.bin   
unix  2      [ ACC ]     STREAM     LISTENING     33108769 17998/soffice.bin    /tmp/OSL_PIPE_1000_SingleOfficeIPC_5982fb913be938986e22a4d0e13d6bad
unix  3      [ ]         STREAM     CONNECTED     33108770 17998/soffice.bin    
unix  3      [ ]         STREAM     CONNECTED     33110316 17998/soffice.bin    
unix  3      [ ]         STREAM     CONNECTED     33112492 17998/soffice.bin    
unix  3      [ ]         STREAM     CONNECTED     33111711 17998/soffice.bin    
unix  2      [ ]         DGRAM                    33112511 17998/soffice.bin    
unix  3      [ ]         STREAM     CONNECTED     33112626 17998/soffice.bin    
unix  3      [ ]         STREAM     CONNECTED     33113481 17978/oosplash       


tools/options/libreoffice/advanced/enable experimental features
> tried both enabled or disabled, what I understand is experimental is not required for libreoffice-5+

tools/options/libreoffice impress/general/enable remote control
> enabled

C:\Program Files\LibreOffice 5\program\soffice.bin given tcp and udp access in firewall, all ports, all users, all interfaces, all network categories, narrowed to 192.168.21.x


* Setup specific detail: 
tested on a openvpn TAP adapter (I don't expect it to be different )
Android runs open vpn client
Linux runs open vpn client
Windows runs openvpn client
A linux server directly reachable runs the openvpn server
tested via RDP to windows host over openvpn (I don't expect openvpn rdp to interfere with anything)


Using netcat was able to confirm that udp/tcp ports can be opened, listened and texted through
It is not an mtu problem or a reachability problem

temporarily allowing udp, tcp from 192.168.21.x and listening for android connect on 1599 tcp
$ ./ncat 192.168.21.14  1599 -kl
LO_SERVER_CLIENT_PAIR
vesta
9708
nothing on 1598 tcp, 1599 udp, 1598 udp

no wifi device shows up in "Slide Show/Impress Remote", enter pin dialog window.

It's also the the case that direct bluetooth remote also does not work. 

I feel the impress remote subsystem is not starting properly and even listening for connections.


Actual Results:  
no impress remote connection

Expected Results:
the android-impress-remote should have connected and worked as on the linux machine


Reproducible: Always

User Profile Reset: No, relatively clean unpolluted machine, fresh libreoffice install

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Comment 1 hgkamath 2017-09-27 16:33:06 UTC
The bluetooth pairing between android and win10 works. 
One can do other things like bluetooth file transfer if required.
Upon android-impress-remote connect, one can see in win10/settings/devices window quick textual updates on the status of the paired android device, indicating a bluetooth connect, and it subsequently disconnecting, perhaps because the bluetooth service was not available.
Comment 2 Michael Mehl 2017-12-03 21:31:59 UTC
Some problem for me. When switching to the 32-bit version everything is fine.
Comment 3 Michael Mehl 2017-12-03 21:32:56 UTC
I mean "same problem", sorry :-)
Comment 4 Dmitry Filimonov 2018-01-06 23:59:16 UTC
I have the same problem on win 8.1 within normal local network.
My system is x86-64 but both 32-bit and 64-bit versions do not work.
Comment 5 Xisco Faulí 2018-10-19 12:03:01 UTC
Setting to NEW as 2 users have confirmed it
Comment 6 QA Administrators 2019-10-20 02:33:34 UTC Comment hidden (obsolete)
Comment 7 hgkamath 2019-10-20 05:40:46 UTC
android-6 -> win10/portableapps-libreoffice.

* The bluetooth connection worked. However, the libreoffice process is unstable via bluetooth and will crash after a few swipes, especially when slides are interacted with on computer while being controlled on phone. The app on android was stable, no preview, shows blank slides with notes, was able to control until the crashing. Crashing of portable-libreoffice (win) under bluetooth would perhaps be a different bug on its own

* direct-wifi from phone to win10 mobile-hotspot worked. Connection seemed stabler than bluetooth. App showed blank slides with notes, can swipe back and forth. win10 firewall prompts to open port on public and private networks, which is to be allowed.

In either case, android app is stable, able to configure both bluetooth and wifi connections. Able to swipe back forth, but no preview of slides. perhaps feature is under development, else that would be a different bug.

* unable to test the phone->VPN-wifi->win10 with my present setup/network, but it seems likely it will work.
Comment 8 QA Administrators 2021-10-20 03:55:34 UTC
Dear hgkamath,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug