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

server refuses addon stb_type/ver #192

Open
kotc opened this issue Sep 24, 2022 · 10 comments
Open

server refuses addon stb_type/ver #192

kotc opened this issue Sep 24, 2022 · 10 comments

Comments

@kotc
Copy link

kotc commented Sep 24, 2022

as in title, if i only put hostname or ip as a server address it tries to connect, but obviously fails on redirect. i see it in apache/nginx logs. but my portal is at custom path, for example http://someip/custom_path/c/, if i try to put the path as a server address it doesnt even try to connect (no entries in apache/nginx logs).

version: 19.0.3.1

@phunkyfish
Copy link
Member

Please add a full Debug log

@kotc
Copy link
Author

kotc commented Sep 24, 2022

how can i get it?

@kotc
Copy link
Author

kotc commented Sep 24, 2022

nvm, server entry is parsed ok, but the problem is bad stb_type/ver sent, is it possible to modify it or it's unsupported?

@kotc kotc changed the title addon failing on custom server address path server refuses addon stb_type/ver Sep 24, 2022
@kotc
Copy link
Author

kotc commented Sep 24, 2022

for other people to save them from googling:
you can ssh onto your kodi box and check location depending on the distro:
https://kodi.wiki/view/Log_file
in my case libreelec:
tail -f /storage/.kodi/temp/kodi.log |grep -i stalker

@phunkyfish
Copy link
Member

nvm, server entry is parsed ok, but the problem is bad stb_type/ver sent, is it possible to modify it or it's unsupported?

Why is it bad? Or does the add-on only support certain versions?

@kotc
Copy link
Author

kotc commented Sep 24, 2022

bad because server doesnt allow 'mag250' and probably 'old' firmware version that is sent

@kotc
Copy link
Author

kotc commented Sep 24, 2022

2022-09-24 14:57:44.410 T:3308 ERROR : AddOnLog: pvr.stalker: GetProfile: status=1 | msg=Old firmware, missing metrics or hash | block_msg=Your device is not supported.

@phunkyfish
Copy link
Member

So you need to upgrade the firmware on your device?

@kotc
Copy link
Author

kotc commented Sep 24, 2022

no, i plan to recompile addon to send proper version string (from mag254) and model type, so the server doesnt act up unnecessarily

@phunkyfish
Copy link
Member

If you get it working please PR the change here so other users can benefit from it.

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

2 participants