-
Notifications
You must be signed in to change notification settings - Fork 107
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
macOS Sierra - puma dev only works when run interactively. #66
Comments
When puma-dev starts via launchd, can you try to start an app and then run |
I'll assume that #67 is the reason for this issue. |
I'm also having issues on macOS Sierra. Re-installed a bunch of time and did some debugging, but can't figure out what's wrong. Interactive-mode is working (when adding the port after .dev, eg: dashboard.dev:9280). Background-mode is not responding. All I did was follow the instructions from README.
Requests to dashboard.dev:9253 don't respond (safari keeps loading) and dashboard.dev just fail instantly. Tried looking into the code, but my Go-skills aren't there to help out. |
I can confirm the same issue @dirksierd is having on macOS Sierra. Tried to re-install many a couple times following instructions word by word, but no luck with that. The app is reachable only when puma-dev is running in foreground mode and the port is specified (e.g. @evanphx please let me know I should create a separate issue for that. |
@dirksierd @soulim Can you run |
Update: 2016-09-23 22:20
|
Hm, odd that there are 2 puma-dev instances there. Perhaps that's a change that they did in Sierra, but it should still work. So if you do |
this is what happens…
|
That's really odd. Something must have changed in Sierra that is causing the launchd stuff to not work properly. I'm not on Sierra atm (it broke my keyboard driver) so I'll have to see about how to find a way to debug this further. |
So I've been using pow in the past, but that no longer works since I'm using ActionCable with Rails. |
When I run
I've used pow before. Now I've going to walk through the pow's uninstall-script. Fingers crossed 😄 |
Wooohooo! I'm happy to confirm that solution suggested by @dirksierd worked very well for me. Most probably there was something wrong because of incorrectly uninstalled pow. Thank you very much @dirksierd and @evanphx for your help and support! 😃 |
Also using Sierra here, and getting the exact same things as @dirksierd. We were really interested in a pow alternative that worked with websockets! Running in the foreground would be an option, but we need to add the port everywhere, which screws things up a bit. Any help would be appreciated! |
@mrsimo please make sure you uninstalled pow correctly (e.g. just On the pow's website you could find instructions. Basically you need to run: curl get.pow.cx/uninstall.sh | sh See more at http://pow.cx/manual.html#section_1.2 This worked well for me. I've uninstalled pow and then re-installed puma-dev. |
Welp, thanks @soulim! I managed to get it to work. I'm 99% sure I ran the uninstall script before–in fact, running I ran it manually and everything's working fine now 👌 |
@mrsimo thanks for the tip -- I was having trouble with http (https was working) so I stepped through the script at |
In the case the script won't run and I did everything manually, it seemed |
This seems to have fixed it for me: 🎉 Thanks to @dirksierd for sending me down the pow uninstall script path. The answer lied there. The rest of this post is a documentation of my debugging adventure: I ran into this as well on 10.12.3 Beta (16D30a). I may have had Pow on this machine but I can't remember (pow's uninstall script said it wasn't found). I'm having the same results as @dirksierd:
It doesn't seem to be a difference between foregrounding/daemon but using port 80/443.
After fixing, |
It seems like I have to run |
I am not able to run in background either, but it seems like I have a different issue. Puma dev doesn't show up at all when running |
@carltonsmith yours looks like you've still got Apache running and binding to port 80. |
@ericboehs are you saying you were never able to get I've tried:
I'm currently here:
with a tail of:
but can't resolve my app:
I noticed that
|
@bradical Did you try the |
So I ended up putting puma-dev on a new computer recently and it works without issue. It's possible it could have been some leftover settings from My process was basically:
and it's working now on startup with the following LaunchAgent configuration:
|
If you have to keep running I also had a LaunchAgent that was running a script to set those rdr's up. |
I have no idea what's going on here.
If I use the launch agent to start puma-dev things lockup after booting the rails app.
If I run the app interactively, things work correctly.
I will try to turn on extra debugging in the launch agent plist but since it works interactively this is pretty hard to debug.
The text was updated successfully, but these errors were encountered: