Closed jcreinhold closed 2 years ago
I'm fairly confident this is a firewall issue, perhaps related to SSL/TLS certificates. I'll re-open this issue if it turns out to be an issue with the app.
If you have any guidance though—or know of any common problems when setting up probot apps that sound similar to this issue—it would be appreciated 😅
Overview
I'm trying to deploy this at my work using AWS Fargate (simpler deployment options, like AWS Lambda or a local server, aren't viable for obscure reasons). For reference, I'm using the Docker deployment scheme; I provided the Dockerfile I'm using below.
When I open a browser and go to the IP address of the Fargate task running this app, it shows the probot landing page.
However, on the GitHub app end, I'm getting "connection reset by peer" on the deliveries (as shown in the "Advanced" tab of the app).
Potential problems
keepAliveTimeout
andheadersTimeout
are too short.Questions for dev team
keepAliveTimeout
andheadersTimeout
without a major rewrite of the code base?Environment and additional context
The URLs that are listed in the delivery (under "Advanced" in the Rally GitHub app) appear to be correctly formatted (I can follow them in my browser and get a response back from our enterprise GitHub server).
The security groups of the Fargate task are configured to allow traffic to the enterprise GitHub server on port 80 and 443 (hence why I'm able to see the probot landing page), and I started the app on port 80 (so the webhook and homepage URLs are just the IP address). I'm not using a load balancer currently, although I did previously to the same effect. (In that case, I mapped TCP traffic from port 80 to port 3000 and started the app on port 3000.)
Dockerfile
Note that the GitHub app ID (
APP_ID
), Rally API key (RALLY_API_KEY
), and webhook secret (WEBHOOK_SECRET
) are added into the environment during runtime.rally-github-config
exists as a repo under${organization}
on the enterprise GitHub server with a.github/rally.yml
directory/file with the workspace OID and projects set.