add-ons / plugin.video.vtm.go

Kodi add-on to watch video-on-demand content and live streams from VTM GO.
https://github.com/add-ons/plugin.video.vtm.go/wiki
GNU General Public License v3.0
78 stars 26 forks source link

Cannot login into VTM Go - error 400 #290

Closed PieterThysebaert-TomTom closed 3 years ago

PieterThysebaert-TomTom commented 3 years ago

Describe the bug "Unknown error logging in: HTTP 400"

To Reproduce

  1. Open plugin

Expected behavior App menu shows

System vtmgo 1.2.7 Kodi version: (18.9.0) Git:leia_pi4_18.9-Leia inputstream.adaptive v2.4.7.1 LibreElec 9.2.6 / RPi4

Additional context Logfile:

2021-06-09 20:53:25.457 T:2286916464  NOTICE: [plugin.video.vtm.go] [urllib3.connectionpool] https://login2.vtm.be:443 "GET /identify?client_id=vtm-go-android HTTP/1.1" 200 4916
2021-06-09 20:53:25.460 T:2286916464  NOTICE: [plugin.video.vtm.go] [resources.lib.vtmgo.util] Got response (status=200): 
...
2021-06-09 20:53:25.460 T:2286916464  NOTICE: [plugin.video.vtm.go] [resources.lib.vtmgo.util] Sending POST https://login2.vtm.be/login: {u'userName': ...'}
2021-06-09 20:53:25.691 T:2286916464  NOTICE: [plugin.video.vtm.go] [urllib3.connectionpool] https://login2.vtm.be:443 "POST /login?client_id=vtm-go-android HTTP/1.1" 200 1844
2021-06-09 20:53:25.693 T:2286916464  NOTICE: [plugin.video.vtm.go] [resources.lib.vtmgo.util] Got response (status=200): 
...
2021-06-09 20:53:25.693 T:2286916464  NOTICE: [plugin.video.vtm.go] [resources.lib.vtmgo.util] Sending GET https://login2.vtm.be/authorize/continue
2021-06-09 20:53:25.788 T:2286916464  NOTICE: [plugin.video.vtm.go] [urllib3.connectionpool] https://login2.vtm.be:443 "GET /authorize/continue?client_id=vtm-go-android HTTP/1.1" 400 2116
2021-06-09 20:53:25.791 T:2286916464  NOTICE: [plugin.video.vtm.go] [resources.lib.vtmgo.util] Got response (status=400): <!DOCTYPE html>
                                            <html class="brand-specific-theme">
                                            <head>
                                                <meta charset="UTF-8">
                                                <meta http-equiv="X-UA-Compatible" content="IE=edge">
                                                <meta name="robots" content="noindex,nofollow">
                                                <title>Foutmelding | VTM GO</title>
                                                <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
                                                <link rel="stylesheet" href="/resources/css/main-vtmgo.css?version=5fab4d4b8ff230d91fcd08630bd3bc31">
                                                <link rel="shortcut icon" type="image/png" href="/resources/img/vtmgo/vtmgo-favicon.png?version=c4a8795a671de2fc73565dd8508b8947">
                                                <script src="/resources/scripts/pipOidcHelper.js?version=7e2917b3e15f81dd9ea181d7149f6e36"></script>

                                                        <script src="/resources/scripts/messaging.js?version=87895e4af4af86f58a040eb0b34d5386"></script>
                                                        <script>
                                                        dataLayer = [{"identity":{"screen_name":"oidcError","client_id":"vtm-go-android","client_name":"vtm-go-android","error_code":"OIDC-027","error_message":"a61a0055-f7d6-4d3a-b6e4-417790ef8540","client_version":"pip-oidc"},"pa
Warsnake2 commented 3 years ago

Same for me

FredericMa commented 3 years ago

Same for me.

Kodi 19.1 LibreELEC 9.95.4 VTM GO 1.2.7

frankdpGH commented 3 years ago

Same here on an android Kodi 19.1 plugin.video.vtm.go v1.2.7+matrix.1 installed 2021-06-09 22:42:49.188 T:11367 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

Rvhalewyn commented 3 years ago

Same here

DriesBru commented 3 years ago

Same here in kodi 18.9 on raspberry pi

mawn144 commented 3 years ago

Same here

michaelarnauts commented 3 years ago

Can you try with this zip? It seems there has been a small change to the authentication flow.

plugin.video.vtm.go-1.2.7-auth-ac2a296.zip plugin.video.vtm.go-1.2.7+matrix.1-auth-ac2a296.zip

dagwieers commented 3 years ago

Altijd handig om nieuwe issues (ook als ze gefixed zijn in de code) nog even open te houden of op zijn minst te pinnen, anders gaan andere gebruikers het niet meteen vinden op GitHub. Zeker niet als een nieuwe release nog niet is gebeurd.

michaelarnauts commented 3 years ago

Altijd handig om nieuwe issues (ook als ze gefixed zijn in de code) nog even open te houden of op zijn minst te pinnen, anders gaan andere gebruikers het niet meteen vinden op GitHub. Zeker niet als een nieuwe release nog niet is gebeurd.

Klopt, die ging vanzelf dicht toen ik #291 mergde.

freynder commented 3 years ago

Tested successfully in Leia and Matrix. Thank you very much!

TScheen commented 3 years ago

Had hetzelfde probleem en is nu opgelost. Goed om weten, VTMGO vraagt nu wel een wachtwoord van min. 10 characters. Voor deze issue was mijn paswoord maar 8 characters. Pas als je een nieuwe aanmaakt met 10, werkt alles weer.