Quick Diagnostics
Before diving into specific issues, run these commands to gather diagnostic information:Container Startup Issues
Containers Fail to Start
Symptoms: Containers exit immediately or restart repeatedly. Diagnosis:Missing environment variables
Missing environment variables
Check that all required variables are set in your Ensure these critical variables are set:
.env file:POSTGRES_PASSWORDAI_PROVIDERand corresponding API keyGITHUB_ACCESS_TOKEN
Port conflicts
Port conflicts
Another service may be using the required ports.Stop conflicting services or change the ports in
docker-compose.yml.Docker image access
Docker image access
Ensure you’re authenticated to pull the Bilanc image:If you see permission errors, contact Bilanc support to verify your access.
Database Connection Issues
Cannot Connect to PostgreSQL
Symptoms: API or Dagster fails with database connection errors. Diagnosis:Verify database credentials
Verify database credentials
Check your Test the connection manually:
.env file:Network connectivity
Network connectivity
If using an external database, ensure the Docker containers can reach it:For cloud databases, check security groups/firewall rules.
Docker networking
Docker networking
If using the bundled PostgreSQL, ensure services are on the same network:
Integration Issues
GitHub: 401 Unauthorized
Symptoms: GitHub pipeline fails with authentication errors. Solutions:- Token expired: Generate a new Personal Access Token
- Insufficient scopes: Ensure token has
repoandread:orgscopes - No repository access: Verify token owner has access to listed repositories
GitHub: No Data Appearing
Symptoms: Pipelines run successfully but no data in dashboard. Check:- Verify
GITHUB_REPOSITORYformat is correct (owner/repo) - Check the
start_dateintenant_config.yamlisn’t in the future - Ensure there’s activity in the repositories within the date range
Linear: No Data
Symptoms: Linear pipeline runs but no issues appear. Solutions:- Verify API token is correct
- Check token owner has access to the workspace
- Ensure
start_datecovers the period with issue activity
Cursor: Connection Failed
Symptoms: Cursor pipeline fails to connect. Solutions:- Verify
CURSOR_API_KEYis correct - Contact Bilanc support if the issue persists
Pipeline Issues
Pipelines Not Running
Symptoms: No data being ingested, Dagster shows no runs. Diagnosis:Check schedule status
Check schedule status
Open Dagster UI at http://localhost:4000 and verify schedules are enabled.
Restart Dagster
Restart Dagster
Pipeline Failures
Symptoms: Pipelines start but fail partway through. Diagnosis:- Open Dagster UI at http://localhost:4000
- Click on the failed run
- Expand the failed step to see error details
- API rate limits (wait and retry)
- Invalid credentials (check tokens)
- Network timeouts (check connectivity)
API Issues
API Returns 500 Errors
Symptoms: Dashboard shows errors, API requests fail. Diagnosis:Database connection lost
Database connection lost
Restart the API service:
Memory issues
Memory issues
Check container memory usage:Increase memory allocation if needed.
API Health Check
Dashboard Issues
Dashboard Not Loading
Symptoms: Browser shows error or blank page at http://localhost:3000. Diagnosis:Check API connectivity
Check API connectivity
The dashboard needs to reach the API:
Environment variables
Environment variables
Verify
NEXT_PUBLIC_API_URL is set correctly for your deployment.Email Issues
Emails Not Sending
Symptoms: Scheduled reports or notifications not arriving. Diagnosis:- Verify
RESEND_API_KEYis correct - Check
DEFAULT_SENDER_EMAILis a valid sender in Resend - Verify the sender domain is configured in Resend
AI Insights Issues
AI Insights Not Generating
Symptoms: Insights section is empty or shows errors. Diagnosis:- Verify
AI_PROVIDERis set to a valid value (openai,anthropic,google-ai) - Check the corresponding API key is set and valid
- Ensure you have API credits/quota remaining
Performance Issues
Slow Dashboard
Symptoms: Dashboard takes long to load or times out. Solutions:- Scale PostgreSQL: Increase CPU/RAM for the database
- Check indexes: Ensure database has proper indexes
- Reduce data range: Use shorter time ranges in queries
High Memory Usage
Symptoms: Containers being killed or system running slow. Solutions:Getting Help
If you’re still experiencing issues:-
Collect logs:
-
Check configuration:
-
Contact support: Email support@bilanc.co with:
- Description of the issue
- Steps to reproduce
- Relevant log excerpts
- Your configuration (with secrets redacted)

