Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b1f0317e
Commit
b1f0317e
authored
Sep 08, 2021
by
Justin Farmiloe
Committed by
Marcia Ramos
Sep 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add KAS troubleshooting item for API over HTTP
parent
14f00616
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
doc/administration/clusters/kas.md
doc/administration/clusters/kas.md
+22
-0
No files found.
doc/administration/clusters/kas.md
View file @
b1f0317e
...
@@ -129,3 +129,25 @@ or the path to `config.yaml` inside the project is not valid.
...
@@ -129,3 +129,25 @@ or the path to `config.yaml` inside the project is not valid.
To fix this, ensure that the paths to the configuration repository and to the
`config.yaml`
file
To fix this, ensure that the paths to the configuration repository and to the
`config.yaml`
file
are correct.
are correct.
### KAS logs - dial tcp <GITLAB_INTERNAL_IP>:443: connect: connection refused
If you are running a self-managed GitLab instance and:
-
The instance isn't running behind an SSL-terminating proxy.
-
The instance doesn't have HTTPS configured on the GitLab instance itself.
-
The instance's hostname resolves locally to its internal IP address.
You may see the following error when the KAS tries to connect to the GitLab API:
```
json
{
"level"
:
"error"
,
"time"
:
"2021-08-16T14:56:47.289Z"
,
"msg"
:
"GetAgentInfo()"
,
"correlation_id"
:
"01FD7QE35RXXXX8R47WZFBAXTN"
,
"grpc_service"
:
"gitlab.agent.reverse_tunnel.rpc.ReverseTunnel"
,
"grpc_method"
:
"Connect"
,
"error"
:
"Get
\"
https://gitlab.example.com/api/v4/internal/kubernetes/agent_info
\"
: dial tcp 172.17.0.4:443: connect: connection refused"
}
```
To fix this for
[
Omnibus
](
https://docs.gitlab.com/omnibus/
)
package installations,
set the following parameter in
`/etc/gitlab/gitlab.rb`
(replacing
`gitlab.example.com`
with your GitLab instance's hostname):
```
ruby
gitlab_kas
[
'gitlab_address'
]
=
'http://gitlab.example.com'
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment