Behat: The site can't be reached


#1

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 build.sh file I am running inside of config.yml:
https://gist.github.com/chrisroane/92a97f6f9a99323907879cac8ff6598f
https://gist.github.com/chrisroane/36928831a94b19ef211d16fae3e8d653

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 127.0.0.1 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!


#2

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