Skip to content
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

Después de cambiar el password #25

Open
eduardochp opened this issue Jan 12, 2025 · 16 comments
Open

Después de cambiar el password #25

eduardochp opened this issue Jan 12, 2025 · 16 comments

Comments

@eduardochp
Copy link

Después de actualizar el password, recibo un error que me dice que consulte el log.

@Paco8
Copy link
Owner

Paco8 commented Jan 12, 2025

Asegúrate de haber puesto la clave correcta.

@eduardochp
Copy link
Author

La clave es correcta no me dice login failed. Es un error del addon, creo.

Cometí el error de crear dos perfiles con el mismo login, fue a partir de eso.

@Paco8
Copy link
Owner

Paco8 commented Jan 12, 2025

Tendrás que mandar entonces el fichero de registro, para que pueda ver qué error es

@eduardochp
Copy link
Author

A ver, porque es en la TV y no puedo acceder a los archivos igual

@Paco8
Copy link
Owner

Paco8 commented Jan 12, 2025

Puedes subir el registro a Internet usando el addon Kodi Logfile Uploader.

@eduardochp
Copy link
Author

Creo que aquí tiene lo que necesitas, y ante todo, muchas gracias!

2025-01-13 00:00:51.388 T:8722 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'requests.exceptions.ConnectionError'>
Error Contents: HTTPSConnectionPool(host='pc.orangetv.orange.es', port=443): Max retries exceeded with url: /pc/api/rtv/v1/Login?client=json&username=858812998 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0xba642ba0>: Failed to resolve 'pc.orangetv.orange.es' ([Errno 7] No address associated with hostname)"))
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connection.py", line 203, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.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

                                               The above exception was the direct cause of the following exception:
                                               
                                               Traceback (most recent call last):
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py", line 790, in urlopen
                                                   response = self._make_request(
                                                              ^^^^^^^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py", line 491, in _make_request
                                                   raise new_e
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py", line 467, in _make_request
                                                   self._validate_conn(conn)
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py", line 1096, in _validate_conn
                                                   conn.connect()
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connection.py", line 611, in connect
                                                   self.sock = sock = self._new_conn()
                                                                      ^^^^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connection.py", line 210, in _new_conn
                                                   raise NameResolutionError(self.host, self, e) from e
                                               urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0xba642ba0>: Failed to resolve 'pc.orangetv.orange.es' ([Errno 7] No address associated with hostname)
                                               
                                               The above exception was the direct cause of the following exception:
                                               
                                               Traceback (most recent call last):
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 486, in send
                                                   resp = conn.urlopen(
                                                          ^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py", line 844, in urlopen
                                                   retries = retries.increment(
                                                             ^^^^^^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib/urllib3/util/retry.py", line 515, in increment
                                                   raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                               urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='pc.orangetv.orange.es', port=443): Max retries exceeded with url: /pc/api/rtv/v1/Login?client=json&username=858812998 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0xba642ba0>: Failed to resolve 'pc.orangetv.orange.es' ([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.orange.spain/default.py", line 7, in <module>
                                                   run()
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.orange.spain/resources/lib/plugin.py", line 797, in run
                                                   o = Orange(profile_dir)
                                                       ^^^^^^^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.orange.spain/resources/lib/orange.py", line 69, in __init__
                                                   self.logged = self.login()
                                                                 ^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.orange.spain/resources/lib/orange.py", line 1235, in login
                                                   response = self.net.session.post(url, headers=headers, data=data)
                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 637, in post
                                                   return self.request("POST", url, data=data, json=json, **kwargs)
                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 589, in request
                                                   resp = self.send(prep, **send_kwargs)
                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 703, in send
                                                   r = adapter.send(request, **kwargs)
                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                 File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 519, in send
                                                   raise ConnectionError(e, request=request)
                                               requests.exceptions.ConnectionError: HTTPSConnectionPool(host='pc.orangetv.orange.es', port=443): Max retries exceeded with url: /pc/api/rtv/v1/Login?client=json&username=858812998 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0xba642ba0>: Failed to resolve 'pc.orangetv.orange.es' ([Errno 7] No address associated with hostname)"))
                                               -->End of Python script error report<--

2025-01-13 00:00:51.603 T:8720 error : GetDirectory - Error getting plugin://plugin.video.orange.spain/?action=user
2025-01-13 00:00:51.607 T:8009 error : CGUIMediaWindow::GetDirectory(plugin://plugin.video.orange.spain/?action=user) failed
2025-01-13 00:01:19.719 T:8009 info : CWinSystemAndroid::DestroyWindow
2025-01-13 00:30:49.141 T:8009 info : CAndroidUtils: SetNativeResolution: 6: 1920x1080 [email protected]

@eduardochp
Copy link
Author

Me ha vuelto a pasar en otro dispositivo, al cambiar el password.

@Paco8
Copy link
Owner

Paco8 commented Jan 13, 2025

Eso parece un problema de conexión con el servidor de orange. Estoy probando y a mí no me pasa.

@eduardochp
Copy link
Author

Estoy por probar con otra cuenta, a ver si es un bloqueo o algo similar.

@eduardochp
Copy link
Author

Tienes alguna teoría?

@Paco8
Copy link
Owner

Paco8 commented Jan 13, 2025

El error es que kodi por alguna razón no encuentra el servidor de orange. ¿Te funciona orange en un navegador web?

@eduardochp
Copy link
Author

Luego te digo, que estoy currando.

@eduardochp
Copy link
Author

He podido iniciar sesión en otro dispositivo. Con otra IP. ¿Puede estar mi IP bloqueada?

@eduardochp
Copy link
Author

El error dice que he superado los intentos. Es posible que registre la IP y el Addon intentase reiteradamente logarse. Como la contraseña era incorrecta, supero el número de intentos y lo bloqueo. Quizás durante un tiempo.

@Paco8
Copy link
Owner

Paco8 commented Jan 13, 2025

Lo importante es este error:
Failed to resolve 'pc.orangetv.orange.es' ([Errno 7] No address associated with hostname)"))

Kodi no puede conectarse a esa URL porque no la encuentra (lo intenta varias veces).

Puede ser un problema del servidor DNS que estés usando en ese aparato. Puedes probar a usar otro.

@eduardochp
Copy link
Author

Ya funciona. Parece que era algún tipo de bloqueo de Orange, tras intentar un login erróneo varias veces.

Lo curioso es que no registra el dispositivo, cuando te conectas desde cualquier dispositivo, salvo Kodi, te pide un nombre y lo almacena. Con tu Addon no. Es genial.

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

2 participants