Closed zarvox closed 8 years ago
Ah so I was crashing the Daemons. I can't possibly do authentication without headers, and I can't reason why the Daemons would need that functionality. I think some other code may be calling getAdapter coincidentally, and if I just return PhutilEmptyAuthAdapter (when in CLI mode), it'll work just fine.
Resolved in: 06b0a09cc73f4d1aa44bed8ee27c07147c320bfd
This might break in the future, I'm not 100% confident that i haven't broken some unrelated thing, but everything LOOKS fine.
steps to reproduce:
Then, in the UI, you see details stuck on "Importing..."
Looking in the grain logs, you find in
/opt/sandstorm/var/sandstorm/grains/RWXEZSpB9KB7MKR5b6tPZB/sandbox/tmp/phd/log/daemons.log
the following:It looks like we'll need to figure out a way to not break when running in the CLI context.