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

Error while proxying request: context canceled #1004

Closed
azarezade opened this issue Jan 11, 2021 · 3 comments
Closed

Error while proxying request: context canceled #1004

azarezade opened this issue Jan 11, 2021 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@azarezade
Copy link

azarezade commented Jan 11, 2021

What happened:
Deployed Kubernetes on bare-metal Ubuntu server 20.04 using microk8s and after deploying a test app, and installing and configuring dashboard add-on it seemed that all pods was deploying fine. Then I tried to connect to dashboard from outside. I can see the normal dashboard in some rare cases (second picture), but it then quickly switch to erroneous state (first picture) and returns 500 Internal Server Error.

Screenshot from 2021-01-11 17-04-24

Screenshot from 2021-01-11 17-05-52

What you expected to happen:
I expected to see dashboard alive and doesn't return 500 error.

How to reproduce it (as minimally and precisely as possible):

I use the following command to run the proxy on the master node:
kubectl proxy --address='0.0.0.0' --accept-hosts='^*$'
then login to dashboard using this address:
http://<master-node-ip>:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/#/login

More Details:
Some part of the kubectl proxy log:

I0111 13:51:59.803721 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/persistentvolume?itemsPerPage=10&page=1&sortBy=d,creationTimestamp 200 OK in 27 milliseconds
I0111 13:51:59.803734 4150304 round_trippers.go:451] Response Headers:
I0111 13:51:59.803740 4150304 round_trippers.go:454]     Content-Length: 90
I0111 13:51:59.803749 4150304 round_trippers.go:454]     Cache-Control: no-cache, private
I0111 13:51:59.803753 4150304 round_trippers.go:454]     Content-Encoding: gzip
I0111 13:51:59.803758 4150304 round_trippers.go:454]     Content-Type: application/json
I0111 13:51:59.803761 4150304 round_trippers.go:454]     Date: Mon, 11 Jan 2021 13:51:59 GMT
I0111 13:52:04.617420 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/cronjob/  matched ^.*
I0111 13:52:04.617442 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:04.617448 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/cronjob/  172.16.17.36
I0111 13:52:04.617460 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:04.617512 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Cookie: skipLoginPage=true" -H "Authorization: Bearer <masked>" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/cronjob/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:04.636906 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/daemonset/  matched ^.*
I0111 13:52:04.636935 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:04.636945 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/daemonset/  172.16.17.36
I0111 13:52:04.636968 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:04.637042 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Cookie: skipLoginPage=true" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Authorization: Bearer <masked>" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/daemonset/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:04.644039 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/deployment/  matched ^.*
I0111 13:52:04.644058 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:04.644065 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/deployment/  172.16.17.36
I0111 13:52:04.644085 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:04.644162 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Accept-Encoding: gzip, deflate" -H "Authorization: Bearer <masked>" -H "X-Forwarded-For: 172.16.19.101" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/deployment/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:04.649006 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/job/  matched ^.*
I0111 13:52:04.649033 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:04.649042 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/job/  172.16.17.36
I0111 13:52:04.649066 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:04.649174 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Authorization: Bearer <masked>" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/job/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:04.652122 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/pod/  matched ^.*
I0111 13:52:04.652143 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:04.652161 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/pod/  172.16.17.36
I0111 13:52:04.652186 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:04.652259 4150304 round_trippers.go:425] curl -k -v -XGET  -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Authorization: Bearer <masked>" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/pod/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:04.655383 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/replicaset/  matched ^.*
I0111 13:52:04.655452 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:04.655469 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/replicaset/  172.16.17.36
I0111 13:52:04.655495 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:04.655749 4150304 round_trippers.go:425] curl -k -v -XGET  -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "Authorization: Bearer <masked>" -H "X-Forwarded-For: 172.16.19.101" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/replicaset/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:07.678012 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/deployment/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp 500 Internal Server Error in 3033 milliseconds
I0111 13:52:07.678051 4150304 round_trippers.go:451] Response Headers:
I0111 13:52:07.678065 4150304 round_trippers.go:454]     Date: Mon, 11 Jan 2021 13:52:07 GMT
I0111 13:52:07.678076 4150304 round_trippers.go:454]     Cache-Control: no-cache, private
I0111 13:52:07.678091 4150304 round_trippers.go:454]     Content-Type: application/json
I0111 13:52:07.678109 4150304 round_trippers.go:454]     Content-Length: 209
I0111 13:52:07.678801 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/daemonset/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp 500 Internal Server Error in 3041 milliseconds
I0111 13:52:07.678858 4150304 round_trippers.go:451] Response Headers:
I0111 13:52:07.678884 4150304 round_trippers.go:454]     Cache-Control: no-cache, private
I0111 13:52:07.678908 4150304 round_trippers.go:454]     Content-Type: application/json
I0111 13:52:07.678929 4150304 round_trippers.go:454]     Content-Length: 209
I0111 13:52:07.678951 4150304 round_trippers.go:454]     Date: Mon, 11 Jan 2021 13:52:07 GMT
I0111 13:52:07.679506 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/replicationcontroller/  matched ^.*
I0111 13:52:07.679574 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:07.679600 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/replicationcontroller/  172.16.17.36
I0111 13:52:07.679911 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:07.679948 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/statefulset/  matched ^.*
I0111 13:52:07.679986 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:07.680015 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/statefulset/  172.16.17.36
I0111 13:52:07.680060 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:07.680175 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Authorization: Bearer <masked>" -H "Cookie: skipLoginPage=true" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/statefulset/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:07.680426 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/replicaset/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp 500 Internal Server Error in 3024 milliseconds
I0111 13:52:07.680462 4150304 round_trippers.go:451] Response Headers:
I0111 13:52:07.680497 4150304 round_trippers.go:454]     Cache-Control: no-cache, private
I0111 13:52:07.680527 4150304 round_trippers.go:454]     Content-Type: application/json
I0111 13:52:07.680563 4150304 round_trippers.go:454]     Content-Length: 209
I0111 13:52:07.680592 4150304 round_trippers.go:454]     Date: Mon, 11 Jan 2021 13:52:07 GMT
I0111 13:52:07.680670 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Authorization: Bearer <masked>" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/replicationcontroller/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:07.681389 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/cronjob/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp 500 Internal Server Error in 3063 milliseconds
I0111 13:52:07.681553 4150304 round_trippers.go:451] Response Headers:
I0111 13:52:07.681575 4150304 round_trippers.go:454]     Content-Length: 209
I0111 13:52:07.681593 4150304 round_trippers.go:454]     Date: Mon, 11 Jan 2021 13:52:07 GMT
I0111 13:52:07.681833 4150304 round_trippers.go:454]     Cache-Control: no-cache, private
I0111 13:52:07.681858 4150304 round_trippers.go:454]     Content-Type: application/json
I0111 13:52:07.681533 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/ingress/  matched ^.*
I0111 13:52:07.682210 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:07.682363 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/ingress/  172.16.17.36
I0111 13:52:07.682461 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/pod/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp 500 Internal Server Error in 3030 milliseconds
I0111 13:52:07.682517 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:07.682525 4150304 round_trippers.go:451] Response Headers:
I0111 13:52:07.682555 4150304 round_trippers.go:454]     Content-Length: 209
I0111 13:52:07.682579 4150304 round_trippers.go:454]     Date: Mon, 11 Jan 2021 13:52:07 GMT
I0111 13:52:07.682590 4150304 round_trippers.go:454]     Cache-Control: no-cache, private
I0111 13:52:07.682600 4150304 round_trippers.go:454]     Content-Type: application/json
I0111 13:52:07.682806 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Authorization: Bearer <masked>" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/ingress/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:07.683121 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/service/  matched ^.*
I0111 13:52:07.683155 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:07.683168 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/service/  172.16.17.36
I0111 13:52:07.683207 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:07.683335 4150304 round_trippers.go:425] curl -k -v -XGET  -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Authorization: Bearer <masked>" -H "Cookie: skipLoginPage=true" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/service/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:07.683505 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/job/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp 500 Internal Server Error in 3034 milliseconds
I0111 13:52:07.683535 4150304 round_trippers.go:451] Response Headers:
I0111 13:52:07.683551 4150304 round_trippers.go:454]     Cache-Control: no-cache, private
I0111 13:52:07.683567 4150304 round_trippers.go:454]     Content-Type: application/json
I0111 13:52:07.683577 4150304 round_trippers.go:454]     Content-Length: 209
I0111 13:52:07.683599 4150304 round_trippers.go:454]     Date: Mon, 11 Jan 2021 13:52:07 GMT
I0111 13:52:07.683688 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/configmap/  matched ^.*
I0111 13:52:07.683833 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:07.683859 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/configmap/  172.16.17.36
I0111 13:52:07.683902 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:07.684020 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Authorization: Bearer <masked>" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/configmap/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:07.684458 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/persistentvolume matched ^.*
I0111 13:52:07.684480 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:07.684489 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/persistentvolume 172.16.17.36
I0111 13:52:07.684506 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:07.684564 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Accept: application/json, text/plain, */*" -H "Authorization: Bearer <masked>" -H "Accept-Language: en-US,en;q=0.5" -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/persistentvolume?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:07.758762 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/replicationcontroller/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp  in 77 milliseconds
I0111 13:52:07.758830 4150304 round_trippers.go:451] Response Headers:
E0111 13:52:07.758923 4150304 proxy_server.go:144] Error while proxying request: context canceled
I0111 13:52:07.758966 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/ingress/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp  in 76 milliseconds
I0111 13:52:07.758829 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/configmap/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp  in 74 milliseconds
I0111 13:52:07.759042 4150304 round_trippers.go:451] Response Headers:
E0111 13:52:07.759240 4150304 proxy_server.go:144] Error while proxying request: context canceled
I0111 13:52:07.759066 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/statefulset/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp  in 78 milliseconds
I0111 13:52:07.759368 4150304 round_trippers.go:451] Response Headers:
E0111 13:52:07.759384 4150304 proxy_server.go:144] Error while proxying request: context canceled
I0111 13:52:07.759008 4150304 round_trippers.go:451] Response Headers:
E0111 13:52:07.759547 4150304 proxy_server.go:144] Error while proxying request: context canceled
I0111 13:52:07.759132 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/service/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp  in 75 milliseconds
I0111 13:52:07.759659 4150304 round_trippers.go:451] Response Headers:
E0111 13:52:07.759692 4150304 proxy_server.go:144] Error while proxying request: context canceled
I0111 13:52:07.759170 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/persistentvolume?itemsPerPage=10&page=1&sortBy=d,creationTimestamp  in 74 milliseconds
E0111 13:52:07.763245 4150304 proxy_server.go:144] Error while proxying request: context canceled
E0111 13:52:07.763030 4150304 proxy_server.go:144] Error while proxying request: context canceled
I0111 13:52:07.763801 4150304 proxy_server.go:88] /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/serviceaccount/  matched ^.*
I0111 13:52:07.763892 4150304 proxy_server.go:88] 172.16.17.36 matched .*
I0111 13:52:07.763904 4150304 proxy_server.go:128] Filter accepting GET /api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/serviceaccount/  172.16.17.36
I0111 13:52:07.764087 4150304 upgradeaware.go:259] Request was not an upgrade
I0111 13:52:07.764454 4150304 round_trippers.go:425] curl -k -v -XGET  -H "Accept-Encoding: gzip, deflate" -H "X-Forwarded-For: 172.16.19.101" -H "Referer: http://172.16.17.36:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/" -H "Cookie: skipLoginPage=true" -H "User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" -H "Accept: application/json, text/plain, */*" -H "Accept-Language: en-US,en;q=0.5" -H "Authorization: Bearer <masked>" 'https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/serviceaccount/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp'
I0111 13:52:07.764825 4150304 round_trippers.go:445] GET https://127.0.0.1:16443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/api/v1/serviceaccount/%20?itemsPerPage=10&page=1&sortBy=d,creationTimestamp  in 0 milliseconds
I0111 13:52:07.764961 4150304 round_trippers.go:451] Response Headers:
E0111 13:52:07.764989 4150304 proxy_server.go:144] Error while proxying request: context canceled

Environment:

  • Microk8s on ubuntu server 20.04
@azarezade azarezade added the kind/bug Categorizes issue or PR as related to a bug. label Jan 11, 2021
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Jan 11, 2021
@k8s-ci-robot
Copy link
Contributor

@azarezade: This issue is currently awaiting triage.

SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@azarezade
Copy link
Author

It seems the issue was related to my cluster configuration. After reseting kubeadm and installing again it resolved!

@edqallen
Copy link

It seems the issue was related to my cluster configuration. After reseting kubeadm and installing again it resolved!

Would you care to share what was wrong with your cluster configuration? I'm having a similar issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants