Chrome DevTools no longer sees remote device - google-chrome

This is on a Win10 machine.
I wanted to debug a web page on my mobile phone today. I connected my phone through a USB cable and enable remote debugging through USB. I opened DevTools on Chrome and under "Remote Devices" saw a red circle with the text "Pending Authentication".
I had no idea what that meant, so I wanted to reconnect the USB cable. Just a fraction of a second before I removed the cable, I saw the red circle change to green. When I reinserted the cable again, nothing appeared in DevTools. And now, no matter what I try, the device will no longer show up.
I've tried revoking all earlier authentications on my phone, restart the adb server. Nothing helps.
Anything else I can try?

Answering my own question:
I had to turn of USB File Transer (had to switch it to "just charge this device").

Related

Chrome request not making it to server

I have a Windows 2016 Server with IIS 10.0.14393.0 installed that is maintained within an isolated VM environment. (The entire VM environment is isolated from the real-world.)
The web server is configured with three websites through IIS, and each website is assigned a dedicated IP. The contents in each of these websites is a single "hello world" html page that can be accessed via a browser from from my development workstation using Microsoft Edge, but I cannot access these pages using Chrome. The simple hello world html page was created only to assist in troubleshooting this issue.
The error received in Chrome is ERR_TIMED_OUT and based on the IIS logs, the request is never reaching the web server. IIS logs do indicate the request/reponse when accessing using Edge.
From my workstation, I can successfully ping the web server, traceroute output does not indicate any unexpected hops, etc. From all indications, the problem appears to be isolated to Chrome and only when accessing the sites on that server. I have other servers (W2016 and W2019) in the real-world with a similar configurations and real applications deployed there that work as expected with any browser.
I am using the latest Chrome Version 105.0.5195.102 (Official Build) (64-bit) and can access other web based content within this VM environment using Chrome, just not on that one server.
I am almost to the point of deleting that VM instance and starting over so any ideas/suggestions are appreciated.
The error received in Chrome is ERR_TIMED_OUT
This is a communication problem indication that there is a problem with the user's local network connection. It can appear when your internet is too slow or your connection is taking too long, or the page or website you are visiting may be too busy, or when the website in question is not set up correctly, or even if the website is trying to perform more than your server can manage.
I'm not sure if you've seen the following methods, but you can try.
Method 1: Browse in Incognito Mode and Remove Extensions.
You should first browse the website in incognito mode to check if you
can open the website normally, if so then the culprit of the
ERR_TIMED_OUT error may be your plugin or extension. Therefore, you
need to enable extensions one by one to check for errors, and if there
is an error enabling an extension, you need to remove it from your
browser.
Method 2: Delete the Default Chrome Folder
Press Win + R keys at the same time to open the Run
Type %LOCALAPPDATA%\Google\Chrome\User Data\ in the box and click OK.
Close your Chrome if it is opened.
A new window pops out, find the folder named Default. Backup the folder anywhere else, then right-click the folder to choose Delete.
After you have deleted the folder successfully, open your Chrome and
then visit the webpage again that you searched before to check if the
error still appears.
Method 3: Update Network Drivers
If your network driver is out of date, you may encounter ERR_TIMED_OUT
errors. Here's how to update network drivers.
Right-click the Start button to select Device Manager.
Scroll down to find Network Adapters and click on it to expand it.
Right-click on your network device and select Update Driver.
Select Search automatically for updated driver software option to start to search and update your network driver to a new version.
After that, restart your computer and open the sites again with Chrome
to see if you can open them.
Method 4: Disable Firewall & Antivirus Software
Sometimes, your firewall or antivirus software may cause trouble.
Therefore, you should try to disable them and check if the problem can
be solved. If you find it helpful to disable these programs, you can
check the firewall settings. Allow Chrome to connect to public or
private networks. If it doesn't work. Permanently delete these
programs, and then use other antivirus software or firewalls.
Method 5: Check Hosts File
When you meet the ERR_TIMED_OUT error accessing a specific website,
you can check the Hosts file to see if the website has been blocked.
Here is the way to do that:
Press Win + E keys at the same time to open File Explorer and then go to the Local Disk C: > Windows > System32 > Drivers > etc.
Open the host file with notepad. If you see the web address that you cannot visit, delete that entire line from the host file and save.
After that, open the Chrome and see if you can open the specific
website.
Method 6: Reinstall Chrome Browser
If none of the methods above fix the ERR_TIMED_OUT error, then you
should try reinstalling Chrome. Here is the tutorial:
Press Win + R keys at the same time to open the Run box, then type appwiz.cpl and click OK to open a new window.
Find Google Chrome in the list, and then right-click it to choose Uninstall.
After uninstalling Google Chrome successfully, you also need to delete its leftover files. Open the Run box again, then type %appdata%
and click OK to open a new window.
Find the Google folder and then right-click it to choose Delete.
Go to Google Chrome’s site to download the latest version of the browser, and then install it.
The above methods are from the web article. To avoid link being unavailable, I have also presented the details. I am not sure if the above methods can help you, but I hope you can solve the problem soon.

Emulator is turning off my ethernet connection

I am learning windows phone programming, when I run emulator it turns off ethernet connection on my laptop, but wifi still works.
How to fix it?
May be it is Hyper-V trouble?
Ethernet controller: RealTek PCIe GBE
Easiest way is just removing the Emulator customization of the network connections and then allowing it to restore them!
On the host computer, open the Hyper-V Manager
Click Action -> Virtual Switch Manager
Remove the 3 Virtual Switches that show up on the list
After this step the internet connection show have been restored; the next time you open the Emulator it will then allow you to re-add those virtual switches back.
Attention: Please be aware that you may have more entries if Hyper-V is actually used by another app than the Windows Phone Emulator!

Internet Connection in Windows Phone 8 emulator

Please help me with this.
I want to run my windows phone 8 emulator by enabling Internet connection in both the host machine and the emulator.
When i searched for enabling Internet connection, i have understood that, it needs two dedicated NIC's. One for the host machine and the other one for emulator.
SO, i thought by enabling the Ethernet and wifi connections on my laptop, it will get two separate network adapters, so that i can use one of them for the host machine and the other one for the emulator.
But i dont know how to configure.
Hi i am also having this type of problem and finally i got success.
1.go to control panel and disable Hyper-v just only unchecked all Hyper-V options.
run VMware set up you can download from here.
downloadworkstation
again go to control panel and enable Hyper-V.
4.you run the emulator you have a dialog box click Retry and click Yes
5.run VS and enjoy with internet on emulator.
This works for me:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681694(v=vs.105).aspx
Cannot connect to Internet destinations
The Windows Phone 8 Emulator uses the HTTP proxy settings from the host computer. If you can’t access Internet resources from the emulator, check with your IT administrator to make sure that your proxy settings will work with the emulator.
If your network’s proxy servers are unavailable or malfunctioning, it might be possible to restore connectivity for the emulator by disabling automatic proxy detection on the host computer. However this only works in certain network configurations.
To disable automatic proxy detection on the host computer
1.
On the host computer, open Internet Options from the Control Panel. The Internet Properties dialog box opens.
2.
In the Internet Properties dialog box, click the Connections tab.
3.
On the Connections page, click the LAN settings button. The Local Area Network (LAN) Settings dialog box opens.
4.
In the Local Area Network (LAN) Settings dialog box, deselect all the check boxes. Click OK twice to close both dialog boxes.
5.
Restart the emulator and retry the connection.

Windows Phone 8 Emulator Deployment Issue with Internet

