Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java vs. Rust, Java wins with Virtual Desktop #513

Open
DocMAX opened this issue Oct 23, 2023 · 4 comments
Open

Java vs. Rust, Java wins with Virtual Desktop #513

DocMAX opened this issue Oct 23, 2023 · 4 comments

Comments

@DocMAX
Copy link

DocMAX commented Oct 23, 2023

I use this tool to get Virtual Desktop working with VR over USB.
Unfortunatelly with Rust the app disconnects every few seconds.
Java is stable. How can we debug this?

@GORILA1221
Copy link

Я использую этот инструмент, чтобы заставить виртуальный рабочий стол работать с виртуальной реальностью через USB. К сожалению, с Rust приложение отключается каждые несколько секунд. Java стабильна. Как мы можем опровергнуть это?

Hello, are you using VD on a local network, or remotely?

@DocMAX
Copy link
Author

DocMAX commented Oct 25, 2023

Not sure how you mean it. I start VD on my laptop and connect my VR via USB-C to my laptop.

@Krzeszny
Copy link

Krzeszny commented Mar 7, 2024

Same issue. Java works fine at 150Mbit bandwidth (unstable above that), but Rust keeps disconnecting. It works for like 10 seconds on launch and then it starts spitting out [ConnectionRefused] forever.

2024-03-07 17:49:21.549 WARN TcpConnection: 10.0.0.2:33827 -> 40.89.161.236:38841 Unexpected first packet 433045339; acking 0; flags=4
2024-03-07 17:49:21.549 INFO TcpConnection: 10.0.0.2:33827 -> 40.89.161.236:38841 Close
2024-03-07 17:49:21.652 INFO TcpConnection: 10.0.0.2:33995 -> 192.168.1.135:38840 Open
2024-03-07 17:49:21.653 INFO TcpConnection: 10.0.0.2:46711 -> 192.168.56.1:38840 Open
2024-03-07 17:49:21.657 INFO TcpConnection: 10.0.0.2:37185 -> 40.89.161.236:38821 Open
2024-03-07 17:49:21.740 INFO TcpConnection: 10.0.0.2:37185 -> 40.89.161.236:38821 Close
2024-03-07 17:49:21.741 INFO TcpConnection: 10.0.0.2:37185 -> 40.89.161.236:38821 Open
2024-03-07 17:49:21.741 WARN TcpConnection: 10.0.0.2:37185 -> 40.89.161.236:38821 Unexpected first packet 1361624697; acking 0; flags=4
2024-03-07 17:49:21.741 INFO TcpConnection: 10.0.0.2:37185 -> 40.89.161.236:38821 Close
2024-03-07 17:49:21.859 INFO TcpConnection: 10.0.0.2:37367 -> 192.168.1.135:38820 Open
2024-03-07 17:49:21.861 INFO TcpConnection: 10.0.0.2:40749 -> 192.168.56.1:38820 Open
2024-03-07 17:49:23.295 ERROR TcpConnection: 10.0.0.2:36387 -> 192.168.56.1:38810 Cannot read: [ConnectionRefused] No connection could be made because the target machine actively refused it. (os error 10061)
2024-03-07 17:49:23.296 INFO TcpConnection: 10.0.0.2:36387 -> 192.168.56.1:38810 Close
2024-03-07 17:49:23.470 ERROR TcpConnection: 10.0.0.2:38865 -> 192.168.56.1:38830 Cannot read: [ConnectionRefused] No connection could be made because the target machine actively refused it. (os error 10061)
2024-03-07 17:49:23.471 INFO TcpConnection: 10.0.0.2:38865 -> 192.168.56.1:38830 Close
2024-03-07 17:49:23.673 ERROR TcpConnection: 10.0.0.2:46711 -> 192.168.56.1:38840 Cannot read: [ConnectionRefused] No connection could be made because the target machine actively refused it. (os error 10061)
2024-03-07 17:49:23.674 INFO TcpConnection: 10.0.0.2:46711 -> 192.168.56.1:38840 Close
2024-03-07 17:49:23.892 ERROR TcpConnection: 10.0.0.2:40749 -> 192.168.56.1:38820 Cannot read: [ConnectionRefused] No connection could be made because the target machine actively refused it. (os error 10061)
2024-03-07 17:49:23.892 INFO TcpConnection: 10.0.0.2:40749 -> 192.168.56.1:38820 Close

@rom1v

@petermg
Copy link

petermg commented May 17, 2024

Same thing here. If it wasn't for this post I wouldn't have known it works fine with Java. Sadly the rust keeps disconnecting with the error posted in the reply above mine. :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants