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

Winerror 10061 on 2014 WebOs #1

Open
xocox opened this issue Jan 25, 2015 · 9 comments
Open

Winerror 10061 on 2014 WebOs #1

xocox opened this issue Jan 25, 2015 · 9 comments

Comments

@xocox
Copy link

xocox commented Jan 25, 2015

Hello, thanks to all. Script seems to almost work fine, Last message before Winerror is Testing protocol: roap.
Please help

@ypid
Copy link
Owner

ypid commented Jan 25, 2015

Could be related to [Errno 61] Connection refused #7 or Lawouach/WebSocket-for-Python#130, https://stackoverflow.com/questions/20437701/winerror-10061-no-connection-could-be-made

Can you provide the full output of the program?
I exclusively use GNU/Linux, have you tried running it on Linux 😄 ?

@xocox
Copy link
Author

xocox commented Jan 25, 2015

Thanks for the support. This is the entire output, it is as the related issues u linked, some times it loads a protocol and sometimes the other with the same result. I have no linux and knows a little about how to provide you other reports but if you explain I'll try, I have a rooted android phone and I have two remote apps that works with the WebOs Tv flawless (one from LG and the other from AnyMote)

Microsoft Windows [Versión 6.3.9600]
(c) 2013 Microsoft Corporation. Todos los derechos reservados.
C:\Python34\Scripts>lgcommander.py
# DEBUG: Returned: HTTP/1.1 200 OK
Location: http://192.168.1.42:1091/
Cache-Control: max-age=1800
Server: Linux/i686 UPnP/1,0 DLNADOC/1.50 LGE WebOS TV/Version 0.9
EXT:
USN: uuid:40dbd6fa-10d3-4cb4-5ed7-03ee81aa4ed8::urn:schemas-upnp-org:device:Medi
aRenderer:1
ST: urn:schemas-upnp-org:device:MediaRenderer:1
Date: Sun, 25 Jan 2015 16:14:14 GMT
DLNADeviceName.lge.com: LG%20Smart%2b%20TV

# DEBUG: Found device: 192.168.1.42
# INFO: Using device: 192.168.1.42 over transport protocol: 8080/tcp
# DEBUG: Detecting accepted protocol.
# DEBUG: Testing protocol: hdcp
[WinError 10061] No se puede establecer una conexión ya que el equipo de destino
 denegó expresamente dicha conexión

@ypid
Copy link
Owner

ypid commented Jan 25, 2015

Thanks, I allowed myself to fixup the code block in your comment (just add four spaces in front of a code block).

I have a rooted android phone and I have two remote apps that works with the WebOs Tv flawless (one from LG and the other from AnyMote)

That is what I wanted to hear 😄
I think the easiest way to run tcpdump on an rooted Android is to chroot into a Debian. I have tested this with Lil' Debi. You will need to get Debian up and running and then run the tcpdump command which will capture all the network traffic to your TV over your wireless adapter. Then upload that file somewhere or mail it to me.

@xocox
Copy link
Author

xocox commented Jan 25, 2015

Hello, I'm sending by email the captured file after using LG WebOs remote app which asks for a keypass on TV screen. If this won't work I can send the Anymote one which doest request keypass

@xocox
Copy link
Author

xocox commented Jan 26, 2015

Errr sorry for the questions but... how do I need to attach captured file? I tried through email but it doesn't leave my outbox and on this page I see no option to attach :(

@ypid
Copy link
Owner

ypid commented Jan 26, 2015

I guess you can zip it and then attach it? Else you can upload it here: https://mega.co.nz/ (you can also encrypted the file first, send me the key and upload the encrypted file, see my gpg keys https://wiki.openstreetmap.org/wiki/User:Ypid)

@ypid
Copy link
Owner

ypid commented Jan 28, 2015

Ok thanks very much for providing the pcap. I will have a look at it … It seems that they now use JSON as format which is nice.

ypid added a commit that referenced this issue Feb 21, 2015
Protocol is completely different to the currently supported once.
@ypid
Copy link
Owner

ypid commented Feb 21, 2015

I looked at the trace and documented it.
What commands did you send, when you recorded the trace?

The protocol seems to be completely new. I am afraid that I will probably not implement support for this right now because of the work that would be involved to do so. Maybe someone else with an TV to test and some free time can continue.

@xocox
Copy link
Author

xocox commented Feb 21, 2015

I remember I just opened the app and registered with the TV. The app finds the TV through the router and then TV show a code that must be entered on the app. Then you have an almost total control of the TV fron the app as usual tv remote plus trackpad, keyboard, applist launcher, etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants