Facebook Like Button

Welcome Visitor! Please Login or Register
Cannot Detect Prima...
 

Cannot Detect Primary Machine Over Mobile Hotspot  

Page 1 / 2

Lep19
Posts: 4
Registered
(@lep19)
New Member
Joined: 2 weeks ago

Hello,

I have two computers, both Windows 10 and both using AMD graphics hardware. One is a PC connected through ethernet and hosting a Mobile Hotspot, and the other is a laptop. When I connect to my home network on the laptop (the same network that I'm connected to through ethernet on my PC), spacedesk works fine and is able to detect my PC. However, the performance isn't great because of my poor connection to the WiFi (my room's pretty far from the router), so I figured making a Mobile Hotspot would help with performance. However, once I'm connected to the Hotspot, spacedesk is no longer able to find the primary machine. Or at least, most of the time it can't. Occasionally, immediately after restarting the laptop, it will find my PC under the Hotspot's IP.

In terms of the troubleshooting I've done so far, I looked through the manual, and the only fix I was able to apply to my setup was enabling Network Sharing on the Hotspot, which made no difference. I've tried connecting manually using the little "+" in the viewer, but clicking it makes the viewer window crash. I've tried enabling auto-connect and then restarting in an attempt to capitalize on the aforementioned window of time after the restart, but that has yet to be successful. I've tried the HTML5 viewer, which again works fine over the home network, but when using the Hotspot it comes up with problems. When trying with the PC's IP, it returns an error asking to make sure I've used the right IP, and when using the Hotspot's IP, it starts a connection attempt that doesn't end. 

The Hotspot is able to connect to the internet just fine, and again, Network Sharing has been enabled. The only thing I can think is the "Network Segments" mentioned in the manual, which is something I'm not familiar with. Even then though, it says the devices should still be able to connect manually, so I would think the HTML5 viewer would work.

Any help would be greatly appreciated. 

7 Replies
spacedesk Lea
Posts: 127
Moderator
(@spacedesklea)
Prominent Member
Joined: 3 months ago
Hi @lep19
Please take note that when you start the Mobile hotspot on one computer, make sure you connect the other computer to this Mobile Hotspot too so that the spacedesk viewer can discover the primary machine's IP address.
Could you please try pinging the IP address of the other computer (vice versa) to check if they can reach each other (do this while both PCs are connected on Mobile Hotspot ).
 
For the viewer crash,  is your Windows Viewer the latest version (0.9.16) ?
We would like to request for error logs for analysis.
Could you please download and run Dbgview.exe (as administrator) 
and make sure that the Capture tab -> Capture Win32 and Capture Global Win32 are checked.
Then try to run the windows viewer and click the "+" button to reproduce the crash.
On the debugview screen you should find SA [xxxx:xxxx]: ..... traces.

After you reproduce the crash, please save the logs (as .txt) and send it to us by attaching it on your next reply.
Looking forward to your feedback.

Reply
Lep19
Posts: 4
Registered
(@lep19)
New Member
Joined: 2 weeks ago

Thank you for the reply. Pinging the devices resulted in a connection time out on both sides. I'm a little confused what you mean regarding connecting to the Hotspot. The PC is hosting, and the laptop is connected. As far as I'm aware, there's no way to connect a device to its own Hotspot (it doesn't show up in the WiFi list, anyways). Perhaps this could be indicative of the problem? Or maybe I'm just misunderstanding. 

I ran the tool you supplied and have attached the log. I hope it helps.

 

00000001 0.00000000 [7144] SA [7144:3396]:SASettings::SettingsOptionEnableGet SAUtilRegistryValueGet failed!
00000002 0.01211710 [7144] SA [7144:3396]:SASettings::SettingsMenuTouchGet SAUtilRegistryValueGet failed!
00000003 0.01222725 [7144] SA [7144:3396]:SASettings::MenuAdvancedEnableGet SAUtilRegistryValueGet failed!
00000004 0.05919079 [7144] SA [7144:3396]:SAUtilWindowsVersionCheck dwMajorVersion: 10 dwMinorVersion: 0
00000005 0.06000828 [7144] SA [7144:3396]:SAWndCtrlTreeView::SetViewPosition SetViewPos failed! LastError 1400
00000006 0.06102232 [7144] SA [7144:3396]:SASettings::MenuAdvancedEnableGet SAUtilRegistryValueGet failed!
00000007 0.08549733 [7144] SA [7144:3396]:SAWndCtrlTreeView::SetViewPosition SetViewPos failed! LastError 1400
00000008 0.11946096 [7144] SA [7144:3396]:SASettings::SettingsOptionEnableGet SAUtilRegistryValueGet failed!
00000009 0.14579882 [7144] SA [7144:3396]:SAWndCtrlTreeView::Create TreeView_SetImageList failed!
00000010 0.14587441 [7144] SA [7144:3396]:SAWndCtrlTreeView::Create PrivateLoadImageList failed!
00000011 0.16106223 [7144] SA [7144:3396]:SAWlanClient::IsConnected PrivateIsConnected (0) failed!
00000012 0.17735046 [7144] SA [7144:3396]:SAWlanClient::IsConnected PrivateIsConnected (0) failed!
00000013 38.30469513 [3936] ERROR FindDefaultInterface:CM_Get_Device_Interface_List_Size failed:0x00000000, InterfaceListSize = 1
00000014 38.30805588 [3936] ERROR SensorOpenByType:Failed to open sensor error:0x0000007E
00000015 38.31069946 [3936] ERROR FindDefaultInterface:CM_Get_Device_Interface_List_Size failed:0x00000000, InterfaceListSize = 1
00000016 38.31701660 [3936] ERROR SensorOpenByType:Failed to open sensor error:0x00000490

Reply
spacedesk Lea
Posts: 127
Moderator
(@spacedesklea)
Prominent Member
Joined: 3 months ago
Yes, if you started a hotspot network on your primary machine, then you only need to connect the client/secondary machine to that hotspot network.
And if pinging the IP address on both sides failed, then it indicates that they cannot reach each other.
Thank you for sending the error traces, we will analyze it.
Is it always crashing every time you click the "+" button (while connected or not connected to hotspot network)?
Looking forward to your feedback.
Reply
Lep19
Posts: 4
Registered
(@lep19)
New Member
Joined: 2 weeks ago

Pressing the "+" makes it crash every time, regardless of network. When I first installed the viewer, I was able to use the "+" a few times with no issues. Then the crashes started, and even after reinstalling it continues to do so.

Is there anything I can do about the pinging? I tried making an ICMPv4 and ICMPv6 firewall rule for both devices, but that didn't seem to help. Again, if I'm connected to the home network, the laptop can find the PC no problem. It's only when I'm on the Hotspot that there's an issue.

Reply
Page 1 / 2

spacedesk forum footer

Copyright © 2019 spacedesk Support Forum

 

  
Working

Please Login or Register