Skip to content

Common Issues

Tom Steele edited this page Oct 21, 2015 · 2 revisions

Drones

Fatal: Could not unmarshal JSON. Error invalid character 'N' looking for beginning of value

This error is reported from drones. The cause is the drone can not communicate with the API server. Ensure your the URL for LAIR_API_SERVER is correct. Some troubleshooting steps:

  • Use curl to test if the API server is responding. Replace the host and port with what is configured in y our LAIR_API_SERVER environment variable: curl -ki https://localhost:11013/api/project. If you do not receive a 401 JSON response, your API server is not available. Check your caddy configuration and ensure the server is running.
  • Try setting the host in your LAIR_API_SERVER to localhost instead of 127.0.0.1.