rickeylohia / plugin.video.stalkervod

Stalker VOD Kodi add-on
GNU General Public License v3.0
11 stars 3 forks source link

still getting error of "error getting token" after update to .04 #12

Closed Bash141s closed 4 months ago

Bash141s commented 9 months ago

still getting error of "error getting token" after update to .04

rickeylohia commented 9 months ago

Can you enable debug logs in kodi and provide logs

vporet commented 9 months ago

still getting error of "error getting token" after update to .04

Same for me..

logs:

2024-01-26 11:48:20.510 T:56613 error : plugin.video.stalkervod: Error getting token, statusCode=404 2024-01-26 11:48:20.510 T:56613 debug : plugin.video.stalkervod: Token Response

404 Not Found
                                               <body>
                                               <center><h1>404 Not Found</h1></center>
                                               <hr><center>openresty</center>
                                               </body>
                                               </html>

2024-01-26 11:48:20.519 T:50240 debug : ------ Window Init (DialogConfirm.xml) ------ 2024-01-26 11:48:23.087 T:50240 debug : ProcessMouse: trying mouse action leftclick 2024-01-26 11:48:23.324 T:50240 debug : ------ Window Deinit (DialogConfirm.xml) ------ 2024-01-26 11:48:23.333 T:56613 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

The problem is that the script try to open http://*URL server*/stalker_portal/server/load.php but this file doesn't exist !

Bash141s commented 9 months ago

Can you enable debug logs in kodi and provide logs

2024-01-26 20:06:14.108 T:3136 warning : plugin.video.stalkervod: We could not use the cache since it is invalid or non-existent. 2024-01-26 20:06:14.756 T:3136 error : plugin.video.stalkervod: Error getting token, statusCode=404 2024-01-26 20:06:16.344 T:8884 warning : CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running 2024-01-26 20:06:16.412 T:3136 info : Skipped 3 duplicate messages.. 2024-01-26 20:06:16.412 T:3136 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

2024-01-26 20:06:16.429 T:1464 info : CActiveAESink::OpenSink - initialize sink 2024-01-26 20:06:16.438 T:8328 error : XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.stalkervod/ 2024-01-26 20:06:16.444 T:8884 error : CGUIMediaWindow::GetDirectory(plugin://plugin.video.stalkervod/) failed

rickeylohia commented 9 months ago

still getting error of "error getting token" after update to .04

Same for me..

logs:

2024-01-26 11:48:20.510 T:56613 error : plugin.video.stalkervod: Error getting token, statusCode=404 2024-01-26 11:48:20.510 T:56613 debug : plugin.video.stalkervod: Token Response 404 Not Found

404 Not Found

openresty

2024-01-26 11:48:20.519 T:50240 debug : ------ Window Init (DialogConfirm.xml) ------ 2024-01-26 11:48:23.087 T:50240 debug : ProcessMouse: trying mouse action leftclick 2024-01-26 11:48:23.324 T:50240 debug : ------ Window Deinit (DialogConfirm.xml) ------ 2024-01-26 11:48:23.333 T:56613 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'Exception'> Traceback (most recent call last): File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/addon_entry.py", line 7, in run(argv) File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/addon.py", line 280, in run stalker_addon.router(argv[2][1:]) File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/addon.py", line 273, in router self.list_vod_categories() File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/addon.py", line 67, in list_vod_categories categories = Api.get_vod_categories() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/api.py", line 46, in get_vod_categories return Api.call_stalker_portal(params)['js'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/api.py", line 26, in call_stalker_portal token = auth.get_token(retries > 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/auth.py", line 51, in get_token raise Exception Exception -->End of Python script error report<--

The problem is that the script try to open http://_URL server_/stalker_portal/server/load.php but this file doesn't exist !

What's the URL of your IPTV portal?

Bash141s commented 9 months ago

still getting error of "error getting token" after update to .04

Same for me.. logs: 2024-01-26 11:48:20.510 T:56613 error : plugin.video.stalkervod: Error getting token, statusCode=404 2024-01-26 11:48:20.510 T:56613 debug : plugin.video.stalkervod: Token Response 404 Not Found

404 Not Found

openresty 2024-01-26 11:48:20.519 T:50240 debug : ------ Window Init (DialogConfirm.xml) ------ 2024-01-26 11:48:23.087 T:50240 debug : ProcessMouse: trying mouse action leftclick 2024-01-26 11:48:23.324 T:50240 debug : ------ Window Deinit (DialogConfirm.xml) ------ 2024-01-26 11:48:23.333 T:56613 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'Exception'> Traceback (most recent call last): File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/addon_entry.py", line 7, in run(argv) File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/addon.py", line 280, in run stalker_addon.router(argv[2][1:]) File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/addon.py", line 273, in router self.list_vod_categories() File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/addon.py", line 67, in list_vod_categories categories = Api.get_vod_categories() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/api.py", line 46, in get_vod_categories return Api.call_stalker_portal(params)['js'] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/api.py", line 26, in call_stalker_portal token = auth.get_token(retries > 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/vincentporet/Library/Application Support/Kodi/addons/plugin.video.stalkervod/lib/auth.py", line 51, in get_token raise Exception Exception -->End of Python script error report<-- The problem is that the script try to open http://_URL server_/stalker_portal/server/load.php but this file doesn't exist !

What's the URL of your IPTV portal?

http://001004.eu:8080/c/ 00:1a:79:ad:78:c0 EXPIRE ➤ January 28, 2024, 2:06 pm

rickeylohia commented 9 months ago

I see the issue, seems the portal you are using has a diff path, will push a change

albilia commented 8 months ago

Same thing here - error token. I manage to connect with the server address and mac address in other apps that I have on my iPhone and Apple TV. Server address: http://mol-2.com:8080/c/ MAC address: 00:1A:79:ca:ea:3c

I uploaded to pastebin the summary of the error message and not the entire log file. Hope it's ok. PasteBin Link: https://pastebin.com/Kee3WDgv

Thanks in advance : )

untiiis commented 7 months ago

Hello, I have exactly the same problem, in fact I've always had this problem, I've never been able to connect to a mac address.

rickeylohia commented 7 months ago

this should be resolved with v0.0.5

untiiis commented 7 months ago

Thank you for updating I tested and indeed, I don't get theerror message On the other hand, the addon only displays the movies folder and not the tv show/series

and another problem, when I try to access the movie folder, an error message is displayed

(my iptv server works on other apps)

rickeylohia commented 7 months ago

@untiiis Can you enable debug logs in kodi and provide the the log file?

untiiis commented 7 months ago

EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

error : XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.stalkervod/?action=listing&category=SD%7c%20BOX%20OFFICE&category_id=121&fav=0&page=1&search_term&update_listing=False

error : CGUIMediaWindow::GetDirectory(plugin://plugin.video.stalkervod/?action=listing&category=SD%7c%20BOX%20OFFICE&category_id=121&fav=0&page=1&search_term&update_listing=False) failed

untiiis commented 7 months ago

@rickeylohia

rickeylohia commented 7 months ago

@untiiis can you try with the new version v0.0.6

untiiis commented 7 months ago

try

@untiiis can you try with the new version v0.0.6

@rickeylohia same problem in this Version, I can't acces

rickeylohia commented 4 months ago

issues should be fixed with v1.0.0 and be available in official kodi repo soon