-
Notifications
You must be signed in to change notification settings - Fork 22
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
Freeze qemu-pebble on pebble-sdk-4.2.1-mac, QEMU waiting for connection on: disconnected:tcp::54035,server #45
Comments
Same thing happening to me, on Mac OS 10.11.16, after I upgraded the SDK. My output upon the crash was:
and I removed the Is there any fix for this? Thank you! |
@iSevenDays Found the issue and how to fix it! Hope it is your case as well. TL;DR: Add this line to
Details: A while ago, @Katharine kindly explained me on the Pebble slack that the client tool indeed starts qemu with that parameter (which will map a TCP port to an emulated serial one and wait for a connection), then waits until it can connect to such port in order to continue - or, in our case, fails to connect and gives up. So I tried to manually connect to the port with $ telnet localhost 50822
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 159.203.57.211...
telnet: connect to address 159.203.57.211: Connection refused
telnet: Unable to connect to remote host
$ So I tried Once you add it, the likes of |
Indeed, the actual sequence of events here is that everything waits on everything else to avoid an assortment of race conditions:
I am somewhat surprised that |
I see, thanks for the details! I am also surprised that nothing else (on the surface) broke on my system. Despite all that, I'd consider that:
This all would make me leave it as is. Whatever you decide, thank you and the Pebble team once again for the great level of dev support (in particular for such an edge case)! |
I encountered the same issue, or at least the same symptoms. However the In any case, if anyone else stumbles in here with a similar issue: After a lot of google and poking around I found the issue (at least the one I encountered) can be solved by either of the following:
or
After the first, executing
Either should result in a properly (again) working emulator. |
I am also experiencing the same problem. Neither the /etc/host nor re-downloading the image work for me. I am working on Ubuntu 14.04LTS with tools version 4.5 and sdk 4.3. I can connect to the qemu ports manually but no joys trough the pebble command. Perhaps my python set up is a bit screwy? Any information I can provide to help debug this? |
SolutionSolved: Hopefully this helps someone running into the same problem. I wasn't able to find this solution anywhere online, so I decided to post it here. System Environment:
Half a year ago, my pebble development environment was working fine, but I've since rewired my Python variables. Other than that I'm unsure what caused the Pebble Qemu emulator to start malfunctioning, but now I know what steps will make it work again on my setup (your mileage may vary, but fingers crossed).
Failed Troubleshooting: I tried multiple reinstalls (with minor steps changed), but had totally forgotten that I began by trying solutions mentioned above in this issue, but:
None of these changes were needed for the solution which worked for me (except possibly localhost's config in
Successful Troubleshooting: The emulator immediately worked when I manually reinstalled the Pebble SDK, but removed
How to Reinstall Pebble SDK on LinuxThis is a modified combination of the following recipes:
Steps:
Running
|
@gamepad-coder Thanks for your solution! However, I'm still having the same problem of everything just freezing, even after restarting and following your steps twice. |
I've enabled debug logging
Then I found the root of the problem
I removed the line -serial tcp::54035,server
And then I saw "Pebble", "Install an app to continue...etc"
Tested on Mac OS El Capitan 10.11.5
The text was updated successfully, but these errors were encountered: