Connecting to https://mongoose.cloud, user test
Uploading sources (53857 bytes)
Error: Post https://mongoose.cloud/api/fwbuild/2.14.0/build: x509: certificate has expired or is not yet valid
/go/src/github.com/mongoose-os/mos/mos/build_remote.go:297:
/go/src/github.com/mongoose-os/mos/mos/build.go:223:
/go/src/github.com/mongoose-os/mos/mos/build.go:166:
/go/src/github.com/mongoose-os/mos/mos/main.go:196: build failed
My expectation & question is:
The build process worked fine until just now. What’s the problem and how to work around it without local build?
Connecting to https://mongoose.cloud, user test
Uploading sources (5500 bytes)
Error: Post https://mongoose.cloud/api/fwbuild/2.15.0/build: x509: certificate has expired or is not yet valid
/go/src/github.com/mongoose-os/mos/mos/build_remote.go:297:
/go/src/github.com/mongoose-os/mos/mos/build.go:223:
/go/src/github.com/mongoose-os/mos/mos/build.go:166:
/go/src/github.com/mongoose-os/mos/mos/main.go:196: build failed
This is still happening after a bunch of hours, so I can’t imagine the problem is with the server. I have made sure my proxy is off, and I see I can connect via ssh. Any idea why mos is giving this error?
Connecting to https://mongoose.cloud, user test
Uploading sources (1177498 bytes)
Error: Post https://mongoose.cloud/api/fwbuild/2.17.0/build: x509: certificate has expired or is not yet valid
/src/go/src/github.com/mongoose-os/mos/cli/build_remote.go:298:
/src/go/src/github.com/mongoose-os/mos/cli/build.go:221:
/src/go/src/github.com/mongoose-os/mos/cli/build.go:164:
/src/go/src/github.com/mongoose-os/mos/cli/main.go:197: build failed
It would be great if this would not happen anymore and you would have your certificates updated automatically. By the way, it looks like your servers (mDash, Licensing) have been very busy for several weeks. So the licensing for Mongoose OS, which we use productively, was temporarily not available. I see this very critically, especially for production.
$ mos build --platform esp32
Connecting to https://build.mongoose-os.com, user test
Uploading sources (2736 bytes)
Error: Post https://build.mongoose-os.com/api/fwbuild/2.20.0/build: x509: certificate has expired or is not yet valid
/src/cli/build_remote.go:329:
/src/cli/build.go:278:
/src/cli/build.go:221:
/src/cli/main.go:194: build failed
exit status 1
Command completed.