xbmc / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS, tvOS and Windows.
https://kodi.tv/
Other
18.52k stars 6.3k forks source link

Microsoft Connect Test failed #16129

Closed HeresJonny closed 2 years ago

HeresJonny commented 5 years ago

Bug report

Describe the bug

Into the Kodi windows .exe for some reason there is a Microsoft connect test incorporated which tries to connect to http://www.msftncsi.com/ncsi.txt This address is obsolete and can never be reached, leading to Kodi becoming unresponsive for short periods of time. If this really is needed, the correct updated connect test uses www.msftconnecttest.com/connecttest.txt

Expected Behavior

Here is a clear and concise description of what was expected to happen:

Actual Behavior

Possible Fix

To Reproduce

Steps to reproduce the behavior:

Debuglog

The debuglog can be found here:

2019-05-14 22:35:04.932 T:8104 ERROR: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://www.msftncsi.com/ncsi.txt

Screenshots

Here are some links or screenshots to help explain the problem:

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Your Environment

Used Operating system:

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

Rechi commented 5 years ago

Where did you get the info that http://www.msftncsi.com/ncsi.txt is obsolete? It works fine here.

HeresJonny commented 5 years ago

https://campus.barracuda.com/product/websecuritygateway/knowledgebase/50160000000auwRAAQ/should-i-block-http-www-msftncsi-com-ncsi-txt-on-my-barracuda-product/

HeresJonny commented 5 years ago

Also, have a look at this registry key and values to see the adresses used: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet

kib commented 5 years ago

While it is true that Microsoft switched to a more complex scheme to check for internet connection with Windows 10 (first checking a dns request against dns.msftncsi.com and thén moving on to check a simple http get against the new address http://www.msftconnecttest.com/connecttest.txt) , that does not mean that they deprecated the domain or usage of http://www.msftncsi.com/ncsi.txt which was hardcoded into Windows releases until Windows 8.1.

Extended support for Windows 8.1 is until January 10, 2023 so we have at least 3,5 more years to change the URL- although it is very unlikely they will stop hosting the site immediately after support officially ends.

The bug report in itself is completely inaccurate: the address is not obsolete and cán be reached unless your network infrastructure is incorrectly configured.

We should probably change the URL though, @Rechi :)

GiannisProkopiou commented 4 years ago

Greetings,i would like to know if this is still open. If it is open let me know if there is anything other that what i see that i need to know! Thanks in advance!

gusandrianos commented 4 years ago

I don't think I ever opened a PR for this issue 🤔

GiannisProkopiou commented 4 years ago

I am sorry,it was a mistake.I edited it :/

ritik-chauhan commented 4 years ago

hello, So we only have to change the URL in the responsible file. right?

guneshmunjal commented 2 years ago

hi is this issue still open??

AbdelrhmanHan commented 2 years ago

How are you? What do you want? I don't understand what this about?

On Sun, Mar 27, 2022, 10:06 AM thexai @.***> wrote:

Closed #16129 https://github.com/xbmc/xbmc/issues/16129 via #20892 https://github.com/xbmc/xbmc/pull/20892.

— Reply to this email directly, view it on GitHub https://github.com/xbmc/xbmc/issues/16129#event-6313345012, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDR343CAPOKUTDZXGLX3PTVCAQJPANCNFSM4HM5RIQQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>