Tests Failed to connect to 0.0.0.0 port 4444 after 0 ms: Couldn't connect to server
Hello everyone. I'm trying to run tests for CmsGui, ProductRelation and Tax. Unfortunately, the result for all three is the same:
[Facebook\WebDriver\Exception\Internal\WebDriverCurlException] Curl error thrown for http POST to /session with params: {"capabilities":{"firstMatch":[{"browserName":"chrome"}]},"desiredCapabilities": {"browserName":"chrome"}}Failed to connect to 0.0.0.0 port 4444 after 0 ms: Couldn't connect to server
My WebDriver is set to Phantomjs by default, which is also installed in one of the docker containers.
This is what codecption.yml looks like for CmsGui:
suites:
Presentation:
path: Presentation
actor: CmsGuiPresentationTester
modules:
enabled:
- \PyzTest\Shared\Testify\Helper\Environment
- \SprykerTest\Shared\Testify\Helper\BrowserHelper
- \SprykerTest\Shared\Application\Helper\ZedHelper
- \SprykerTest\Shared\Config\Helper\ConfigInit
- \SprykerTest\Shared\Testify\Helper\LocatorHelper:
projectNamespaces: ['Pyz'] - \SprykerTest\Shared\Propel\Helper\PropelInstallHelper
- WebDriver:
url: ''
browser: chrome
window_size: 1920x1080
host: 0.0.0.0
port: 4444
restart: false
- \SprykerTest\Shared\Testify\Helper\DataCleanupHelper
Has anyone had a similar problem or have any ideas on how to solve it?
Answers
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 ⚖️ - Guardians (admin)
Heyhey,
didnt Spryker stop support for phantomjs ? (at least this is what I understood)
Does it need to be phantomjs? - if not, may have a look here:
All the best,
Florian
0 -
Hi. I didn't know that they stopped supporting phantomjs, but while I was working I changed it to chromedriver anyway.
When I check the containers in Docker
docker ps
I see that there is an image:
spryker/chromedriver
docker logs
get the following message:
ChromeDriver was started successfully.
My suspicion falls on a bad host, but I don't know what should be there
0 -
Bump. I've same problem, any idea?
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 ⚖️ - Guardians (admin)
Heyhey,
@pawel.mlynarczyk are you having the same problem as stated there? (b2c marketplace)
All the best,
Florian
0 -
Hi
@fsmeier
Looks the same:0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 ⚖️ - Guardians (admin)
Heyhey,
please have a look at my answer here:
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random