Globo.com (erro extendido) extended error

Issue #144 resolved
Roberto Campos created an issue

Hello. Do you still have support for the addon? Sportv, ppv, and various other channels do not work. Is there any other way to install it without being through the repository? What can it be?

Error extedindo

01:41:11 9590.049805 T:1518244928 ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from conf$ InsecurePlatformWarning 01:41:13 9592.948242 T:1559229504 NOTICE: Thread BackgroundLoader start, auto delete: false 01:41:21 9600.602539 T:1518244928 NOTICE: Thread LanguageInvoker start, auto delete: false 01:41:21 9600.754883 T:1518244928 NOTICE: -->Python Interpreter Initialized<-- 01:41:22 9601.916016 T:1518244928 NOTICE: [xbmcswift2] Request for "/play/1638411" matches rule for function "play" 01:41:24 9603.873047 T:1518244928 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 01:41:30 9609.300781 T:1518244928 WARNING: Previous line repeats 6 times. 01:41:30 9609.300781 T:1518244928 ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension $ SNIMissingWarning 01:41:30 9609.301758 T:1518244928 ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from conf$ InsecurePlatformWarning 01:41:31 9610.666992 T:1518244928 ERROR: Previous line repeats 1 times. 01:41:31 9610.666992 T:1518244928 ERROR: [plugin.video.globo.com] [net] No connection adapters were found for 'https:https://gsatmulti.globo.com/net/callback/?ss=c60219039ec5d0cc7c62583afe9ea3cd' 01:41:31 9610.677734 T:1518244928 ERROR: [plugin.video.globo.com] 'ascii' codec can't encode characters in position 43-44: ordinal not in range(128) 01:41:31 9610.688477 T:1968078848 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.globo.com/play/1638411] 01:41:31 9610.689453 T:1559229504 NOTICE: Thread BackgroundLoader start, auto delete: false 01:48:20 10019.885742 T:1499366464 NOTICE: Previous line repeats 3 times. 01:48:20 10019.885742 T:1499366464 NOTICE: Thread JobWorker start, auto delete: true

Comments (13)

  1. Bruno Briner

    What Kodi version are you using? The official Kodi v16.1?

    A similar problem was also reported here, where someone had to apply patch to solve SSL problem.

    A quick Google search using "Kodi SSL patch" returns several results naming Kodi Krypton v17.

  2. Roberto Campos reporter

    hello bruno! i'm using kodi 15.3 and openelec 6.0.3.

    Should I look for updates? thanks!!

  3. Bruno Briner

    I don't know if your problem would be solved with an upgrade but you can try

    Use LibreElec as a replacement of OpenElec.

  4. Roberto Campos reporter

    Briner,

    I installed the latest version of libreelec, but the error is now another. See my log. Any sugestions?

    00:20:24 46146.820312 T:1497363360 NOTICE: [xbmcswift2] Request for "/live" matches rule for function "live" 00:20:30 46152.640625 T:1453323168 NOTICE: [xbmcswift2] Request for "/sportvlive" matches rule for function "sportvlive" 00:20:33 46155.664062 T:1453323168 NOTICE: [xbmcswift2] Request for "/sportvlive/sportv" matches rule for function "play_live" 00:20:33 46156.207031 T:1453323168 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 00:20:35 46158.136719 T:1453323168 WARNING: Previous line repeats 4 times. 00:20:35 46158.136719 T:1453323168 ERROR: [plugin.video.globo.com] [net] No connection adapters were found for 'https:https://gsatmulti.globo.com/net/callback/?ss=2085747f1eee94b14941a0d4d5bd52b3' 00:20:35 46158.148438 T:1453323168 ERROR: [plugin.video.globo.com] 'ascii' codec can't encode characters in position 43-44: ordinal not in range(128) 00:20:35 46158.160156 T:1963151360 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.globo.com/sportvlive/sportv]

  5. Bruno Briner

    Roberto,

    First of all I don't have a NET(?) subscription to test your problem so it is a shot in the dark.

    Try modifying the file backends.py with the following.

    Original part.

    class net(GlobosatBackends):
        PROVIDER_ID = 64
    
        def _provider_auth(self, url, qs):
            qs.update({
                '_submit.x': '115',
                '_submit.y': '20',
                'externalSystemName': 'none',
                'password': self.password,
                'passwordHint': '',
                'selectedSecurityType': 'public',
                'username': self.username,
            })
            url = 'https://idm.netcombo.com.br/IDM/SamlAuthnServlet'
            req = self.session.post(url, data=qs)
            ipt_values_regex = r'%s=["\'](.*)["\'] '
            try:
                action = 'https:' + re.findall(ipt_values_regex % 'action', req.text)[0]
                value = re.findall(ipt_values_regex[:-1] % 'value', req.text)[0]
                # self.debug('action: %s, value: %s' % (action, value))
            except IndexError:
                raise Exception('Invalid user name or password.')
            return self.session.post(action, data={'SAMLResponse': value})
    

    With this

    class net(GlobosatBackends):
        PROVIDER_ID = 64
    
        def _provider_auth(self, url, qs):
            qs.update({
                '_submit.x': '115',
                '_submit.y': '20',
                'externalSystemName': 'none',
                'password': self.password,
                'passwordHint': '',
                'selectedSecurityType': 'public',
                'username': self.username,
            })
            url = 'https://idm.netcombo.com.br/IDM/SamlAuthnServlet'
            req = self.session.post(url, data=qs)
            ipt_values_regex = r'%s=["\'](.*)["\'] '
            try:
                action = re.findall(ipt_values_regex % 'action', req.text)[0]
                value = re.findall(ipt_values_regex[:-1] % 'value', req.text)[0]
                # self.debug('action: %s, value: %s' % (action, value))
            except IndexError:
                raise Exception('Invalid user name or password.')
            return self.session.post(action, data={'SAMLResponse': value})
    

    The modification is in this line "action = 'https:' + re.findall(ipt_values_regex % 'action', req.text)[0]". It seems that the appending "https:" is not necessary anymore, thus let's try removing it.

    I hope you know how to SSH into your LibreElec and modify the file backends.py.

    Revert back if successful.

  6. Roberto Campos reporter

    Hello Bruno!!! YEAH!! GREAT! THANKS!

    That was exactly it. thanks a lot!!!

    If you need a NET login and password, please contact inbox and lend my details to you. Whenever you need it.

  7. Ze Xant

    GloboSat NET Login fixed!

    Thanks Bruno! (vide posting above)

    Patch resolve Login e totalmente funcional para versao 1.37 (resolve Login error in version 1.38, but version 1.38 has other errors/difficulties; avoid 1.38 and use 1.37).

    Path do arquivo a ser editado (inside Zip file):

    plugin.video.globo.com-0.1.37.zip > plugin.video.globo.com> resources > lib > backends.py

  8. Log in to comment