Running Mender 2.1 via the docker-compose scripts for the production environment as documented, using LetsEncrypt certificates for the TLS connections.
I followed the (very brief!) instructions at https://docs.mender.io/2.1/administration/storage#s3-storage-backend and have created the appropriate YAML config, updated the
run script to use that instead of the Minio one, and run my image build script.
Does anyone know why this might be happening?
Error: Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc. at b.crossDomainError (client.js:621) at XMLHttpRequest.t.onreadystatechange (client.js:703)
GET https://localhost/api/management/v1/deployments/deployments/releases net::ERR_CONNECTION_REFUSED
GET https://localhost/api/management/v1/deployments/artifacts net::ERR_CONNECTION_REFUSED
Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args=Error%3A%20Request%20has%20been%20terminated%0APossible%20causes%3A%20the%20network%20is%20offline%2C%20Origin%20is%20not%20allowed%20by%20Access-Control-Allow-Origin%2C%20the%20page%20is%20being%20unloaded%2C%20etc.&args= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at https://MY.MENDER.SERVER/ui/main.js:47:424
I’m not sure why it’s trying to access
localhost (although apparently that’s something to do with an internal system on hosted mender), and I can’t find anything more on the potential cross-origin issue either