Forum › Forums › spacedesk Discussions › Lost connection when downloading torrents
- This topic has 17 replies, 2 voices, and was last updated 1 year, 8 months ago by spacedesk Lea.
-
AuthorPosts
-
January 31, 2023 at 6:35 am #11855SenseyiParticipant
Good afternoon!
The problem is the following:
1. Spacedesk server on Windows 10;
2. connected at 1 Gigabit/sec to a Wi-Fi router, tablet connected at 5 GHz as a second monitor in extension mode.
Everything works properly until you start downloading torrents (the more torrents at the same time, the faster the connection disappears with a notification of a loss of connection). And interruptions begin in the form – disconnected – connected, sometimes the tablet itself does not want to connect back, you have to manually disconnect the connection and restore it. Sometimes this happens if you open an online video in a browser on a computer.
If you do not touch the computer, do not download torrents – everything works stably for weeks.
At the same time, the network from the machine to the router is entirely 1 Gigabit, according to Windows, the network load does not exceed 100-120 Megabits in both directions…If you copy something heavy over the network from computer to computer, or watch a 80-100 GB movie from a server on a set-top box (another PC), everything is ok, nothing falls off, everything is stable.
The situation has been observed since 1 day of using the Spacedesk application, with updates to the current version, outages have become less frequent, but they are still observed.Yesterday I connected 2 tablets to a PC, one via USB, the second via Wi-Fi, downloaded 2-3 torrents, after 3 minutes the tablet turned off via Wi-Fi (a notification about the loss of connection on the PC was displayed), the USB tablet continued to work stably.
At the moment the connection with the tablet is disconnected, the Internet on the PC also temporarily disappears, as soon as the connection is restored, the Internet continues to work stably.February 2, 2023 at 5:04 am #11869spacedesk LeaKeymasterHi @senseyi,
Did you notice any Warning notification from spacedesk on either primary machine or viewer app when downloading torrents (before disconnection happen)?
The notification should be something like this: “Warning – The network bandwidth is low and the screen sharing can be unstable.”February 2, 2023 at 6:46 am #11873SenseyiParticipantHi @spacedesk Lea,
No, there were no such notifications. The only notification is an error: “lost connection to wireless screen”, which appears when the connection is lost. Up to this point there are no problems. After a few seconds (most often), the connection is restored without additional manipulations.
With an active wireless monitor, downloading a torrent and other network activity, the network load does not exceed 100-120 Mbps, the entire network is 1 Gbps, i.e. throughput is 8-10 times higher than the current load.
The fastest way to achieve connection loss is in the following scenario:
1. The wireless monitor is active on the PC;
2. PC is downloading 3-4 torrents;
3. Connect to a PC via remote access (eg AnyDesk).
In this case, the dump occurs in 99% of cases, sometimes it does not recover itself, you have to break the connection and reconnect.The router is powerful, with a bandwidth above 5 Gigabit / s, but anyway, I assumed that the reason could be in it and installed 1 more separate router, which distributes the network only for the tablet on which the wireless monitor is active, does nothing else.
The problem persisted.
February 2, 2023 at 7:43 am #11874spacedesk LeaKeymasterHi @senseyi,
For further analysis, please send us the diagnostic logs of this issue.
Just follow the steps below:
– open spacedesk Driver Console -> Diagnostics
– if Debug View is not available, please click the download button first
– switch Diagnostic Collection ON (make sure to click Yes in the User Account Control box to proceed)
– try to connect your viewer app and reproduce the disconnect issue
– switch Diagnostic Collection OFF
– click Save All Information button (if message box appears, just click “No” since we don’t need dump files for this issue)
PS: Saving all information will take a few seconds, then please send us the whole folder which contains all the diagnostic logs collected.
Please right-click the folder -> Send to -> Compressed (zipped) folder, then attach the *.zip file in your next reply.February 2, 2023 at 9:54 am #11877SenseyiParticipantI am sending you the diagnostic log as requested.
February 2, 2023 at 10:07 am #11878SenseyiParticipantThe size of the entire folder exceeds the allowable size, it is not possible to download the archive even with strong compression.
February 2, 2023 at 10:15 am #11879SenseyiParticipantUploaded the archive with logs to Yandex Disk:
https://disk.yandex.ru/d/UaQvjztmjg2M5gFebruary 3, 2023 at 5:41 am #11885spacedesk LeaKeymasterHi @senseyi,
Thanks for sending the diagnostic logs.
We will analyze and get back to you as soon as we have news regarding this issue.
We are trying to reproduce this on our side over a stable network (while downloading torrents), but so far we haven’t encountered the disconnect issue.In the meantime, you can also try connecting your 2 Android tablets simultaneously via USB cable to prevent disconnect issue.
- This reply was modified 1 year, 9 months ago by spacedesk Lea.
- This reply was modified 1 year, 9 months ago by spacedesk Lea.
- This reply was modified 1 year, 9 months ago by spacedesk Lea.
February 3, 2023 at 6:28 am #11890SenseyiParticipantThank you! Waiting for an answer from you! Unfortunately, I can not connect 2 tablets via USB, because. one of them is located a few meters from the PC, where the cable cannot be laid. Therefore, stable operation of the monitor over the network is very necessary.
February 6, 2023 at 6:44 am #11924SenseyiParticipantFor the last 4 days, from time to time (1-2 times a day, more often at night, when there is no load on the network at all), such a notification appears (low network bandwidth), it has never appeared before.
1. the configuration of the network and devices has not changed (previously, even when there were disconnections, such a notification did not appear);
2. as I wrote above – the network is 1 Gigabit / sec, according to Windows, the download does not exceed 70-110 Megabit / second, 10-12% of the maximum bandwidth, the Wi-Fi router is 5GHz, 887 Megabit / second, the tablet is connected to Wi-Fi 5GHz, shows connection speed is 150 Mbps, the current connection speed of 80 – 110 Mbps is displayed in the status bar of the tablet.
3. After a notification about low network bandwidth appears, a break occurs (after a few minutes), then the connection is restored automatically.
4. lowering the quality to 4.2.0, 30fps, 16 bit does not give any result (network load drops to 60-80 megabits / second), but there are also notifications a couple of times a day about low bandwidth and the connection is cut off. Changing the quality from maximum to minimum and vice versa – does not affect connection drops and bandwidth notifications in any way.
What could be the problem?Attachments:
You must be logged in to view attached files.February 7, 2023 at 8:54 am #11957spacedesk LeaKeymasterHi @senseyi,
The “low network bandwidth” notification is a new feature. We just recently add it in our spacedesk Server to notify the user in case there’s a network congestion between server and client.
It’s possible that even if you have a good/stable wireless connection, from time to time there is a possibility of network drop.- This reply was modified 1 year, 9 months ago by spacedesk Lea.
February 7, 2023 at 9:44 am #11962SenseyiParticipantBefore that, it worked quite badly, with the last update it became almost impossible to use, dumps happen 5-8 times a day at a completely random time.
February 8, 2023 at 6:41 am #11976SenseyiParticipantDespite changing the image quality to the lowest (the quality slider all the way to the left, color 4.2.0, 16 bit, 30 fps), the network load is only 3-5 megabytes / second (it shows 12-13 on the full graph), it still appears notification of low network speed and unstable connection. Appears after several hours (sometimes minutes) of work. Although the load is minimal, the response of the wireless screen is high.
Also, the AMD graphics driver crashed several times with an error. Before updating to the latest version, this was not the case. The problem with torrents persists.
So the latest update:
1. provides incorrect network bandwidth data (the error appears despite the high network bandwidth and stable operation of devices).
2. Most often, after a bandwidth error, the wireless screen falls off.
3. causes the AMD graphics driver to crash, after which a hard restart of the PC is required.February 9, 2023 at 4:31 am #11987spacedesk LeaKeymasterHi @senseyi,
Thanks for the feedback.
Was there a continuous screen update in spacedesk display when the low bandwidth error appeared?
Does it always happen now even without torrent downloads in the background?As for the AMD graphics driver crash, does it always happen now?
Did it crash while spacedesk is connected? or disconnected?February 9, 2023 at 7:47 am #11988SenseyiParticipantOn Low Bandwidth Notification:
happens constantly, even when the network is free, there is no load, the load only from the remote monitor is about 80 megabits / second. Notifications pop up all the time, the network load does not exceed 10%.The AMD driver fails in the following order: 1. The low network bandwidth notification appears several times.
2. Next, a notification about a network break appears.
3. The configuration is automatically resumed several times.
4. A message about an AMD driver crash appears.
As a result, the display configuration fails, the frame rate is limited – you have to restart the PC to resume work.
These failures occur 1 time per day, sometimes 1 time in 2 days.
Notifications about low bandwidth appear every few hours (with no torrents or network load).February 9, 2023 at 9:42 am #11989spacedesk LeaKeymasterHi @senseyi,
The low bandwidth notification in spacedesk will only be triggered if it fails to receive a specific response packets/ping from the spacedesk viewer app (and vice versa).
If the notification appears on pc/server side, it means the server cannot receive a ping response from the client/viewer which means the client fails to send it (probably because there’s a network congestion on its side).
Even if the pc/server machine has low network load and currently stable if it didn’t receive the ping from client then it will trigger a temporary disconnect if it continuously showing the notification.If the notification appears on client/viewer side, then it’s vice versa from the above explanation.
Next, can you easily try connecting via Mobile Hotspot or WiFi Direct network?
So that server and client has a direct network connection to each other and bypassing the router.
To setup, please check the Performance Tuning -> Network Bandwidth -> Wifi Direct chapter in the user manual https://forum.spacedesk.netuser-manual/#item_510.For AMD crash, can you check if there’s an error code 43 in the AMD graphics adapter in the device manager?
February 9, 2023 at 1:01 pm #11991SenseyiParticipantWiFi Direct raised, but due to the limitations of Windows 10, it cannot distribute You-Fi 5 GHz, only 2.4 GHz, which greatly limits the connection speed.
For the test, I used several routers, including a separate router as an access point, to which nothing else is connected – a direct connection to a PC via cable and a 5GHz tablet – did not fix the situation.
The tablet displays 150 Megabits / second – isn’t that enough? In this case, even on the minimum graphics configuration, a notification appears.February 10, 2023 at 10:00 am #12025spacedesk LeaKeymasterHi @senseyi,
Can you quickly check with connecting via HTML5 Viewer from the same tablet?
Just open a web browser (e.g. Google Chrome) on your tablet, then go to http://viewer.spacedesk.net/ and connect to the IP address of your primary machine.
Then observed if you get any connection issue.FYI: On HTML5 viewer, the “low network bandwidth” notification is not implemented.
Keep in mind that this HTML5 VIEWER app is much slower than our native apps on Android and Windows.
This is due to technical limitation of HTML5/Javascript. -
AuthorPosts
- You must be logged in to reply to this topic.