akhan23wgu / amazon-alexa-lg-tv

⛔️ DEPRECATED Control your LG TV (webOS 2.0+) with Amazon Alexa
57 stars 21 forks source link

Issue trying to auth #12

Open BassTeQ opened 6 years ago

BassTeQ commented 6 years ago

I'm getting the error below when trying to auth, using python v2.7. TV is connected via cable not wifi. If use a web browser an go to http://192.168.100.6:3000 I see the "Hello World" page.

brad@linux-vm ~/Documents/amazon-alexa-lg-tv $ python lgtv.py auth 192.168.100.6
Traceback (most recent call last):
  File "lgtv.py", line 480, in <module>
    ws.connect()
  File "/usr/local/lib/python2.7/dist-packages/ws4py/client/__init__.py", line 217, in connect
    self.sock.connect(self.bind_addr)
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused

Any ideas?

Thanks

akhan23wgu commented 6 years ago

Can you ping and telnet into 192.168.100.6?

BassTeQ commented 6 years ago

I'm able to successfully PING that IP, but can't telnet.

BassTeQ commented 6 years ago

Any ideas? I tried telnet/ssh on ports 22/23, is telnet listening on a different port?

Nmap scan report for LGWEBOSTV (192.168.100.6) Host is up (1.00s latency). Not shown: 992 closed ports PORT STATE SERVICE 514/tcp filtered shell 1037/tcp filtered ams 1108/tcp open ratio-adp 2001/tcp open dc 3000/tcp open ppp 3001/tcp open nessus 9080/tcp open glrpc 9998/tcp open distinct32

akhan23wgu commented 6 years ago

My results are below. What model and what version of WebOS? I have a 60UH6150.

image

BassTeQ commented 6 years ago

My results are below. What model and what version of WebOS? I have a 60UH6150.

I'll check and get back to you.

BassTeQ commented 6 years ago

I have WebOS 4.70.06

50l3r commented 5 years ago

+1 I cant auth