The command "spark compile " works when using the spark cloud, but fails when I use my local cloud, with no descriptive reason as to why. What gives?
I see the following message in my server logs:
10.0.1.18 - - [Mon, 27 Apr 2015 17:31:15 GMT] "POST /v1/binaries?access_token=[redacted] HTTP/1.1" 404 9 "-" "-"
My console:
➜ ~ spark --version
1.2.0
➜ ~ spark config identify
Current profile: santaclara
Using API: http://10.0.1.2:8080
Access token: [redacted]
➜ ~ spark list
Checking with the cloud...
Retrieving cores... (this might take a few seconds)
garagedoor (redacted) is online
Functions:
int digitalread(String args)
int digitalwrite(String args)
int analogread(String args)
int analogwrite(String args)
➜ ~ spark compile blinky.ino ## taken from docs.spark.io
Including:
blinky.ino
attempting to compile firmware
pushing file: blinky.ino
Compile failed - compile failed
EDIT:
Directly accessing 10.0.1.2:8080/v1/binaries?access_token=[redacted]
, simply gives Not Found