Closed cometoluc closed 1 year ago
Can confirm: addon stopped working on kodi (linux, vero4k) 426 client error: upgrade required for url: api.dpgmedia.net/vtmgo/..
same here (RPi - OSMC)
Can confirm:
First I suspected a token problem thus cleared token cache, but I still received the same error.
Enabling debug option in plugin gives following error in kodi.log file:
EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'requests.exceptions.HTTPError'>
Error Contents: 426 Client Error: Upgrade Required for url: https://lfvp-api.dpgmedia.net/vtmgo/tokens
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.vtm.go/addon_entry.py", line 19, in <module>
run(argv)
File "/home/osmc/.kodi/addons/plugin.video.vtm.go/resources/lib/addon.py", line 186, in run
routing.run(params)
File "/home/osmc/.kodi/addons/script.module.routing/lib/routing.py", line 130, in run
self._dispatch(self.path)
File "/home/osmc/.kodi/addons/script.module.routing/lib/routing.py", line 141, in _dispatch
view_func(**kwargs)
File "/home/osmc/.kodi/addons/plugin.video.vtm.go/resources/lib/addon.py", line 25, in index
show_login_menu()
File "/home/osmc/.kodi/addons/plugin.video.vtm.go/resources/lib/addon.py", line 39, in show_login_menu
Authentication().login()
File "/home/osmc/.kodi/addons/plugin.video.vtm.go/resources/lib/modules/authentication.py", line 49, in login
check = self._auth.authorize_check()
File "/home/osmc/.kodi/addons/plugin.video.vtm.go/resources/lib/vtmgo/vtmgoauth.py", line 121, in authorize_check
response = util.http_post('https://lfvp-api.dpgmedia.net/vtmgo/tokens', data={
File "/home/osmc/.kodi/addons/plugin.video.vtm.go/resources/lib/vtmgo/util.py", line 77, in http_post
return _request('POST', url=url, params=params, form=form, data=data, token=token, profile=profile, headers=headers)
File "/home/osmc/.kodi/addons/plugin.video.vtm.go/resources/lib/vtmgo/util.py", line 184, in _request
response.raise_for_status()
File "/home/osmc/.kodi/addons/script.module.requests/lib/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 426 Client Error: Upgrade Required for url: https://lfvp-api.dpgmedia.net/vtmgo/tokens
-->End of Python script error report<--
Same error over here. Raspberry pi 4 - osmc. And also on my vero device
Same problem on Libreelec arm64. I have it also with the Streamz addon.
The vtmgo error:
2023-01-02 17:41:31.770 T:723 ERROR
and the streamz error:
2023-01-02 20:29:58.579 T:704 ERROR
Issue is obviously something changed at the remote side.
426 Client Error: Upgrade Required for url ... See https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426
The server does not accept the protocol used by the client but will respond if the client upgrades. I haven't looked into it, but it could be that the server now wants http/2 only and the current python library "requests" doesn't support it as far as I can tell.
I tried to reactivate my login, but that doesn't seem to work anymore. Everytime I activate and start the addon, it gives me a new activation code.
Probably this is like #131 I already replaced the requests lib by the httpx lib to test if using http/2 solves it, but it doesn't. So my next guess is that the headers need to be updated in the util.py library. Currently: SESSION.headers = { 'User-Agent': 'VTMGO/12.12 (be.vmma.vtm.zenderapp; build:16424; Android 24) okhttp/4.9.3', 'x-app-version': '12', 'x-persgroep-mobile-app': 'true', 'x-persgroep-os': 'android', 'x-persgroep-os-version': '24', }
I guess someone needs to sniff the headers from a current Android app and put them in.
These headers seem to work:
SESSION.headers = {
'User-Agent': 'VTMGO/13.6 (be.vmma.vtm.zenderapp; build:16424; Android 24) okhttp/4.9.3',
'x-app-version': '13',
'x-persgroep-mobile-app': 'true',
'x-persgroep-os': 'android',
'x-persgroep-os-version': '24',
}
Can be found at the top of .kodi/addons/plugin.video.vtm.go/resources/lib/vtmgo/util.py
.
With these headers I get 400 Bad request
instead of 426 Upgrade Required
, on POST to https://lfvp-api.dpgmedia.net/vtmgo/tokens/refresh. Was this the only change you made?
is there somewhere a new vtmgo.zip file to install if this works?
I am also getting with these 'new' headers 400 Bad request errors: Error Contents: 400 Client Error: Bad Request for url: https://lfvp-api.dpgmedia.net/vtmgo/tokens
See https://github.com/add-ons/plugin.video.vtm.go/pull/343 I made a test package with a working VTM GO Add-on. Please report if something doesn't work yet. Kodi 18 plugin.video.vtm.go-1.3.2.zip Kodi 19 and 20: plugin.video.vtm.go-1.3.2+matrix.1.zip
works for me on Kodi 19.5
Should I make a separate issue for the streamz addon? It gives the same error message.
Works for me (kodi 19.5 on windows) !
Works for me (kodi 18.x on RPi3) !
plugin.video.vtm.go-1.3.2+matrix.1.zip does not work on kodi 19.3 does not work on windows7.32bit pc it installs but when i go on my pc to the link shown on the screen and i give in the correct numbers it says ok but when i try it out the same happens as before. VTMGO does not start
Now after waiting a few minutes, it works again with one big problem : i can not add movies or wathever to my list, i hear a fouldtone but no error and i cannot see a error, please help
and i cannot remove anithing in my menu
Thanks ! Working fine on Android Kodi 20 RC2 and windows 10 Kodi 19.4.
Windows 11 Kodi 19.3 with plugin.video.vtm.go-1.3.2+matrix.1.zip : working fine after update of Widevine CDM
Has anyone a idee why i cannot add or remove anything in my menu please? i tried Kodi 19 and 20: [plugin.video.vtm.go-1.3.2+matrix.1.zip to get VTMGO running again but the only issue i have is that i can not add or remove something from or to my menu
Windows 11 Kodi 19.3 with plugin.video.go-1.3.2+matrix.1.zip : i confirm, impossible to add or remove items to My Menu.
Android TV Kodi 19.3 with plugin.video.go-1.3.2+matrix1.zip : not working - 404 Client Error: Not Found for url : https://lfvp-api.....
@david63236 : thanks for confirming the menu issue nowbody reacted to my post
by the way? where can i find that Widevine CDM? And what does it do? or is this only for higher windows please
plugin.video.vtm.go-1.3.2+matrix.1.zip works on rpi4 under libreelec kodi19.4
Fixed My List: Kodi 18: plugin.video.vtm.go-1.3.2.zip Kodi 19 and 20 plugin.video.vtm.go-1.3.2+matrix.1.zip
@david63236 : thanks for confirming the menu issue nowbody reacted to my post
by the way? where can i find that Widevine CDM? And what does it do? or is this only for higher windows please
Widevine CDM (re)installation can be done from the configuration screen of the "InputStream Helper" addon (program addon)
tested fixed "My List" plugin.video.vtm.go-1.3.2+matrix.1.zip on Windows 11 Kodi 19.3 : add and remove to My List is now possible
tested fixed "My List" plugin.video.vtm.go-1.3.2+matrix.1.zip on Android TV Kodi 19.3
1) add to My List is possible
2) items already added to My List still offer the possibility to add to My List (should have the possibility to remove from My List) (same problem for Windows, so I will start a new issue for this)
3) access to My List is still impossible : 404 Client Error: Not Found for url: https://lfvp-api.dpgmedia.net/VTM_GO/detail/6ba6d1aa-daca- (delete from My List is impossible)
4) the 404 Client Error occurs on some other items to, for instance "Aanbevelingen - Internationale comedy" gives the error (same error message), but "Aanbevelingen - Vlaamse comedy" works
UPDATE: I noticed that the Aanbevelingen menu was different (longer) on Android TV than on Windows, so I did a cache clean for the vtm.go addon on Android TV and the 404 Client Error seems to be solved.
tested fixed "My List" plugin.video.vtm.go-1.3.2+matrix.1.zip on Android TV Kodi 19.3 : add and remove to My List is now possible
I've merged https://github.com/add-ons/plugin.video.vtm.go/pull/343 and will do a release soon.
Thanks @mediaminister for the fix, and all others for testing!
@@mediaminister! is the version that you put on today about 12 hours ago
Kodi 19 and 20 [plugin.video.vtm.go-1.3.2+matrix.1.zip a real fully working version where the add/remove menu is solved too please? And thanks for the great work.
i find the version with the same number a bit confusing what the last one is
VTMGO via kodi 19.3 op windows7.32bit werkt ineens niet meer vanaf vandaag.
Hebben hier anderen ook problemen mee aub?