Bug 1624408 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

When command line is use to download the file, we seem to be hitting [H18](https://help.heroku.com/18NDWDW0/debugging-h18-server-request-interrupted-errors-in-nodejs-applications):

```
Mar 23 19:44:22 mozilla-pontoon heroku/router sock=backend at=error code=H18 desc="Server Request Interrupted"
method=GET path="/de/all-projects/de.all-projects.tmx" host=pontoon.mozilla.org
request_id=9a3949f1-13d3-48dc-89a8-17542c64b94d fwd="109.182.195.45" dyno=web.1 connect=1ms service=52243ms
status=503 bytes= protocol=https
```

That's how the output of `curl` looks:
```
Leopold:Downloads mathjazz$ curl -o de.all-projects.tmx https://pontoon.mozilla.org/de/all-projects/de.all-projects.tmx
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.5M    0 12.5M    0     0   243k      0 --:--:--  0:00:52 --:--:--  205k
curl: (18) transfer closed with outstanding read data remaining
```

Downloading via the browser is much faster. I wonder if we're hitting [Request timeout](https://devcenter.heroku.com/articles/request-timeout).

Relevant code:
https://github.com/mozilla/pontoon/blob/master/pontoon/base/views.py#L683
When command line is use to download the file, we seem to be hitting [H18](https://help.heroku.com/18NDWDW0/debugging-h18-server-request-interrupted-errors-in-nodejs-applications):

```
Mar 23 19:44:22 mozilla-pontoon heroku/router sock=backend at=error code=H18 desc="Server Request Interrupted"
method=GET path="/de/all-projects/de.all-projects.tmx" host=pontoon.mozilla.org
request_id=9a3949f1-13d3-48dc-89a8-17542c64b94d fwd="109.182.195.45" dyno=web.1 connect=1ms service=52243ms
status=503 bytes= protocol=https
```

That's how the output of `curl` looks:
```
Leopold:Downloads mathjazz$ curl -o de.all-projects.tmx https://pontoon.mozilla.org/de/all-projects/de.all-projects.tmx
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.5M    0 12.5M    0     0   243k      0 --:--:--  0:00:52 --:--:--  205k
curl: (18) transfer closed with outstanding read data remaining
```

Downloading via the browser is much faster. I wonder if we're hitting [Request timeout](https://devcenter.heroku.com/articles/request-timeout) when using command line.

Relevant code:
https://github.com/mozilla/pontoon/blob/master/pontoon/base/views.py#L683
When command line is used to download the file, we seem to be hitting [H18](https://help.heroku.com/18NDWDW0/debugging-h18-server-request-interrupted-errors-in-nodejs-applications):

```
Mar 23 19:44:22 mozilla-pontoon heroku/router sock=backend at=error code=H18 desc="Server Request Interrupted"
method=GET path="/de/all-projects/de.all-projects.tmx" host=pontoon.mozilla.org
request_id=9a3949f1-13d3-48dc-89a8-17542c64b94d fwd="109.182.195.45" dyno=web.1 connect=1ms service=52243ms
status=503 bytes= protocol=https
```

That's how the output of `curl` looks:
```
Leopold:Downloads mathjazz$ curl -o de.all-projects.tmx https://pontoon.mozilla.org/de/all-projects/de.all-projects.tmx
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.5M    0 12.5M    0     0   243k      0 --:--:--  0:00:52 --:--:--  205k
curl: (18) transfer closed with outstanding read data remaining
```

Downloading via the browser is much faster. I wonder if we're hitting [Request timeout](https://devcenter.heroku.com/articles/request-timeout) when using command line.

Relevant code:
https://github.com/mozilla/pontoon/blob/master/pontoon/base/views.py#L683

Back to Bug 1624408 Comment 1