Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl to catalogue fails in demo #27

Open
savs opened this issue Aug 30, 2024 · 0 comments
Open

curl to catalogue fails in demo #27

savs opened this issue Aug 30, 2024 · 0 comments

Comments

@savs
Copy link

savs commented Aug 30, 2024

The first instruction is to issue a curl request, but it fails:

curl -v localhost/catalogue/3395a43e-2d88-40de-b95f-e00e1502085b | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 127.0.0.1:80...

  • TCP_NODELAY set
  • connect to 127.0.0.1 port 80 failed: Connection refused
  • Failed to connect to localhost port 80: Connection refused
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  • Closing connection 0
    curl: (7) Failed to connect to localhost port 80: Connection refused

All but one pod is running:
controlplane $ kubectl get pods -n sock-shop
NAME READY STATUS RESTARTS AGE
carts-5587489766-t5qrn 1/1 Running 0 24m
carts-db-6548bf479b-fwp9w 1/1 Running 0 24m
catalogue-58dc79c975-h42sh 1/1 Running 0 24m
catalogue-db-f659c4c59-ktcvw 1/1 Running 0 24m
front-end-5c9bfbf894-7h55q 1/1 Running 0 24m
orders-64b8fb66fd-8fpvc 1/1 Running 0 24m
orders-db-85b469d778-2s64w 1/1 Running 0 23m
payment-d6fd65b86-h42lx 1/1 Running 0 23m
queue-master-7fd5784c78-s4ntw 1/1 Running 0 23m
rabbitmq-c9fd5c694-fd5tr 2/2 Running 0 23m
session-db-6d76789f68-zrlzg 1/1 Running 0 23m
shipping-58b65f576-ndtsb 1/1 Running 0 23m
user-5bd96d75fb-gdmpc 0/1 Pending 0 23m
user-db-5dc5c5f488-7z497 1/1 Running 0 23m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant