Open jimzucker opened 4 years ago
Example of successful run, you can see get returned successfully.
[INFO] Processing object= repository, action= created on repo= StrategicDevOps/docker1 by jimzucker
[INFO] Getting Authorized User: method= Get, url= https://api.github.com/user
[INFO] Checking existance of README.md: method= Get, url= https://api.github.com/repos/StrategicDevOps/docker1/contents/README.md
[INFO] Ignoring object = before, action =
140.82.115.250 - - [10/Feb/2020:05:45:56 +0000] "POST /github_webhook HTTP/1.1" 200 - 0.0008
172.17.0.1 - - [10/Feb/2020:05:45:56 UTC] "POST /github_webhook HTTP/1.1" 200 0
[INFO] Processing object= repository, action= created on repo= StrategicDevOps/docker1 by jimzucker
[INFO] Getting Authorized User: method= Get, url= https://api.github.com/user
[INFO] Checking existance of README.md: method= Get, url= https://api.github.com/repos/StrategicDevOps/docker1/contents/README.md
[INFO] Ignoring object = before, action =
140.82.115.250 - - [10/Feb/2020:05:45:56 +0000] "POST /github_webhook HTTP/1.1" 200 - 0.0008
172.17.0.1 - - [10/Feb/2020:05:45:56 UTC] "POST /github_webhook HTTP/1.1" 200 0
- -> /github_webhook
[INFO] Defaulting Repository Settings: method= Patch, url= https://api.github.com/repos/StrategicDevOps/docker1
[INFO] Ignoring object = ref_type, action =
192.30.252.99 - - [10/Feb/2020:05:45:56 +0000] "POST /github_webhook HTTP/1.1" 200 - 0.0007
172.17.0.1 - - [10/Feb/2020:05:45:56 UTC] "POST /github_webhook HTTP/1.1" 200 0
- -> /github_webhook
[INFO] Protecting master branch: method= Put, url= https://api.github.com/repos/StrategicDevOps/docker1/branches/master/protection
[INFO] Defaulting Repository Settings: method= Post, url= https://api.github.com/repos/StrategicDevOps/docker1/issues
192.30.252.97 - - [10/Feb/2020:05:45:57 +0000] "POST /github_webhook HTTP/1.1" 200 - 3.2338
172.17.0.1 - - [10/Feb/2020:05:45:54 UTC] "POST /github_webhook HTTP/1.1" 200 383
- -> /github_webhook
[INFO] Ignoring object = issue, action = opened
140.82.115.249 - - [10/Feb/2020:05:45:58 +0000] "POST /github_webhook HTTP/1.1" 200 - 0.0036
172.17.0.1 - - [10/Feb/2020:05:45:58 UTC] "POST /github_webhook HTTP/1.1" 200 0
- -> /github_webhook
[INFO] Ignoring object = repository, action = deleted
140.82.115.251 - - [10/Feb/2020:05:46:33 +0000] "POST /github_webhook HTTP/1.1" 200 - 0.0008
172.17.0.1 - - [10/Feb/2020:05:46:33 UTC] "POST /github_webhook HTTP/1.1" 200 0
- -> /github_webhook
== Sinatra has ended his set (crowd applauds)
Fixed temporarily by added a 30 second pause, will research to see if there is a better fix.
Usually doing a Get to verify README.md exists works but periodically it fails, but UI shows README.md. This looks like a timing issue.