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

not working #39

Open
Uddhav07 opened this issue Dec 4, 2024 · 2 comments
Open

not working #39

Uddhav07 opened this issue Dec 4, 2024 · 2 comments

Comments

@Uddhav07
Copy link

Uddhav07 commented Dec 4, 2024

UniControlHub (v0.0.8) Logs:

[2024-12-04T23:37:12] Debug: Starting UsbDetection
[2024-12-04T23:37:12] Info: LibUsb Initialized for this platform
[2024-12-04T23:37:12] Info: Trying to Start
[2024-12-04T23:37:12] Info: Synergy Config: C:\Users\Uddhav\AppData\Local\com.rohit\uni_control_hub\synergy.conf
[2024-12-04T23:37:12] Info: Server started with pid: 11256
[2024-12-04T23:37:13] NOTE: clipboard sharing is disabled
[2024-12-04T23:37:13] NOTE: started server, waiting for clients
[2024-12-04T23:37:13] Info: Checking Adb Server
[2024-12-04T23:37:13] Info: Trying to start adb server
[2024-12-04T23:37:14] Info: Adb devices: [192.168.1.20:32955]
[2024-12-04T23:37:14] Info: Server started at 127.0.0.1:9945
[2024-12-04T23:37:14] Info: UHID Server started on port 9945
[2024-12-04T23:37:14] Info: Server pushed to 192.168.1.20:32955, adb: error: failed to get feature set: device offline

[2024-12-04T23:37:14] Error: UHID Error: Exception: adb.exe: device offline

[2024-12-04T23:37:21] Info: Checking Adb Server
[2024-12-04T23:37:21] Info: Trying to start adb server
[2024-12-04T23:37:21] Info: Adb devices: [192.168.1.20:32955]
[2024-12-04T23:37:21] Info: Server already started
[2024-12-04T23:37:21] Info: Server pushed to 192.168.1.20:32955, C:\Users\Uddhav\AppData\Local\com.rohit\uni_control_hub\UniHubServer_0.1.jar: 1 file pushed, 0 skipped. 5.9 MB/s (3995 bytes in 0.001s)

[2024-12-04T23:37:21] Info: PortForwarding
[2024-12-04T23:37:21] Info: Adb port forwarded: 9945
[2024-12-04T23:37:21] Info: Server setup done, waiting for response from 192.168.1.20:32955
[2024-12-04T23:37:22] Debug: UniHubAndroidServer Stdout: Starting server... [-deviceId, 192.168.1.20:32955, -localSocket, uni]

[2024-12-04T23:37:22] Info: Connection from 127.0.0.1:51106
[2024-12-04T23:37:22] Debug: UniHubAndroidServer Stdout: Thread started running..

[2024-12-04T23:37:22] Info: Data from client: device_id:192.168.1.20:32955
[2024-12-04T23:37:22] Info: Client connected: 192.168.1.20:32955
[2024-12-04T23:37:22] Info: Added Client 192.168.1.20:32955
[2024-12-04T23:37:22] Info: Synergy Client: Instance of 'SynergyClient'
[2024-12-04T23:37:22] Error: 192.168.1.20:32955: SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
(OS Error: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
, errno = 10057), address = 0.0.0.0, port = 51107
[2024-12-04T23:37:36] Info: Checking Adb Server
[2024-12-04T23:37:36] Info: Trying to start adb server
[2024-12-04T23:37:37] Info: Adb devices: [192.168.1.20:32955]
[2024-12-04T23:37:37] Info: Server done
[2024-12-04T23:37:37] Error: UHID Error: SocketException: Failed to create server socket (OS Error: Only one usage of each socket address (protocol/network address/port) is normally permitted.
, errno = 10048), address = 127.0.0.1, port = 5037
[2024-12-04T23:37:37] Info: Client 192.168.1.20:32955 is connected: true
[2024-12-04T23:37:37] Info: Synergy Client: Instance of 'SynergyClient'
[2024-12-04T23:37:37] Error: 192.168.1.20:32955: SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
(OS Error: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied.
, errno = 10057), address = 0.0.0.0, port = 51111
[2024-12-04T23:37:37] Info: Client 192.168.1.20:32955 is connected: false
[2024-12-04T23:37:49] Info: Server stopped
[2024-12-04T23:37:49] Error: exitCode: -1
[2024-12-04T23:37:49] Info: Server stopped
[2024-12-04T23:37:50] Info: Trying to Start
[2024-12-04T23:37:50] Info: Synergy Config: C:\Users\Uddhav\AppData\Local\com.rohit\uni_control_hub\synergy.conf
[2024-12-04T23:37:50] Info: Server started with pid: 5564
[2024-12-04T23:37:50] NOTE: clipboard sharing is disabled
[2024-12-04T23:37:50] NOTE: started server, waiting for clients

@Uddhav07
Copy link
Author

Uddhav07 commented Dec 4, 2024

even though its connected device, it shows socket issue

@Uddhav07
Copy link
Author

Uddhav07 commented Dec 4, 2024

image

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

1 participant