04-23-2024 12:03 AM
Hello,
I am using Cisco Anyconnect to connect to VPN.
The system is using Duo Desktop for device health. It is already installed, running and all the checks are ok.
However, I am getting this error message and not able to proceed:
Install Duo Desktop
Your organization requires you to install Duo Desktop before logging in.
If I quit the Duo Desktop and start the VPN client, I am asked to download the app or start it.
If I click Open the app, it starts Duo Desktop, which in turn performs the device health checks and in the end still the same error message.
I am attaching the error and the Duo Desktop checks.
I doubt there might be something with browsers which it is using in the background but I am not sure.
Environment:
OS: Windows 10 PRO
AnyConnect VPN: 5.0.00556
Duo Desktop: 6.6.0
Any idea how to troubleshoot or solve?
Thanks
04-23-2024 02:30 PM
Have you enabled the option to use the system browser on your ASA 9.17+ or FTD 7.1.0+ device? https://help.duo.com/s/article/7471
04-24-2024 01:38 AM
Hello @DuoKristina ,
Thank you for your suggestion.
Unfortunately that is not the case.
- This is working on other Clients. (It even worked on this one before).
- The Client is recent and not old one.
Looking at the info in the link and also what I read around I thought there might be any issue with Internet Explorer (although the default browser is Edge). I even removed Internet Explorer from the PC and the situation is the same.
I do not know what else to check.
04-24-2024 06:50 AM
I suggest you collect Duo Desktop debug information from the client with the issue and contact Duo Support.
https://help.duo.com/s/article/5343?language=en_US
04-25-2024 03:28 AM
Hello @DuoKristina ,
Thanks a lot for the support. After getting detailed debug info, I see that there are some network (port) issues.
I am attaching the logs. In the end it is not able to find an unused port (although the ports are not used).
2024-04-25 12:23:04.3248|ERROR|DuoDeviceHealth.App|Error starting HttpsServer|System.Exception Cannot find an unused port in the specified range
I guess there is an issue with this PC network or some service but still not able to find any solution...
04-25-2024 05:43 AM
Hello @DuoKristina ,
I was looking into this forum post for similar issue.
The issue is that I do not have any issue with the port when I try to bind another service in the port. (Independent of Windows NAT driver).
C:\WINDOWS\system32>netsh int ip show excludedportrange protocol=tcp
Protocol tcp Port Exclusion Ranges
Start Port End Port
---------- --------
50000 50059 *
* - Administered port exclusions.
C:\WINDOWS\system32>python -m http.server 53101
Serving HTTP on :: port 53101 (http://[::]:53101/) ...
Keyboard interrupt received, exiting.
C:\WINDOWS\system32>
As you can see, I can create a service using http.server from python, but Duo is not able to do so.
Quite puzzled...
04-25-2024 05:55 AM
As you observed, Duo Desktop tries to start a local web listener on ports 53100 to 53111 or 63100-63101. On your PC the ports in those ranges appear to be in use. Does that PC have Docker or some other virtualization service that might have reserved those ports? Might the Windows firewall or some other firewall or security software you have running be blocking use of those ports?
A command you can use to see if the ports in those ranges have been reserved by another service is:
netsh int ipv4 show excludedportrange protocol=tcp
A command that will shows you Windows firewall rules is
netsh advfirewall firewall show rule all
If this doesn't help you figure it out please contact Duo Support. https://duo.com/support (I'm not in Support).
04-25-2024 06:14 AM
Hello @DuoKristina ,
Thank you for your answer.
As I said before, I do not have any service on that port.
Moreover, I can use the port if I try to (the python command).
Regaridng the firewall, Duo is allowed in the firewall. That's anything related.
Yes, I have virtualization and I tried uninsatalling it (Docker, WSL) it still does not work.
Please find below the command regaridng the reserved port ranges:
C:\Users\user>netsh int ip show excludedportrange protocol=tcp
Protocol tcp Port Exclusion Ranges
Start Port End Port
---------- --------
50000 50059 *
* - Administered port exclusions.
If I try to start something in port 53100, I am able to without any problem.
C:\Users\user>python -m http.server 53100
Serving HTTP on :: port 53100 (http://[::]:53100/) ...
::1 - - [25/Apr/2024 15:13:48] "GET / HTTP/1.1" 200 -
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide