Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Processing starts, but sketches won't run when localhost is not resolvable #3123
System: OS X 10.9.5
The symptoms were that Processing was working fine one day, then later sketches stopped working (or sometimes would delay opening for 1-2 minutes). No errors were displayed in Processing, logged in console .err files, or reported to OS X Console. There was a repeating error in OS X Console for an unrelated service (mtmapp: MTM fs Mount server retrying...), and troubleshooting that lead to discovering that localhost wasn't resolvable. The issue was that localhost was set to "fe80::1%lo0", and IP6 routing was somehow broken. Resetting localhost to 127.0.0.1 allowed Processing sketches to work again.
I'd like to fix this, but I can't imagine how we'd even detect that you've messed with your hosts file to cause resolution problems (outside of weird platform-specific hacks that don't work in all cases).
Certainly we can detect timeouts, but that's a long ways from "hey, why'd you mess with your hosts file?" or "your ipv6 routing is screwed up" in any fashion that would be suitable for our target audience.