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

Authorization header requires 'Credential' parameter #115

Closed
StevenDeRoover opened this issue Jan 13, 2023 · 4 comments
Closed

Authorization header requires 'Credential' parameter #115

StevenDeRoover opened this issue Jan 13, 2023 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@StevenDeRoover
Copy link

Since yesterday, I get an error while trying to start an episode. The error log states "Authorization header requires 'Credential' parameter". Maybe GoPlay changed something?

@dJos1991
Copy link

Duplicate: #112

@StevenDeRoover
Copy link
Author

I don't think this issue is closed, and I'm not sure if it's a duplicate of #122.

I still have the same issue, with v0.4.9-matrix.1.

2023-01-15 14:27:43.219 T:12340 INFO : [plugin.video.viervijfzes] [urllib3.connectionpool] Starting new HTTPS connection (1): api.viervijfzes.be:443
2023-01-15 14:27:43.371 T:12340 INFO : Skipped 4 duplicate messages..
2023-01-15 14:27:43.371 T:12340 INFO : [plugin.video.viervijfzes] [urllib3.connectionpool] https://api.viervijfzes.be:443 "GET /content/2580b3f8-c0e6-4436-a1fa-0f643a80d06c HTTP/1.1" 403 1881
2023-01-15 14:27:43.372 T:12340 ERROR : Skipped 4 duplicate messages..
2023-01-15 14:27:43.372 T:12340 ERROR : [plugin.video.viervijfzes] [resources.lib.viervijfzes.content] {"message":"Authorization header requires 'Credential' parameter. Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization="}
2023-01-15 14:27:43.378 T:12340 ERROR : Skipped 4 duplicate messages..
2023-01-15 14:27:43.378 T:12340 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'Exception'>
Error Contents: Could not fetch data
Traceback (most recent call last):
File "C:\Users\steve\AppData\Roaming\Kodi\addons\plugin.video.viervijfzes\addon_entry.py", line 18, in
run(argv)
File "C:\Users\steve\AppData\Roaming\Kodi\addons\plugin.video.viervijfzes\resources\lib\addon.py", line 194, in run
routing.run(params)
File "C:\Users\steve\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 130, in run
self._dispatch(self.path)
File "C:\Users\steve\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 141, in _dispatch
view_func(**kwargs)
File "C:\Users\steve\AppData\Roaming\Kodi\addons\plugin.video.viervijfzes\resources\lib\addon.py", line 167, in play_catalog
Player().play(uuid)
File "C:\Users\steve\AppData\Roaming\Kodi\addons\plugin.video.viervijfzes\resources\lib\modules\player.py", line 107, in play
resolved_stream = self._resolve_stream(uuid)
File "C:\Users\steve\AppData\Roaming\Kodi\addons\plugin.video.viervijfzes\resources\lib\modules\player.py", line 138, in _resolve_stream
resolved_stream = ContentApi(auth).get_stream_by_uuid(uuid)
File "C:\Users\steve\AppData\Roaming\Kodi\addons\plugin.video.viervijfzes\resources\lib\viervijfzes\content.py", line 357, in get_stream_by_uuid
response = self._get_url(self.API_VIERVIJFZES + '/content/%s' % uuid, authentication=self._auth.get_token())
File "C:\Users\steve\AppData\Roaming\Kodi\addons\plugin.video.viervijfzes\resources\lib\viervijfzes\content.py", line 737, in _get_url
raise Exception('Could not fetch data')
Exception: Could not fetch data
-->End of Python script error report<--

@michaelarnauts
Copy link
Collaborator

Quite sure that this is fixed in the branch of mediaminister. I've merged it now.

Please try this zip: https://github.com/add-ons/plugin.video.viervijfzes/archive/refs/heads/master.zip

@michaelarnauts michaelarnauts added the duplicate This issue or pull request already exists label Jan 16, 2023
@StevenDeRoover
Copy link
Author

This fixes the problem. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants