cli icon indicating copy to clipboard operation
cli copied to clipboard

heroku console freezes on pasting lots of text

Open petroswork opened this issue 9 years ago • 11 comments

Running heroku-cli/6.14.38 (linux-x64) node-v8.9.1 (also tested on node-v8.6.0), heroku console consistently freezes if I attempt to paste about 30kB of text.

petroswork avatar Nov 21 '17 10:11 petroswork

Updated libcares2 and several other libraries and pasting long text works now.

petroswork avatar Nov 28 '17 07:11 petroswork

Updating libraries was a red herring, as I can still reproduce this. Perhaps the load on Heroku matters?

petroswork avatar Nov 28 '17 13:11 petroswork

If it is only happening on a specific app then it isn’t an issue with the CLI

jdx avatar Nov 28 '17 16:11 jdx

I was wrong about this, as I tested it with two different applications with a time difference of several hours. Perhaps the load on Heroku is a factor in this, as I have been able to paste 30kB of text repeatedly early in the morning and not once in the evening.

An indication that the CLI is not frozen completely is that using Ctrl-C many times works and the CLI displays a message about shutting down the dyno.

petroswork avatar Nov 28 '17 16:11 petroswork

can you submit a support ticket? this project is only for the CLI and it doesn't appear to be an issue with the CLI

jdx avatar Nov 28 '17 19:11 jdx

I don't think this is caused by Heroku, as other members of the team routinely paste the same amount of text in the CLI on Mac OS.

petroswork avatar Nov 28 '17 19:11 petroswork

Sorry to bring up an old issue. This happens to me relatively consistently on Mac OS. heroku/7.0.15 darwin-x64 node-v10.0.0.

I ended up putting the file on a local server, making it accessible via ngrok, then downloading it in my heroku job. Not really ideal for 3k lines of 32 characters.

It just freezes half way through the paste, no presses after cause any change to the output, then hitting ctrl+c a few times ends in a forced dyno disconnect

mikebaldry avatar May 02 '18 15:05 mikebaldry

it's no help to mention it here as the CLI team can't do anything to resolve it. You should submit a support ticket.

jdx avatar May 02 '18 16:05 jdx

@mikebaldry || @petroswork I'm seeing this same behavior. Were you able to find a resolution to this?

shoe avatar Feb 03 '19 13:02 shoe

On Mac OS, it is rarely triggered. On Linux, it is triggered often, and the quality of connection to the internet seems to affect the frequency. I haven't investigated further, as we're deprecating Heroku.

petroswork avatar Feb 04 '19 07:02 petroswork

I'm locking this issue as it's no use to report here. Please file a support ticket so your concern can be routed to the correct team.

jdx avatar Feb 04 '19 14:02 jdx