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

Unable to play Videos: HTTP ERROR 410 GONE #33

Open
pizzarabe opened this issue Oct 9, 2015 · 11 comments
Open

Unable to play Videos: HTTP ERROR 410 GONE #33

pizzarabe opened this issue Oct 9, 2015 · 11 comments

Comments

@pizzarabe
Copy link

Its seems like the current created prime linkes are "GONE".

17:21:49 2565.876709 T:1549788192 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: HTTP Error 410: Gone Traceback (most recent call last): File "/home/osmc/.kodi/addons/plugin.video.prime_instant/default.py", line 1461, in playVideo(url, selectQuality=="true") File "/home/osmc/.kodi/addons/plugin.video.prime_instant/default.py", line 784, in playVideo asincontent = getUnicodePage('https://'+apiMain+'.amazon.com/cdp/catalog/GetASINDetails?version=2&format=json&asinlist='+videoID+'&deviceID='+urllib.quote_plus(matchCID[0].encode("utf8"))+'&includeRestrictions=true&deviceTypeID='+matchDID[0]+'&firmware=WIN%2017,0,0,188%20PlugIn&NumberOfResults=1') File "/home/osmc/.kodi/addons/plugin.video.prime_instant/default.py", line 1009, in getUnicodePage req = opener.open(url) File "/usr/lib/python2.7/urllib2.py", line 437, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 550, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 475, in error return self._call_chain(_args) File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain result = func(_args) File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 410: Gone -->End of Python script error report<-- 17:21:50 2566.015381 T:1957859888 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.prime_instant/?url=B00LW8EDBG&mode=playVideo]

if i open the link in a browser i get :

Gone

The requested resource
/cdp/catalog/GetASINDetails
is no longer available on this server and there is no forwarding address. Please remove all references to this resource

@Anaximelis
Copy link

Confirm this issuse.

17:21:06 T:1563423808   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                         - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                        Error Type: <class 'urllib2.HTTPError'>
                                        Error Contents: HTTP Error 410: Gone
                                        Traceback (most recent call last):
                                          File "/storage/.kodi/addons/plugin.video.prime_instant/default.py", line 1461, in <module>
                                            playVideo(url, selectQuality=="true")
                                          File "/storage/.kodi/addons/plugin.video.prime_instant/default.py", line 784, in playVideo
                                            asincontent = getUnicodePage('https://'+apiMain+'.amazon.com/cdp/catalog/GetASINDetails?version=2&format=json&asinlist='+videoID+'&deviceID='+urllib.quote_plus
                                          File "/storage/.kodi/addons/plugin.video.prime_instant/default.py", line 1009, in getUnicodePage
                                            req = opener.open(url)
                                          File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi2.arm-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 406, in open
                                          File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi2.arm-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 519, in http_response
                                          File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi2.arm-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 444, in error
                                          File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi2.arm-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
                                          File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi2.arm-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
                                        HTTPError: HTTP Error 410: Gone
                                        -->End of Python script error report<--

@JustGoscha
Copy link

Same here:

20:59:16 T:1541895232  NOTICE: https://www.amazon.de/dp/B00ERN28II/?_encoding=UTF8
20:59:18 T:1541895232  NOTICE: https://atv-ps-eu.amazon.com/cdp/catalog/GetASINDetails?version=2&format=json&asinlist=B00ERN28II&deviceID=A23BE4LR8X4BOT&includeRestrictions=true&deviceTypeID=A35LWR0L7KC0
TJ&firmware=WIN%2017,0,0,188%20PlugIn&NumberOfResults=1
20:59:19 T:1541895232   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.HTTPError'>
                                            Error Contents: HTTP Error 410: Gone
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.prime_instant/default.py", line 1461, in <module>
                                                playVideo(url, selectQuality=="true")
                                              File "/storage/.kodi/addons/plugin.video.prime_instant/default.py", line 784, in playVideo
                                                asincontent = getUnicodePage('https://'+apiMain+'.amazon.com/cdp/catalog/GetASINDetails?version=2&format=json&asinlist='+videoID+'&deviceID='+urllib.quote_
plus(matchCID[0].encode("utf8"))+'&includeRestrictions=true&deviceTypeID='+matchDID[0]+'&firmware=WIN%2017,0,0,188%20PlugIn&NumberOfResults=1')
                                              File "/storage/.kodi/addons/plugin.video.prime_instant/default.py", line 1009, in getUnicodePage
                                                req = opener.open(url)
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 406, in open
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 519, in http_response
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 444, in error
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi.arm-5.0.2/Python-2.7.3/.install_pkg/usr/lib/python2.7/urllib2.py", line 527, in http_error_defau
lt
                                            HTTPError: HTTP Error 410: Gone
                                            -->End of Python script error report<--
20:59:19 T:1969213440   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.prime_instant/?url=B00ERN28II&mode=playVideo]

