[GH-ISSUE #243] upload failed with <urlopen error [Errno 104] Connection reset by peer> #172

Closed
opened 2026-02-25 20:32:57 +03:00 by kerem · 6 comments
Owner

Originally created by @zaibon on GitHub (Nov 27, 2017).
Original GitHub issue: https://github.com/asciinema/asciinema/issues/243

Version used:

asciinema --version
asciinema 1.4.0

When trying to upload a record I get :

▶ asciinema upload tmphuamwhek-asciinema.json
~ Upload failed: <urlopen error [Errno 104] Connection reset by peer>
~ Retry later by running: asciinema upload tmphuamwhek-asciinema.json

Here is the header of the record if it helps:

{
  "height": 54,
  "command": null,
  "width": 199,
  "version": 1,
  "duration": 169.687237,
  "env": {
    "TERM": "xterm",
    "SHELL": "/bin/bash"
  },
Originally created by @zaibon on GitHub (Nov 27, 2017). Original GitHub issue: https://github.com/asciinema/asciinema/issues/243 Version used: ``` asciinema --version asciinema 1.4.0 ``` When trying to upload a record I get : ``` ▶ asciinema upload tmphuamwhek-asciinema.json ~ Upload failed: <urlopen error [Errno 104] Connection reset by peer> ~ Retry later by running: asciinema upload tmphuamwhek-asciinema.json ``` Here is the header of the record if it helps: ```json { "height": 54, "command": null, "width": 199, "version": 1, "duration": 169.687237, "env": { "TERM": "xterm", "SHELL": "/bin/bash" }, ```
kerem closed this issue 2026-02-25 20:32:57 +03:00
Author
Owner

@ku1ik commented on GitHub (Nov 27, 2017):

Does it happen all the time or randomly?
What OS/distro are you using?

<!-- gh-comment-id:347251293 --> @ku1ik commented on GitHub (Nov 27, 2017): Does it happen all the time or randomly? What OS/distro are you using?
Author
Owner

@zaibon commented on GitHub (Nov 27, 2017):

It happens consistently.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
 asciinema --version
asciinema 1.4.0
<!-- gh-comment-id:347258477 --> @zaibon commented on GitHub (Nov 27, 2017): It happens consistently. ``` DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS" ``` ``` asciinema --version asciinema 1.4.0 ```
Author
Owner

@ku1ik commented on GitHub (Nov 28, 2017):

Can you try latest version from develop branch?

https://github.com/asciinema/asciinema#running-latest-version-from-source-code-checkout

<!-- gh-comment-id:347647493 --> @ku1ik commented on GitHub (Nov 28, 2017): Can you try latest version from `develop` branch? https://github.com/asciinema/asciinema#running-latest-version-from-source-code-checkout
Author
Owner

@zaibon commented on GitHub (Nov 28, 2017):

Ok, this version gave me more information why it fails
Upload failed: Sorry, your asciicast is too big

Didn't know there was a limit in size.

The record is indeed 8.2M.

<!-- gh-comment-id:347648882 --> @zaibon commented on GitHub (Nov 28, 2017): Ok, this version gave me more information why it fails `Upload failed: Sorry, your asciicast is too big` Didn't know there was a limit in size. The record is indeed 8.2M.
Author
Owner

@ku1ik commented on GitHub (Nov 28, 2017):

Great, so we're further :)

Yeah, there's limit, we discuss it here if you're interested: https://github.com/asciinema/asciinema/issues/91

I guess we can close this one for now?

<!-- gh-comment-id:347649832 --> @ku1ik commented on GitHub (Nov 28, 2017): Great, so we're further :) Yeah, there's limit, we discuss it here if you're interested: https://github.com/asciinema/asciinema/issues/91 I guess we can close this one for now?
Author
Owner

@zaibon commented on GitHub (Nov 28, 2017):

Yep it's is solved. Thanks for the help

<!-- gh-comment-id:347650734 --> @zaibon commented on GitHub (Nov 28, 2017): Yep it's is solved. Thanks for the help
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asciinema#172
No description provided.