Closed p2p-solutions closed 6 months ago
Hi @vladichorny, may we know which version of Harbor you are using?
The best practice of your case might be restarting with sudo docker-compose down
&& sudo docker-compose up -d
to shutdown and restart all containers together instead of restarting core/portal container independently.
Hi @vladichorny, may we know which version of Harbor you are using? The best practice of your case might be restarting with
sudo docker-compose down
&&sudo docker-compose up -d
to shutdown and restart all containers together instead of restarting core/portal container independently.
sure. harbor offline installer v2.8.2 but I beleive that this issue is present in other versions as well
Hi @vladichorny, may we know which version of Harbor you are using? The best practice of your case might be restarting with
sudo docker-compose down
&&sudo docker-compose up -d
to shutdown and restart all containers together instead of restarting core/portal container independently.
Its manual solution that can't be used on on long-lived solutions. no one will check each X time if harbor is inaccessible. Currently we did a workaound. We wrote a simple script(wraped as service) that checking if one of harbor containers up time is less then ngnix container up time then restart nginx container. But its a workaround until we are waiting for a proper solution from harbor side)))
some update?
It's an issue of nginx itself, it caches upstream's IP and doesn't refresh it at running. Some additional configs can fix it but it's a bit troublesome, you can refer to theses:
I had the same issue ever, but now we are running nginx and core in a 1-1 relation in one pod, so the upstream always will be 127.0.0.1
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.
Steps to reproduce:
Thanks in advance!