New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP request status fails #1
Comments
I took a look at this. There are there cookbooks available to us:
Adding the REDIRECT is easy enough to add on the command line but it requires using table nat. None of the cookbooks support adding a rule to the nat table. The closest is the iptables cookbook. It runs the script rebuild-iptables. If we populate the file /etc/iptables.snat with the REDIRECT it will work. It is not ideal, but for development purposes should be sufficient for now. |
I have what I believe to be a working solution. But it is rough. Rather than much up the code base I am going to pull this into a fork and then you can evaluate if you like the implementation. |
Is this something for which we can create a branch rather than forking? A la git-flow? We shouldn't have to fork every time we do development on our own project. I wanted to start using git-flow as we maintain and added to the project. As good a time and project as any to learn how git-flow feels. On Jan 16, 2012, at 2:19 PM, Christian Pearce wrote:
xforty technologies |
I fixed it. |
When doing a stock install of vagrant-drupal, the resulting drupal site's status result page states that the HTTP request status failed.
Some background on the issue
Steps to reproduce
Cause of the issue
The system_check_http_request function in modules/system/system.module makes a call to the drupal_http_request function in includes/common.inc that results in a connection refused. drupal_http_request tries to open a socket via php's stream_socket_client. Printing out the socket, options, and result shows that drupal is trying to connect to the port we use in the web browser on the host.
Potential workarounds
The text was updated successfully, but these errors were encountered: