Http\Client\Socket\Exception\ConnectionException: Unable to find the socket transport "unix"
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- php
- Domain
- networking, testing
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.
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
- Dominant language
- PHP
- Stars
- 215
- Forks
- 34
- Avg merge
- 1h 59m
- Merged PRs (30d)
- 3
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
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.
More from testcontainers/testcontainers-php
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
testcontainers/testcontainers-php#57 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in testcontainers/testcontainers-php
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
-
[Area] REST API [Type] Documentation Good First Issue
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
WordPress/presence-api#584 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100