Comments (3)
Adding some more debugging info.
netstats show nothing:
$ netstat -an | egrep "(31000|13375)"
# no results
Plist seems to be in place.
$ ls /Library/LaunchDaemons/katon.firewall.plist
katon start
as a regular user doesn't work.
$ katon start
Starting katon daemon
Could not open job overrides database at: /private/var/db/launchd.db/com.apple.launchd/overrides.plist: 13: Permission denied
launch_msg(): Socket is not connected
Done
sometimes it says this:
$ katon start
Starting katon daemon
Error: EACCES, permission denied '/Users/rsc/Library/LaunchAgents/katon.plist'
at Object.fs.openSync (fs.js:438:18)
at Object.fs.writeFileSync (fs.js:977:15)
at module.exports (/usr/local/lib/node_modules/katon/src/cli/utils/render.js:14:6)
from katon.
Okay, I got this. I got 2 problems:
/private/var/db/launchd.db/com.apple.launchd/overrides.plist
was not accessible for my user. I remedied this by temporarily doingchmod a+rw
on the file.launchctl load
doesn't work in Tmux. This makeskaton start
fail when invoked inside Tmux. (http://apple.stackexchange.com/questions/41412/using-tmux-and-pbpaste-pbcopy-and-launchctl)
I recommend adding a check for start
and status
commands to look at process.env.TMUX
. If the variable exists, exit and let the user know that katon should be invoked outside a tmux session.
from katon.
The workaround is to use reattach-to-user-namespace
to run katon: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
That is:
$ reattach-to-user-namespace katon start
$ sudo reattach-to-user-namespace katon install
from katon.
Related Issues (20)
- xip.io does not work? HOT 4
- Properly replace underscores with dashes when determining current app name HOT 1
- PHP Server Not Routing HOT 15
- Support websockets HOT 2
- Stop daemon after period of inactivity HOT 2
- Apache fighting with Katon HOT 10
- pause / resume commands HOT 1
- Security issue: binds to 0.0.0.0 by default rather than 127.0.0.1 HOT 2
- feature request: katon open w/ https instead of http HOT 3
- Rails: Command '--port' not recognized HOT 9
- Wrong log filename in error message HOT 1
- 0.10.2 doesn't include PRs 66 or 67 HOT 1
- *.xip.io links give connection refused HOT 1
- Using rails --port, katon listens on the port but doesn't forward traffic HOT 1
- Support ngrok domains
- Configure 4 second timeout on app load... HOT 4
- Xip.io resolution fails, have to reinstall katon now and then HOT 5
- Broken in OS X El Capitan HOT 6
- Support location (path) proxy routing HOT 3
- Forwarded HTTPS requests should set X-Forwarded-Proto HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from katon.