Docker test timeout when calling http://localhost/api_test.php

simonberton June 29, 2018

I have a docker that uses the php:7.1-apache image.

 

I have some tests that call http://localhost/api_test.php/.....

 

Each time a test is run, it gives timeout error:

[GuzzleHttp\Exception\ConnectException] cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received

 

Tried using localhost:8000, 127.0.0.1, 0.0.0.1 and can't seem to make it work.

If I ran the same docker file locally, it works perfect. But for some reason it gives timeout inside the pipelines.

Thanks !!!

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events