-
Notifications
You must be signed in to change notification settings - Fork 397
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
BLT-5209: [info] Waiting for non-50x response from http://localhost:9222... #4672
Comments
I had this issue when running The issue might be occuring for me because I am trying to use the script in a non-standard way; we are calling it during setup-env. I really need the database to sync for the tests, though, and At any rate, the following patch to blt stops the wait and will at least get you past that point so that you can troubleshoot...
It's possible, however, that you really do need that wait time, so if your scripts are failing partially at the beginning, instead of removing the wait, you can replace it with a custom sleep() time that works for your application...
I did try adding So I guess that's the real question. Is there, during Acquia Pipelines CI, a way to increase the amount of time or attempts that executor waits before crapping out? |
We experienced something similar with Travis CI and had to change our ubuntu distro to focal from xenial as recent Chrome versions have had a mismatch for some dependencies. |
I've run into this issue intermittently as well, and the above solution to comment out the wait method has fixed the issue for me when necessary. it doesn't "always" happen but when it does, that's how i've worked around it. FYI this can also sometimes indicate a php fatal error somewhere (and commenting out the wait time can expose that in your CI logs). |
Describe the bug
After upgrading to BLT 13.7.0 and Drush 11.5.x I am facing issue with my ci pieline. I am seeing "[debug] cURL error 7: Failed to connect to localhost port 9222: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
[info] Waiting for non-50x response from http://localhost:9222/..." error during CI build after behat test triggered.
To Reproduce
Steps to reproduce the behavior, ideally starting from a fresh install of BLT:
composer create-project acquia/drupal-recommended-project --no-interaction
Expected behavior
It should run ci pieline without any error
Detailed error output
Run All Tests
[info] Running command /builds/ito-ms/applications/website-factory/drupal/repo/vendor/bin/drush @self status bootstrap
BLT can (re)generate tests/behat/local.yml using tests/behat/example.local.yml.
[warning] Required file /app/docroot does not exist.
[warning] Behat is not configured properly.
with debug mode it is showing some curl 7 error "[debug] cURL error 7: Failed to connect to localhost port 9222: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: