When I changed the listen port (in my Nest server code) from 3000 to 80, and the DO component port from 3000 to 80, App deployments failed with the following message:
ERROR: failed to initialize cache: failed to create image cache: accessing cache image <registry-uri> connect to repo store <registry-uri> GET <do-api-uri> unexpected status code 401 Unauthorized: {"id": "Unauthorized", "message": "Unable to authenticate you" }
I changed them both back and it deployed just fine.
Quacks like a bug. Any idea?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello @SandyGrayDolphin
This error doesn’t seem to be related to port change but might be coincident that upload to the internal container registry failed at the same time. That appears to be transient issue and you should be able to update the port and it might work on next attempt. Please give it a try once again.
If the issue persists then please reach out to support team for help.
Thanks, Dikshith
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.