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 from server (InternalError): an error on the server ("") has prevented the request from succeeding #69

Open
Newbsylberry opened this issue Sep 19, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@Newbsylberry
Copy link

Newbsylberry commented Sep 19, 2020

I'm getting an error when trying to interact with the API server after running the ansible playbooks.

For example:

kubectl version -v=7

returns:

I0919 15:36:53.284723 26829 helpers.go:216] server response object: [{ "metadata": {}, "status": "Failure", "message": "an error on the server (\"\") has prevented the request from succeeding", "reason": "InternalError", "details": { "causes": [ { "reason": "UnexpectedServerResponse" } ], "retryAfterSeconds": 1 }, "code": 500 }] F0919 15:36:53.290235 26829 helpers.go:115] Error from server (InternalError): an error on the server ("") has prevented the request from succeeding

more verbose log:

I0919 15:36:44.210820 26829 loader.go:375] Config loaded from file: /root/.kube/config I0919 15:36:44.219184 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:44.219278 26829 round_trippers.go:427] Request Headers: I0919 15:36:44.219329 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:44.219373 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:44.223377 26829 round_trippers.go:446] Response Status: in 3 milliseconds I0919 15:36:44.223647 26829 request.go:907] Got a Retry-After 1s response for attempt 1 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:45.224344 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:45.224479 26829 round_trippers.go:427] Request Headers: I0919 15:36:45.224553 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:45.224626 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:45.230181 26829 round_trippers.go:446] Response Status: in 5 milliseconds I0919 15:36:45.230423 26829 request.go:907] Got a Retry-After 1s response for attempt 2 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:46.230990 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:46.231127 26829 round_trippers.go:427] Request Headers: I0919 15:36:46.231201 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:46.231263 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:46.236819 26829 round_trippers.go:446] Response Status: in 5 milliseconds I0919 15:36:46.237126 26829 request.go:907] Got a Retry-After 1s response for attempt 3 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:47.237777 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:47.237910 26829 round_trippers.go:427] Request Headers: I0919 15:36:47.237985 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:47.238058 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:47.243364 26829 round_trippers.go:446] Response Status: in 5 milliseconds I0919 15:36:47.243747 26829 request.go:907] Got a Retry-After 1s response for attempt 4 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:48.244409 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:48.244600 26829 round_trippers.go:427] Request Headers: I0919 15:36:48.244691 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:48.244759 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:48.249878 26829 round_trippers.go:446] Response Status: in 5 milliseconds I0919 15:36:48.250088 26829 request.go:907] Got a Retry-After 1s response for attempt 5 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:49.250792 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:49.250926 26829 round_trippers.go:427] Request Headers: I0919 15:36:49.251010 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:49.251081 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:49.256156 26829 round_trippers.go:446] Response Status: in 4 milliseconds I0919 15:36:49.256523 26829 request.go:907] Got a Retry-After 1s response for attempt 6 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:50.257103 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:50.257229 26829 round_trippers.go:427] Request Headers: I0919 15:36:50.257305 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:50.257386 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:50.263074 26829 round_trippers.go:446] Response Status: in 5 milliseconds I0919 15:36:50.263310 26829 request.go:907] Got a Retry-After 1s response for attempt 7 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:51.263902 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:51.264035 26829 round_trippers.go:427] Request Headers: I0919 15:36:51.264099 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:51.264160 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:51.269304 26829 round_trippers.go:446] Response Status: in 5 milliseconds I0919 15:36:51.269703 26829 request.go:907] Got a Retry-After 1s response for attempt 8 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:52.270287 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:52.270417 26829 round_trippers.go:427] Request Headers: I0919 15:36:52.270502 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:52.270575 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:52.275766 26829 round_trippers.go:446] Response Status: in 5 milliseconds I0919 15:36:52.275985 26829 request.go:907] Got a Retry-After 1s response for attempt 9 to https://192.168.1.200:8443/version?timeout=32s I0919 15:36:53.276607 26829 round_trippers.go:420] GET https://192.168.1.200:8443/version?timeout=32s I0919 15:36:53.276732 26829 round_trippers.go:427] Request Headers: I0919 15:36:53.276860 26829 round_trippers.go:431] Accept: application/json, */* I0919 15:36:53.276935 26829 round_trippers.go:431] User-Agent: kubectl/v1.18.6 (linux/arm64) kubernetes/dff82dc I0919 15:36:53.282774 26829 round_trippers.go:446] Response Status: in 5 milliseconds Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:58:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/arm64"} I0919 15:36:53.284723 26829 helpers.go:216] server response object: [{ "metadata": {}, "status": "Failure", "message": "an error on the server (\"\") has prevented the request from succeeding", "reason": "InternalError", "details": { "causes": [ { "reason": "UnexpectedServerResponse" } ], "retryAfterSeconds": 1 }, "code": 500 }] F0919 15:36:53.290235 26829 helpers.go:115] Error from server (InternalError): an error on the server ("") has prevented the request from succeeding

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Sep 19, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.97. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@xunholy
Copy link
Member

xunholy commented Sep 28, 2020

@Newbsylberry is this still occurring? Where there any errors in the playbook execution? Is this also a single node cluster?

@xunholy
Copy link
Member

xunholy commented Dec 6, 2020

@Newbsylberry just confirming if this is still an occurring issue or if I can close this ticket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants