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
0c83fee7
Commit
0c83fee7
authored
Jan 11, 2019
by
Cody West
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add troubleshooting section
Add troubleshooting section to the slack project integration doc.
parent
c4798ba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
1 deletion
+42
-1
doc/user/project/integrations/slack.md
doc/user/project/integrations/slack.md
+42
-1
No files found.
doc/user/project/integrations/slack.md
View file @
0c83fee7
...
@@ -23,4 +23,45 @@ The Slack Notifications Service allows your GitLab project to send events (e.g.
...
@@ -23,4 +23,45 @@ The Slack Notifications Service allows your GitLab project to send events (e.g.
Your Slack team will now start receiving GitLab event notifications as configured.
Your Slack team will now start receiving GitLab event notifications as configured.
![
Slack configuration
](
img/slack_configuration.png
)
![
Slack configuration
](
img/slack_configuration.png
)
\ No newline at end of file
## Troubleshooting
If you're having trouble with the Slack integration not working, then start by
searching through the sidekiq logs for errors relating to your Slack service.
### Something went wrong on our end
This is a generic error shown in the GitLab UI and doesn't mean much by itself.
You'll need to look in the logs to find an error message and keep troubleshooting
from there.
### certificate verify failed
This is probably a problem either with GitLab communicating with Slack, or GitLab
communicating with itself. The former is less likely since Slack's security certificates
should _hopefully_ always be trusted. We can establish which we're dealing with by using
the below test script.
```
ruby
#!/opt/gitlab/embedded/bin/ruby
# the shebang should be changed if you're not using Omnibus GitLab
require
'openssl'
require
'net/http'
puts
"testing Slack"
# replace <SLACK URL> with your actual Slack URL
Net
::
HTTP
.
get
(
URI
(
'https://<SLACK URL>'
))
puts
"testing GitLab"
# replace <GITLAB URL> with your actual GitLab URL
Net
::
HTTP
.
get
(
URI
(
'https://<GITLAB URL>'
))
```
If it's an issue with GitLab not trusting connections to Slack, then the GitLab
OpenSSL trust store probably got messed up somehow. Typically this is from overriding
the trust store with
`gitlab_rails['env'] = {"SSL_CERT_FILE" => "/path/to/file.pem"}`
or by accidentally modifying the default CA bundle
`/opt/gitlab/embedded/ssl/certs/cacertpem`
.
If it's an issue with GitLab not trusting HTTPS connections to itself, then you may simply
need to
[
add your certificate to GitLab's trusted certificates
](
https://docs.gitlab.com/omnibus/settings/ssl.html#install-custom-public-certificates
)
.
\ No newline at end of file
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