testcontainers / testcontainers/testcontainers-php
Http\Client\Socket\Exception\ConnectionException: Unable to find the socket transport "unix"
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 215
- Forks
- 34
- Avg merge
- 1h 59m
- Merged PRs (30d)
- 3
Description
Check the testing codes in the PR https://github.com/hantsy/symfony-rest-sample/blob/5e7d022e62d046933ff8117a7370e3842ca9c20b/tests/Repository/PostRepositoryTestWithTestcontainers.php
Http\Client\Socket\Exception\ConnectionException: Unable to find the socket transport "unix" - did you forget to enable it when you configured PHP?
...vendor\php-http\socket-client\src\Client.php:117
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running tests/Repository/PostRepositoryTestWithTestcontainers.php and reproduce the socket transport error. Inspect vendor/php-http/socket-client/src/Client.php around line 117 to determine why the unix transport is unavailable in the reported setup. Done means the test no longer raises this connection exception, with the required environment or configuration clarified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- networking, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100