githubEdit

Troubleshooting

Common Issues

Webhook Not Found (404)

Symptom:

HTTP/1.1 404 Not Found

Causes & Solutions:

  1. Incorrect URL path

    # Wrong: Missing prefix
    curl http://localhost:8080/my-webhook
    
    # Correct: Include full path
    curl http://localhost:8080/webhooks/v1alpha2/my-webhook
  2. Configuration mismatch

    # Configuration
    entrypointUrl: /github/events
    
    # URL should be:
    /webhooks/v1alpha2/github/events

Authentication Failed (401)

Symptom:

Solutions:

  1. Check secret/token

  2. Check headers

Rate Limit Exceeded (429)

Symptom:

Solutions:

  1. Increase limits

  2. Add burst capacity

Storage Connection Failed

Symptom:

Solutions:

  1. Check connectivity

  2. Verify credentials

Template Errors

Symptom:

Solutions:

  1. Check syntax

  2. Handle nil values

  3. Validate JSON

Debugging Techniques

Enable Debug Logging

Check Configuration

Monitor Metrics

Test Individual Components

Error Messages

Error
Meaning
Solution

spec not found

Webhook not configured

Check configuration

security validation failed

Auth failed

Check credentials

rate limit exceeded

Too many requests

Wait or increase limits

connection refused

Storage down

Check storage service

context deadline exceeded

Timeout

Check storage service

invalid template

Template error

Fix template syntax

environment variable not found

Missing env var

Export variable

FAQ

chevron-rightQ: Why am I getting 404 errors?hashtag

A: Check that your URL includes /webhooks/v1alpha2/ prefix.

chevron-rightQ: How do I increase request limits?hashtag

A: Adjust throttling.maxRequests in configuration.

chevron-rightQ: Can I disable authentication for testing? hashtag

A: Yes, use security.type: noop (never in production).

chevron-rightQ: How do I debug template errors? hashtag

A: Enable debug mode with WH_DEBUG=true.

chevron-rightQ: Why is storage failing? hashtag

A: Check connectivity, credentials, and firewall rules.

Getting Help

  1. Check logs: Enable debug logging

  2. Review configuration: Validate YAML syntax

  3. Test components: Isolate the issue

  4. GitHub Issues: Report bugs

  5. Community: Ask questions


Most issues can be resolved by checking configuration and connectivity.

Last updated