Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
New Developer
arachide
Posts: 40
Registered: ‎07-22-2012
My Device: bb10
My Carrier: china mobile
Accepted Solution

Malformed reply from SOCKS server when deploy debug_token.bar

[ Edited ]

I created the debug_token.bar

and try to deploy it to device.(blackberry device manager can recognize the device)

I called

 

/Developer/SDKs/Research\ In\ Motion/BlackBerry\ 10\ WebWorks\ SDK\ 1.0.4.5/dependencies/tools/bin/blackberry-deploy -installDebugToken /Users/myname/debug_token.bar 169.254.0.1 -password mydevicepassword

 

after 2, 3 minutes, it reported:

Error: Cannot connect: Malformed reply from SOCKS server. Please check IP address settings for the target. Try to ping the target.

 

I ping device ip at 169.254.0.1

 

it responsed:

ping 169.254.0.1
PING 169.254.0.1 (169.254.0.1): 56 data bytes
64 bytes from 169.254.0.1: icmp_seq=0 ttl=255 time=2.406 ms
64 bytes from 169.254.0.1: icmp_seq=1 ttl=255 time=0.881 ms
64 bytes from 169.254.0.1: icmp_seq=2 ttl=255 time=0.803 ms
64 bytes from 169.254.0.1: icmp_seq=3 ttl=255 time=0.869 ms
64 bytes from 169.254.0.1: icmp_seq=4 ttl=255 time=1.080 ms
64 bytes from 169.254.0.1: icmp_seq=5 ttl=255 time=0.848 ms
64 bytes from 169.254.0.1: icmp_seq=6 ttl=255 time=0.823 ms
64 bytes from 169.254.0.1: icmp_seq=7 ttl=255 time=1.175 ms
64 bytes from 169.254.0.1: icmp_seq=8 ttl=255 time=0.893 ms
64 bytes from 169.254.0.1: icmp_seq=9 ttl=255 time=1.130 ms
64 bytes from 169.254.0.1: icmp_seq=10 ttl=255 time=0.860 ms
64 bytes from 169.254.0.1: icmp_seq=11 ttl=255 time=0.819 ms

 

even I checked ndk ide, the device has been connected

 

it look likes no any problem, but can not deploy token

 

Welcome any comment

Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Malformed reply from SOCKS server when deploy debug_token.bar

Have you attempted to deploy from the NDK since it is able to connect?  It could be utilizing the connection, preventing your manually run command from connecting.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
arachide
Posts: 40
Registered: ‎07-22-2012
My Device: bb10
My Carrier: china mobile

Re: Malformed reply from SOCKS server when deploy debug_token.bar

thanks a lot

Please use plain text.