Open wellisonraul opened 5 years ago
You are probably trying to add to the cart without logging in first. as a result, the cart database kept userid as "undefined" and when the system tries to read, it gets an error because there's no customer object on "undefined" userid. Please ensure to log in first before adding an item to the cart.
Hello all, this is my first post and I'm afraid maybe this is not the right way to post my problem so apologies if I did it on the wrong way.
I'm using a sock shop as a test bed for my scientific research. The cluster is made of 1 master and 2 workers in the Docker Swam Mode. I am monitoring the application to make changes in your behavior. If this happens, I scale the application. For clarity, I realized that when the numbers of microservices change: "occurs detected task failure in the Docker Swarm".
So, I took the front end log and you can see it here:
This usually occurs after the scale increases or decreases. The time between the problem and the normal sockshop is 10 minutes. However, during this time the application becomes unavailable for use. All front end microservices often fail when this problem occurs.
I don't know if the information is sufficient to understand the issue, but I can investigate and submit more.
Any help is highly appreciated. Thanks all. Wellison Santos.