I tried to add device to SkyNet with HTTPS protocol and I found a problem.
When I POST to SkyNet to register a new device with HTTP protocol, everything look great.
Then I add another device with HTTPS protocol, only standard metadata is saved, no other custom properties.
BTW. I didn't use default config.js yet (the one use environment params) Not sure it's cause of problem or not. The config.js is locate below this post. And the version I testing is 12df854f959febfb0fde6de403fe25cd26c966e6.
I tried to add device to SkyNet with HTTPS protocol and I found a problem.
BTW. I didn't use default config.js yet (the one use environment params) Not sure it's cause of problem or not. The config.js is locate below this post. And the version I testing is 12df854f959febfb0fde6de403fe25cd26c966e6.
module.exports = { port: 3000, tls: { sslPort: 443, cert: "/certs/server.crt", key: "/certs/server.key" }, log: true, mongo: { databaseUrl: "mongodb://localhost:27017/skynet" }, redis: { host: "127.0.0.1", port: "6379", password: "pass@word1" }, rateLimits: { message: 10, data: 10, connection: 2, query: 2, whoami: 10, unthrottledIps: ["54.186.134.252"] }, plivo: { authId: "abc", authToken: "123" }, urbanAirship: { key: "abc", secret: "123" }, coap: { port: 5683, host: "localhost" }, mqtt: { databaseUrl: "mongodb://user:pass@adam.mongohq.com:1337/skynet", port: 1883, skynetPass: "Very big random password 34lkj23orfjvi3-94ufpvuha4wuef-a09v4ji0rhgouj" } };