Closed 501NotImplemented closed 7 months ago
Are they actually logged out or not? What does it say when you browse their user profile?
@mathiascode they are actually online (away) status. The issue disappeared after the app restart. Could be some connectivity issue, I guess.
Without knowing more precise 'Steps to reproduce the bug' information, it will not be possible to investigate this bug.
A couple of questions:
@mathiascode no, not every time. I can't reproduce this issue for now. Another detail - if I manually right click on the username and select 'Resume' from the context menu - the status is changed to 'Queued'.
The issue was reproducing only on the startup.
@slook
Yes, I've tried as you've suggested. See screenshot. Nicotine+ 3.3.3.dev1
Steps to reproduce:
Actual result: Nicotine+ is connected, the transfers start from the online user, but it still shows User is logged off status on Downloads tab for Queued uploads. If the status is manually updated - right click on the root username on the Downloads pane and select Resume - the status is correctly updated to Queued.
Expected result: The status should be updated to Queued uploads on the Nicotine+ connection.
`03.03.2024 16:20:37 Loading plugin system
03.03.2024 16:20:37 Loaded plugin Nicotine+ Commands
03.03.2024 16:20:37 [Misc] Enabled plugin(s): core_commands, leech_detector, auto_user_browse
03.03.2024 16:20:37 Leech Detector: Require users have a minimum of 1 files in 1 shared public folders.
03.03.2024 16:20:37 Loaded plugin Leech Detector
03.03.2024 16:20:37 Loaded plugin Auto-Browse Shares
03.03.2024 16:20:37 Reconnecting to server in 12 seconds
03.03.2024 16:20:37 Cannot listen on port 2234. Ensure no other application uses it, or choose a different port. Error: [WinError 10051] A socket operation was attempted to an unreachable network
03.03.2024 16:20:37 [Misc] CLI input prompt is no longer available: input(): lost sys.stdin
03.03.2024 16:20:39 Rescanning shares…
03.03.2024 16:20:49 Reconnecting to server in 24 seconds
03.03.2024 16:20:49 Cannot listen on port 2234. Ensure no other application uses it, or choose a different port. Error: [WinError 10051] A socket operation was attempted to an unreachable network
03.03.2024 16:21:13 Reconnecting to server in 48 seconds
03.03.2024 16:21:13 Cannot listen on port 2234. Ensure no other application uses it, or choose a different port. Error: [WinError 10051] A socket operation was attempted to an unreachable network
03.03.2024 16:21:40 [Misc] Local IP address: **
03.03.2024 16:21:40 [Misc] Maximum number of concurrent connections (sockets): 512
03.03.2024 16:21:40 Listening on port: 2234
03.03.2024 16:21:40 Connecting to server.slsknet.org:2242
03.03.2024 16:21:40 Connected to server server.slsknet.org:2242, logging in…
03.03.2024 16:21:41 [Misc] Creating Port Mapping rule...
03.03.2024 16:21:41 [Misc] NAT-PMP: Portmap request attempt 1 of 2: b'\x00\x02\x00\x00\x08\xba\x08\xba\x00\x00\xa8\xc0'
03.03.2024 16:21:41 [Misc] NAT-PMP not available, falling back to UPnP: [WinError 10054] An existing connection was forcibly closed by the remote host
03.03.2024 16:21:41 [Misc] UPnP: Discovering... delay=1 seconds
03.03.2024 16:21:41 [Misc] UPnP: SSDP request: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nST: urn:schemas-upnp-org:service:WANIPConnection:1\r\nMAN: "ssdp:discover"\r\nMX: 1\r\n\r\n'
03.03.2024 16:21:41 [Misc] UPnP: Sent M-SEARCH IP request 1
03.03.2024 16:21:41 [Misc] UPnP: SSDP request: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nST: urn:schemas-upnp-org:service:WANPPPConnection:1\r\nMAN: "ssdp:discover"\r\nMX: 1\r\n\r\n'
03.03.2024 16:21:41 [Misc] UPnP: Sent M-SEARCH PPP request 1
03.03.2024 16:21:41 [Misc] UPnP: SSDP request: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nST: urn:schemas-upnp-org:device:InternetGatewayDevice:1\r\nMAN: "ssdp:discover"\r\nMX: 1\r\n\r\n'
03.03.2024 16:21:41 [Misc] UPnP: Sent M-SEARCH IGD request 1
03.03.2024 16:21:41 [Misc] UPnP: SSDP request: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nST: urn:schemas-upnp-org:service:WANIPConnection:2\r\nMAN: "ssdp:discover"\r\nMX: 1\r\n\r\n'
03.03.2024 16:21:41 [Misc] UPnP: Sent M-SEARCH IP request 2
03.03.2024 16:21:41 [Misc] UPnP: SSDP request: b'M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nST: urn:schemas-upnp-org:device:InternetGatewayDevice:2\r\nMAN: "ssdp:discover"\r\nMX: 1\r\n\r\n'
03.03.2024 16:21:41 [Misc] UPnP: Sent M-SEARCH IGD request 2
03.03.2024 16:21:41 [Misc] UPnP: Device search response: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=3600\r\nEXT: \r\nLOCATION: http://**********/gateway.xml\r\nSERVER: RouterOS/6.49.8UPnP/1.0 **** UPnP/1.0\r\nST: urn:schemas-upnp-org:service:WANIPConnection:1\r\nUSN: uuid:UUID-****-WAN-CONNECTION-DEVICE-8SBP-3M48-3::urn:schemas-upnp-org:service:WANIPConnection:1\r\n\r\n'
03.03.2024 16:21:41 [Misc] UPnP: Device description response from http://**********/gateway.xml: b'<?xml version="1.0"?>\r\n
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:/a/nicotine-plus/nicotine-plus/pynicotine/portmapper.py", line 569, in _add_port_mapping File "D:/a/nicotine-plus/nicotine-plus/pynicotine/portmapper.py", line 472, in add_port_mapping File "D:/a/nicotine-plus/nicotine-plus/pynicotine/portmapper.py", line 434, in _request_port_mapping File "C:/msys64/mingw64/lib/python3.11/urllib/request.py", line 216, in urlopen File "C:/msys64/mingw64/lib/python3.11/urllib/request.py", line 525, in open File "C:/msys64/mingw64/lib/python3.11/urllib/request.py", line 634, in http_response File "C:/msys64/mingw64/lib/python3.11/urllib/request.py", line 563, in error File "C:/msys64/mingw64/lib/python3.11/urllib/request.py", line 496, in _call_chain File "C:/msys64/mingw64/lib/python3.11/urllib/request.py", line 643, in http_error_default urllib.error.HTTPError: HTTP Error 500: Internal Server Error 03.03.2024 16:21:42 1992 privileged users 03.03.2024 16:21:42 You have no Soulseek privileges. While privileges are active, your downloads will be queued ahead of those of non-privileged users.`
Note, that when I initially faced the bug, the network was on. For now, I can reproduce the issue only via the steps provided, it didn't occur just starting the app.
This was a tricky one, but I figured out what's happening:
Thank you very much for reporting this! It's unlikely it would've been detected otherwise.
Nicotine+ version: 3.3.2. GTK 4.12.5 Python 3.11.8 Operating System/Distribution: Windows 11 Pro Version 23H2 OS build 22631.3155 Experience Windows Feature Experience Pack 1000.22684.1000.0
Describe the bug
The downloads status column displays the user as logged off for queued transfers, while the one transfer is active.
Expected behavior
The queued transfers should be displayed as queued
Steps to reproduce the bug
Start the app
Additional context
Screenshots, logs, stacktraces or relevant information.