Service Desk Troubleshooting
Basic process on troubleshooting Service Desk within GitLab.com.
Overview
Users can experience various issues while utilizing Service Desk. This guide walks through troubleshooting when an email does not generate a Service Desk issue.
See also, the Service Desk runbook doc.
Troubleshooting Steps
-
When an issue related to Service Desk is received, verify with the customer these common occurrences are not applicable:
- Attachments cannot be over 100MiB
- Emails with
Auto-Submitted
orX-Autoreply
in the header are ignored - See the Participants in Service Desk epic for known limitations.
-
If known issues above are not the cause, request the following from the user:
- The source email (including headers) for an example email sent to the Service Desk which did not create an issue. If possible, request the source email be provided as an
.eml
file to preserve the email headers. - A link to the GitLab.com project which the email was attempting to send to.
- Did the sender receive a reply (failure)? If yes,
- Request a screenshot of the failure message.
- Search Kibana by any of the following:
- In Rails: Sender’s IP address (
json.remote_ip
) - In Sidekiq: Service Desk Email (
json.to_address
) - In Sidekiq: Message ID (
json.mail_uid
)
- In Rails: Sender’s IP address (
- Search the
mg.gitlab.com
mail logs in Mailgun for suppressions - Create an issue in the GitLab issue tracker providing all information found
- Did the sender receive a reply (failure)? If no,
- Send a Slack message to #production, asking for a check of the spam folder in the
incoming
gmailbox for the Service Desk target email
- Send a Slack message to #production, asking for a check of the spam folder in the
- The source email (including headers) for an example email sent to the Service Desk which did not create an issue. If possible, request the source email be provided as an
Email to Service Desk Email Flow
graph TD; subgraph "User Email to Service Desk Issue" SubGraph1Flow(Email to Service Desk) SubGraph2Flow(Spam?) SubGraph3Flow(Mailgun/Support Bot Sends Confirmation to Sender) Node1[User Email/CRM] --> Node2[Optional: User Alias] Node2[Optional: User Alias] --> SubGraph1Flow DoChoice1(Mailgun sends failure notice to sender) SubGraph1Flow -- Failure --> DoChoice1 SubGraph1Flow -- Success --> SubGraph2Flow DoChoice3(Send to gmail spam folder and Service Desk email is not processed) DoChoice4(Send to gmail Inbox and Service Desk email is processed) SubGraph2Flow -- Yes --> DoChoice3 SubGraph2Flow -- No --> DoChoice4 --> SubGraph3Flow end
Mermaid source:
```mermaid
graph TD;
subgraph "User Email to Service Desk Issue"
SubGraph1Flow(Email to Service Desk)
SubGraph2Flow(Spam?)
SubGraph3Flow(Mailgun/Support Bot Sends Confirmation to Sender)
Node1[User Email/CRM] --> Node2[Optional: User Alias]
Node2[Optional: User Alias] --> SubGraph1Flow
DoChoice1(Mailgun sends failure notice to sender)
SubGraph1Flow -- Failure --> DoChoice1
SubGraph1Flow -- Success --> SubGraph2Flow
DoChoice3(Send to gmail spam folder and Service Desk email is not processed)
DoChoice4(Send to gmail Inbox and Service Desk email is processed)
SubGraph2Flow -- Yes --> DoChoice3
SubGraph2Flow -- No --> DoChoice4 --> SubGraph3Flow
end
```
Last modified January 9, 2025: Updates links and troubleshooting steps (
4372c8af
)