Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGamal Ali
Front End Web Development Techdegree Student 4,907 PointsBroke pipe. What?!
This is my logcat after I try and connect to the treehouse website.
Help @benjakuben
DeviceMonitor: Adb rejected connection to client '1739': closed DeviceMonitor: Adb rejected connection to client '1740': closed ddmlib: Broken pipe java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcher.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:69) at sun.nio.ch.IOUtil.write(IOUtil.java:40) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:336) at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213) at com.android.ddmlib.Client.sendAndConsume(Client.java:642) at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:347) at com.android.ddmlib.Client.requestAllocationStatus(Client.java:488) at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:831) at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:799) at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:759) at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:648) at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44) at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:576)
ddms: Can't bind to local 8600 for debugger ddmlib: Broken pipe java.io.IOException: Broken pipe at sun.ni
3 Answers
B Kelly
3,143 PointsI had the same issue, and I noticed my Genymotion device was hung up. I closed and restarted Genymotion, then relaunched the AVD and it worked fine.
Kristen Law
16,244 PointsHi Gamal! This error usually occurs when Eclipse can't connect to the emulator properly. Have you tried restarting Eclipse?
If that doesn't work, see the links below for other possible solutions:
http://stackoverflow.com/questions/5618664/an-established-connection-was-aborted-by-the-software-in-your-host-machine
http://stackoverflow.com/questions/11065509/what-caused-ioexception-and-broken-pipe