{"id":40380500,"url":"https://github.com/dsp-testing/poetry-407","last_synced_at":"2026-01-20T12:02:11.713Z","repository":{"id":58953900,"uuid":"534722862","full_name":"dsp-testing/poetry-407","owner":"dsp-testing","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-01T12:00:35.000Z","size":11,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-03-03T21:09:44.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dsp-testing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-09T16:35:27.000Z","updated_at":"2023-03-03T21:09:44.637Z","dependencies_parsed_at":"2023-02-17T04:46:12.092Z","dependency_job_id":null,"html_url":"https://github.com/dsp-testing/poetry-407","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/dsp-testing/poetry-407","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsp-testing%2Fpoetry-407","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsp-testing%2Fpoetry-407/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsp-testing%2Fpoetry-407/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsp-testing%2Fpoetry-407/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsp-testing","download_url":"https://codeload.github.com/dsp-testing/poetry-407/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsp-testing%2Fpoetry-407/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-20T12:02:11.595Z","updated_at":"2026-01-20T12:02:11.697Z","avatar_url":"https://github.com/dsp-testing.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Poetry HTTP 407 Bug\n\nThis recreates a bug in Poetry where it fails to authenticate with a proxy that requires authentication.\n\n## Steps to reproduce\n\nRequires Docker since there's a bit of setup involved.\n\n1. Run `docker run -it --rm $(docker build -q .)`\n2. Inside the container, run `./script.sh`\n3. There will be a 407 error\n\nWhile still in the container, try `curl https://example.com`, it works.\n\n### Explanation\n\nThe script runs `mitmproxy` which is [configured to require authentication](mitm-config.yaml). Poetry is configured to use the proxy via environment variables in the Dockerfile. \n\nThe problem correlates with the git source in `pyproject.toml`. Remove it and the problem is gone.\n\n\u003e **Note** This is somewhat mitigated by https://github.com/python-poetry/poetry/pull/6131. Most people will pin to a revision or tag and not see this issue after Poetry's next release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsp-testing%2Fpoetry-407","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsp-testing%2Fpoetry-407","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsp-testing%2Fpoetry-407/lists"}