tensorflow / tensorflow/datasets

Connection Error while trying download c4/en.realnewslike

Open
#2,187 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

I using default script to download c4 with config en.realnewslike, and getting an error
RuntimeError: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='commoncrawl.s3.amazonaws.com', port=443): Max retries exceeded with url: /crawl-data/CC-MAIN-2019-18/segments/1555578530176.6/wet/CC-MAIN-20190421040427-20190421062427-00300.warc.wet.gz (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1dcd61ba90>: Failed to establish a new connection: [Errno 110] Connection timed out')) [while running 'Map(download_url)']
After 10 error like this, job on dataflow failing, I use tesnorflow-datasets==3.1.0 and python 3.7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the default c4 download for the en.realnewslike configuration with tensorflow-datasets 3.1.0 and Python 3.7, focusing on the Dataflow Map(download_url) step and the Common Crawl S3 URL shown. Determine whether the timeout is reproducible and what failure behavior the downloader is expected to provide; the issue is resolved when the cause and an actionable fix or limitation are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
cloud, data, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.