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 renew session using shell script #244

Open
brugsy opened this issue Aug 19, 2024 · 7 comments
Open

Unable to renew session using shell script #244

brugsy opened this issue Aug 19, 2024 · 7 comments

Comments

@brugsy
Copy link

brugsy commented Aug 19, 2024

First issue was /tmp/webos_devmode_token_LG.txt did not exist, so i created it. Next issue was:

Unable to negotiate with 192.168.1.223 port 9922: no matching host key type found. Their offer: ssh-rsa
Unable to get token

How can I do this? The IFTTT seems to be behind a paywall now. I was hoping to run this on my OpenWRT router.

thanks.

@brugsy
Copy link
Author

brugsy commented Aug 19, 2024

I updated, and now different issue, version 1.13.3:

root@OpenWrt:~# ./tv.sh
Your identification has been saved with the new passphrase.
Got SESSION_TOKEN from TV - writing to /tmp/webos_devmode_token_TV2.txt
{"result":"success","errorCode":"200","errorMsg":"GNL"}

Seems to work but the session time does not increase. Even after restart

@mariotaku
Copy link
Member

Hi, when you restart the TV, do you mean it's been completely powered off?

@brugsy
Copy link
Author

brugsy commented Aug 19, 2024

Hi, when you restart the TV, do you mean it's been completely powered off?

I hit the power button. There is not an easy hard reset (I believe) so besides unplugging it, the power button is all I'm restarting with.

@brugsy
Copy link
Author

brugsy commented Aug 21, 2024

Tv is on 4.41.05 software

@brugsy
Copy link
Author

brugsy commented Sep 1, 2024

I also get this response

Your identification has been saved with the new passphrase.
ssh: connect to host 192.168.1.223 port 9922: Operation timed out
ssh into TV failed, loading previous SESSION_TOKEN from /tmp/webos_devmode_token_TV2.txt
{"result":"success","errorCode":"200","errorMsg":"GNL"}

@brugsy
Copy link
Author

brugsy commented Sep 3, 2024

@mariotaku Do you have any updates on this issue? Thanks

@mariotaku
Copy link
Member

Hi, if you get the result: success message, then on server side the timer has been extended successfully.

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