I am facing an issue with windows 8 phone emulator.
Windows Phone emulator wasnt able to connect to Windows Phone
operating system. Phone didnt respond to connect request
This is the error that I get. When the emulator starts with internet but my application doesnot deploy. The ip that gets assigned is 192.168.137.1. Previously it worked fine,
but then suddenly it started giving this issue.
Below is the list of troubleshooting that I have performed:
169.254.xxx.xxx address set to internal emulator via dhcp, Application deployed successfully with NO internet connection
Have tried MAC address spoofing but nothing works when I use these settings.
Have changed External Virtual Switch in Sharing mode this starts the internet with ip 192.168.137.1 but application doesnot deploy
In debugger errors shown are:
Invalid pointer error
App deployment failed
Have tried Network bridging but still it doesnt work.
Created all settings manually including the internal switch and external swithch. But same issue faced when it gets 192.168.137.1 ip then internet works but application doesnt deploy.
And when it gets 169.254.xxx.xxx ip series application deploys but no internet connection.
No firewall are turned on or no antivirus is blocking any connections.
Wireless router used for network connectivity, still not successfully
Have also tried clean installation of everything but still no go.
Need help with this issue as I have been trying to get it resolved since a week.
This issue is not faced if installation is done on the same pc through a virtual machine.
What I did was :
Have allotted 4gb ram, 60gb hdd & 4 cores to the VM.
1)I installed a virtual machine with default settings.
2)Then I stopped your virtual machine (shut Windows 8 down, DO NOT suspend it).
3)At the VMWare Virtual Machine list, right click Windows 8 machine then click "Show in Finder".
4)Right click the file then click "Show package contents", then find and open with a text editor a file with the extension .vmx
5)Go till the end of the file and add this two lines (first check whether they were previously added):
hypervisor.cpuid.v0 = "FALSE"
vhv.enable = "TRUE"
6)At the VMWare Virtual Machine list, right click Windows 8, click "Preferences" then "Advanced". Choose "Intel VT-X with EPT" as "Preferred virtualization engine".
And then when I started the windows in the virtual machine it seems to be working fine without any additional setting change. However it is still not running on a physical machine
I recommend if someone is facing a similar issue then to use a Virtual Machine till this kind of issue is resolved.
Struggling with the same problem for 3 days I finally solved my issue by disabling windows firewall for "Guest or public network". I have yet to figure out what application/service to allow through so I can re-enable it.

Windows phone 8 emulator not showing maps

I am trying to create a windows phone 8 application but the emulator does not show me the map. all I get is this.
as you can see no land mass is show and no roads are shown. I have panned around and come across nothing and the emulator location is set to an area where land should show.
If I run it on my device it works fine and the map loads.
Could this be due to a port blocking issue or something silly like that.
Cheers
Mark
The approved answer might not be 100% correct. Check out the following blog post, and you will notice, that your emulator probably doesn't have an access to the internet.
http://michalstawarz.pl/2013/01/26/windows-phone-8-emulator-maps-display/
Windows Phone emulator supports Bing Map for sure.
It seems the Problem may be due to
Network Connectivity Issues with Host PC
Proxy Issues
Other Issues
Workaround for the above Issues.
If you see blank blue map screen as in http://michalstawarz.pl/2013/01/26/windows-phone-8-emulator-maps-display/ as Michael referred.
Then its good to go. Problem is Internet connectivity / proxy not configured.
If its is Network Connectivity, then troubleshoot your system network adapter. Problem may be due to limited network connectivity / PC not connected to internet.
If it is proxy then,
Get IP Address of "Internal Ethernet Port Windows Phone Emulator
Internal Switch" using IPCONFIG in CMD prompt
Then Enter it under Exception List in IE's LAN Settings >> Advanced >> Exception
Other Issues may be due to Not Configured / improper IP configuration when adapter's IP setting changed manually.
If it is the case -- then Remove all virtual adapters using Virtual Switch Manager Menu in Hyper-V Manager and RUN Emulator with ADMIN Privileges.
Maps are not supported on the Windows Phone 8 emulator.
Maps are now supported, and the original question is no longer valid.
If the answers from Micheal and Prakash doesn't solve your problem.Then try this-
Open regedit in the C:\Windows folder.
In Registry Editor open
for 64 bit Windows-
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\InternetExplorer\MAIN
\FeatureControl\FEATURE_BROWSER_EMULATION and then create XDETools.exe with hex value 2328.
for 64 bit Windows-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InternetExplorer\MAIN
\FeatureControl\FEATURE_BROWSER_EMULATION and then create XDETools.exe with hex value 2328.
Source-http://igrali.com/2012/07/30/windows-phone-location-tool-in-emulator-down-no-problem/