@XLordKX
Copy link
Owner

XLordKX commented Oct 9, 2015

Amazon switched to HTML5 streaming finally. The old addresses were deactivated, so this addon will not work until more information about the new HTML5-Player is available.

@h0nIg
Copy link

h0nIg commented Oct 11, 2015

What do you mean with "more informations". How we can accomplish this, or can we support you on this?

@drieschel
Copy link

Probably access to an amazon account where HTML5 is enabled?

@JustGoscha
Copy link

Shouldn't it be actually easier to accomplish this, when it works over HTML5? Unless they do some complex signing bs on the front end.

@Johnnii360
Copy link

I can't login! I de- and reinstalled the addon few times but no chance.

23:35:02 T:9252 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\Johannes\AppData\Roaming\Kodi\addons\plugin.video.prime_instant\default.py", line 1499, in
index()
File "C:\Users\Johannes\AppData\Roaming\Kodi\addons\plugin.video.prime_instant\default.py", line 107, in index
loginResult = login()
File "C:\Users\Johannes\AppData\Roaming\Kodi\addons\plugin.video.prime_instant\default.py", line 1124, in login
elif signoutmatch[0].strip() != "null":
IndexError: list index out of range
-->End of Python script error report<--
23:35:02 T:3940 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.prime_instant/
23:35:02 T:3940 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.prime_instant/) failed

@thomasbreitbach
Copy link

Same issue here. I can't login.

@chuenniger
Copy link

Same issue here, can't login :(

Here are my log entries

osmc@osmc:~/.kodi$ tail -f temp/kodi.log -n 100 | grep -i error
22:46:28 135.287659 T:1958621744 ERROR: ExecuteAsync - Not executing non-existing script script.favourites
22:47:04 171.310547 T:1519383584 ERROR: GetDirectory - Error getting /home/osmc/.kodi/addons/plugin.video.prime_instant/
22:47:53 220.545761 T:1958621744 ERROR: Control 550 in window 10025 has been asked to focus, but it can't
22:49:03 290.821289 T:1583289376 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
IndexError: list index out of range
-->End of Python script error report<--
22:49:03 290.903046 T:1958621744 ERROR: Control 550 in window 10025 has been asked to focus, but it can't
22:49:03 291.087891 T:1958621744 ERROR: GetDirectory - Error getting plugin://plugin.video.prime_instant/
22:49:03 291.092743 T:1958621744 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.prime_instant/) failed
22:49:04 291.924744 T:1958621744 ERROR: ExecuteAsync - Not executing non-existing script script.favourites
23:05:49 1296.651367 T:1642271776 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
IndexError: list index out of range
-->End of Python script error report<--
23:05:49 1296.859741 T:1958621744 ERROR: GetDirectory - Error getting plugin://plugin.video.prime_instant/
23:05:49 1296.863770 T:1958621744 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.prime_instant/) failed
23:06:11 1319.036865 T:1726157856 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
IndexError: list index out of range
-->End of Python script error report<--
23:06:12 1319.273438 T:1958621744 ERROR: GetDirectory - Error getting plugin://plugin.video.prime_instant/
23:06:12 1319.277100 T:1958621744 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.prime_instant/) failed
23:08:20 1447.551514 T:1958621744 ERROR: GetDirectory - Error getting plugin://plugin.video.prime_instant/
23:08:20 1447.555054 T:1958621744 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.prime_instant/) failed
23:09:10 1497.768311 T:1958621744 ERROR: GetDirectory - Error getting plugin://plugin.video.prime_instant/
23:09:10 1497.772217 T:1958621744 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.prime_instant/) failed
23:09:13 1500.833374 T:1958621744 ERROR: ExecuteAsync - Not executing non-existing script script.favourites

@ArcTanH
Copy link

ArcTanH commented Dec 28, 2015

Confirmed.

@shamasis
Copy link

Same issue. Stuck at login loop

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