Behat: The site can't be reached


I’m so close to getting the circle ci 2.0 build working. But I can’t figure out how to get the behat tests to access the local server through Selenium. I am getting a “this site can’t be reached error”:

Here is my dockerfile:

Here is my medstat.conf file:

In my config.yml file, I am running the build that populates the /root/medstat/build directory. Here is the config.yml file plus the file I am running inside of config.yml:

A few notes on this:

  • As you can see from the docker file, I am updating the host file to point medstat.local to the local server: RUN echo medstat.local | tee -a /etc/hosts
  • The drush drupal commands are working, so we know the drupal settings file is right.
  • I looked into seeing if this was a firewall issue, but it appears the firewall isn’t enabled at all, so I don’t think this is the problem.
  • It must be some apache configuration problem?

Any ideas in why behat can’t get access to the local site? I’ve spent a lot of time tweaking things without luck. Any help would be appreciated. Thanks!


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.