FS#78153 - [syncplay] Client does not support TLS on 1.7.0-1

Attached to Project: Community Packages
Opened by Misaka (Misaka13514) - Sunday, 09 April 2023, 12:58 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Cannot connect to a server using TLS on 1.7.0-1. Downgrade syncplay to 1.6.9-5 solves the problem. Not sure if it's an upstream bug.

Additional info:
* package version(s)
1.7.0-1
* config and/or log files etc.
Attempting to connect to my.server.example:8997
This client does not support TLS
Successfully reached my.server.example (127.0.0.1)
<class 'twisted.python.failure.Failure'>
[Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.]
Connection was closed cleanly.
Connection with server lost, attempting to reconnect
...
* link to upstream bug report, if any

Steps to reproduce:
connect syncplay to a TLS server
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:06 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/syncplay/issues/1
Comment by Misaka (Misaka13514) - Monday, 10 April 2023, 01:27 GMT
Syncplay-1.7.0-x86_64.AppImage works normally.
Comment by Misaka (Misaka13514) - Monday, 10 April 2023, 01:29 GMT
Additional log by `syncplay --debug`:
name 'pem' is not defined
Not playing current index - Index none or length issue
Failed to find index None in plauylist
client/server >> {"Hello": {"username": "Misaka", "room": {"name": "default"}, "version": "1.2.255", "realversion": "1.7.0", "features": {"sharedPlaylists": true, "chat": true, "uiMode": "GUI", "featureList": true, "readiness": true, "managedRooms": true, "persistentRooms": true}}}
player >> ['set_property', 'pause', 'yes']
<mpv> Throttling message send, so sleeping for 0.05
player >> ['script-message-to', 'syncplayintf', 'get_paused_and_position']
player << <paused=true, pos=nil>
Ignoring _fileIsLoaded MPV_NEWFILE delay
No file loaded so storing position 0.0 as GlobalPosition (0.0)
File not loaded so using GlobalPosition for getCalculatedPosition(0.0)
Failed to find index None in plauylist
Cannot switch to None index in playlist
player >> ['script-message-to', 'syncplayintf', 'notification-osd-neutral', 'Connection with server lost, attempting to reconnect']
player >> ['script-message-to', 'syncplayintf', 'notification-osd-neutral', 'This client does not support TLS']
Comment by Toolybird (Toolybird) - Tuesday, 11 April 2023, 06:46 GMT
"python-certifi" and "python-service-identity" are listed as optdeps for TLS. Do you have both installed?
Comment by Misaka (Misaka13514) - Tuesday, 11 April 2023, 07:16 GMT
@Toolybird Yes, I have them both installed.

python-service-identity 21.1.0-4
python-certifi 2022.12.07-1
Comment by Gabriel Felipe Huwe (DemonicSavage) - Friday, 14 April 2023, 16:11 GMT
I was able to fix this by installing the `pem` Python module through `pip`.
Comment by loqs (loqs) - Friday, 14 April 2023, 18:12 GMT Comment by Gabriel Felipe Huwe (DemonicSavage) - Friday, 14 April 2023, 18:13 GMT
I was able to fix this by installing the `pem` Python module through `pip`.
Comment by Misaka (Misaka13514) - Saturday, 15 July 2023, 03:29 GMT
This can be solved by installing https://aur.archlinux.org/packages/python-pem. @Maintainer, consider adding this AUR package to the [community] and add to the (optional) dependencies of this package.

Loading...