Closed khartahk closed 5 years ago
Running into the same issue here (also gitlab)
Unfortunately I am not quite sure how this can be resolved by GitSync. It could be that sometimes your sites are slower to respond to GitLab. It also appears to be hardcoded by GitLab the 3 seconds limit. If it was configurable or longer then this might not be a problem at all.
I have not been able to reproduce this on any of my tests. What kind of setups do you guys have for your Grav sites?
What server? What's your response time? Have you tried on different hosting providers?
We've moved away from Grav to a full static site so I can't give any more details about this. I think that the issue was with our web server. I'm closing the issue.
I get this error when trying to trigger the hook from GitLab:
Hook execution failed: Net::ReadTimeout
When I run the same POST call from PostmanIt works properly. How should I speed up my page? It's not that slow to start with but it takes more then 3 seconds to reposnd to this webhook POST call. Another page on the same server works (not always but most of the time - same nginx config)