Skip to content

sportsHD links not working #131

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

Closed
mrusli70 opened this issue Sep 10, 2023 · 15 comments
Closed

sportsHD links not working #131

mrusli70 opened this issue Sep 10, 2023 · 15 comments

Comments

@mrusli70
Copy link

All SportsHD links are not working. Cannot view any video content. With Kodi 20.2

@bugatsinho
Copy link
Owner

Addon works ok.
Something in your end or ISP is blocking you.
Also try to share your log file

@ActuallyLike
Copy link

Having the same issue, same error each time, reinstalled, clear cache, etc. logs below. FirestickKodi 20.2 (but had same issue on 20.1)

                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'urllib.error.URLError'>
                                                   Error Contents: <urlopen error [Errno 7] No address associated with hostname>
                                                   Traceback (most recent call last):
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/urllib/request.py", line 1348, in do_open
                                                       h.request(req.get_method(), req.selector, req.data, headers,
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/http/client.py", line 1282, in request
                                                       self._send_request(method, url, body, headers, encode_chunked)
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/http/client.py", line 1328, in _send_request
                                                       self.endheaders(body, encode_chunked=encode_chunked)
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/http/client.py", line 1277, in endheaders
                                                       self._send_output(message_body, encode_chunked=encode_chunked)
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/http/client.py", line 1037, in _send_output
                                                       self.send(msg)
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/http/client.py", line 975, in send
                                                       self.connect()
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/http/client.py", line 1447, in connect
                                                       super().connect()
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/http/client.py", line 941, in connect
                                                       self.sock = self._create_connection(
                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/socket.py", line 827, in create_connection
                                                       for res in getaddrinfo(host, port, 0, SOCK_STREAM):
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/socket.py", line 962, in getaddrinfo
                                                       for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                   socket.gaierror: [Errno 7] No address associated with hostname
                                                   
                                                   During handling of the above exception, another exception occurred:
                                                   
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.sporthdme/default.py", line 716, in <module>
                                                       get_stream(url)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.sporthdme/default.py", line 319, in get_stream
                                                       return resolve(host, name)
                                                              ^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.sporthdme/default.py", line 512, in resolve
                                                       data = six.ensure_str(client.request(host, referer=referer))
                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.sporthdme/resources/modules/client.py", line 128, in request
                                                       response = urllib_request.urlopen(req, timeout=int(timeout))
                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/urllib/request.py", line 216, in urlopen
                                                       return opener.open(url, data, timeout)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/urllib/request.py", line 519, in open
                                                       response = self._open(req, data)
                                                                  ^^^^^^^^^^^^^^^^^^^^^
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/urllib/request.py", line 536, in _open
                                                       result = self._call_chain(self.handle_open, protocol, protocol +
                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain
                                                       result = func(*args)
                                                                ^^^^^^^^^^^
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/urllib/request.py", line 1391, in https_open
                                                       return self.do_open(http.client.HTTPSConnection, req,
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                     File "/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.11/lib/python3.11/urllib/request.py", line 1351, in do_open
                                                       raise URLError(err)
                                                   urllib.error.URLError: <urlopen error [Errno 7] No address associated with hostname>
                                                   -->End of Python script error report<--

@bugatsinho
Copy link
Owner

bugatsinho commented Nov 5, 2023 via email

@ActuallyLike
Copy link

Tried with VPN on and off, will try different settings in vpn

@Copyrighter
Copy link

Copyrighter commented Nov 10, 2023

@bugatsinho
I can confirm, links are stopped working ( worked in the past ).
Kodi v20.2 on Nvidia Shield.
Access to "https://coolrea.link/flash10" via SportsHD Add-On doesn't work, although the same device via browser is able to open the stream.

Logs:
https://github.com/Copyrighter/kodi/blob/main/SportsHD

@mrusli70
Copy link
Author

Try to uninstall and reinstall again. Just to get the latest version of sportshd. see if it working now.

@bugatsinho
Copy link
Owner

New links
istorm resolver is working after last update

Coolrea links don't work

@Copyrighter
Copy link

Copyrighter commented Nov 15, 2023

@bugatsinho
the same problem for https://istorm.live/flash1

https://github.com/Copyrighter/kodi/blob/main/SportHD%20istorm.live

tried to re-install Add-on and used over different skins, didn't resolved my problem.
can try with clean Kodi ... if You need ...

@bugatsinho
Copy link
Owner

bugatsinho commented Nov 15, 2023 via email

@bugatsinho
Copy link
Owner

bugatsinho commented Nov 15, 2023

Is working mate

image

@Copyrighter
Copy link

can You tell on what Kodi version You are running?

@bugatsinho
Copy link
Owner

20.1

@Copyrighter
Copy link

hmmm ... and SportHD version is 0.1.33?
can You try running on Kodi 20.2 version?

@Tontol1
Copy link

Tontol1 commented Nov 26, 2023

Hi,
I can confirm that links are not working on Kodi 20.2 (I've tested both on Linux Ubuntu and Firestick),
In attachment full kodi log file. But the relevant part looks like as follows:

   debug <general>: ------ Window Deinit (DialogSelect.xml) ------
   debug <general>: RESOLVE-URL: https://istorm.live/flash1
   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                              - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                        Error Type: <class 'TypeError'>
                        Error Contents: not expecting type '<class 'NoneType'>'
                            Traceback (most recent call last):
                         File "/home/userxyz/.kodi/addons/plugin.video.sporthdme/default.py", line 769, in <module>
                             get_stream(url)
                         File "/home/userxyz/.kodi/addons/plugin.video.sporthdme/default.py", line 319, in get_stream
                             return resolve(host, name)
                         File "/home/userxyz/.kodi/addons/plugin.video.sporthdme/default.py", line 632, in resolve
                             r = six.ensure_str(client.request(url))
                         File "/home/userxyz/.kodi/addons/script.module.six/lib/six.py", line 919, in ensure_str
                             raise TypeError("not expecting type '%s'" % type(s))
                       TypeError: not expecting type '<class 'NoneType'>'
                     -->End of Python script error report<--
                                                   
   debug <general>: onExecutionDone(3, /home/userxyz/.kodi/addons/plugin.video.sporthdme/default.py)

kodi.log

@Tontol1
Copy link

Tontol1 commented Nov 26, 2023

ok, solved!
Now I realize that my internet provider has activated an anti-phishing technology that blocks "suspicious" links.
This is the case for istorm ones.
Solution is to disable anti-phishing filter.

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

6 participants
@bugatsinho @Copyrighter @ActuallyLike @mrusli70 @Tontol1 and others