Kap icon indicating copy to clipboard operation
Kap copied to clipboard

Error: Could not start recording within 5 seconds

Open joshuanathanson opened this issue 3 years ago β€’ 31 comments

Sentry Issue: KAP-5VJ

macOS version: Mojave (10.14) Kap version: 3.3.1

Recording error

Error: Could not start recording within 5 seconds
    at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:108:21)

joshuanathanson avatar Aug 26 '20 23:08 joshuanathanson

I had it too today

mesqueeb avatar Sep 02 '20 06:09 mesqueeb

Me three. Reported via app. Kap is currently unusable for me due to this error.

TristanBrotherton avatar Sep 13 '20 19:09 TristanBrotherton

Additional context for when this happened to me (and could repro). Kapturing another video of mine in Chrome with the contents zoomed in using the trackpad, not ⌘+ or ⌘-. Meta, right?!?

conceptblend avatar Sep 23 '20 23:09 conceptblend

Changing the title of this issue to be a bit more specific, thank you for reporting!

skllcrn avatar Oct 18 '20 22:10 skllcrn

**MacOS Version : ** Catalina ( 10.15.7 ) **Kap Version : ** 3.3.2

Recording error

Error: Could not start recording within 5 seconds
    at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:108:21)

I am still getting this error.

moulik-deepsource avatar Nov 19 '20 18:11 moulik-deepsource

I just got the issue today as well. recording started and automatically stopped within 2 second showing failure message. Mac OS Big Sur Version 11.0.1

tpr-wtag avatar Nov 30 '20 06:11 tpr-wtag

I'm getting the same error on macOS Catalina 10.15.5

Recording error
Error: Could not start recording within 5 seconds
    at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:108:21)

maxigimenez avatar Jan 06 '21 09:01 maxigimenez

Just from having the same issue just now on macOS Big Sur Version 11.1.

Recording error Error: Could not start recording within 5 seconds at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:108:21)

More context:

Just noted it happening when I was recording on a 31.5-inch(2560 x 1440) display and on the 27-inch (1920 x 1080) display.

ngeshlew avatar Jan 15 '21 12:01 ngeshlew

i just have this issue too . Recording error Error: Could not start recording within 5 seconds at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:108:21) This issue is already being tracked!

gbcbooks avatar Jan 22 '21 05:01 gbcbooks

got it again today

mesqueeb avatar Mar 01 '21 06:03 mesqueeb

I also hit this error today. It was when attempting to record from my second monitor which is a lower DPI. Moving the target and the recoding over to the retina laptop display seemed to get things going again.

scottsweb avatar Mar 10 '21 16:03 scottsweb

Just to help about the root cause of this issue, it happens sometimes on my computer after multiple records (randomly) and i wasn't able to record again (even after reinstallation, temporary folders removed, etc), until i disabled microphone record πŸ‘

cc. @sindresorhus

VincentCATILLON avatar May 04 '21 12:05 VincentCATILLON

I also hit this error today. It was when attempting to record from my second monitor which is a lower DPI. Moving the target and the recoding over to the retina laptop display seemed to get things going again.

I had the exact opposite this morning πŸ˜„ the retina display refused to start recording. Moving the target to my lower DPI display fixed the issue.

Pringels avatar May 10 '21 06:05 Pringels

Confirming that this happens when using aperture-node 6.0.1, but not a problem on 5.2.0. Behaviour is inconsistent however, no problems on one machine, always fails with this error on another.

dac09 avatar May 14 '21 14:05 dac09

Just had this problem :)

rafael-java avatar Aug 20 '21 00:08 rafael-java

Just had this error as well

Kap 3.4.1 MacOS 10.14

AlexVipond avatar Oct 25 '21 19:10 AlexVipond

Just had this error

Kap 3.5.1 macOS 12.0.1 Intel Core

it works well the first time, then always shows me Error: Could not start recording within 5 seconds.

Tested aperture-node 6.1.0 example code with the electron-quick-start, it also show me Error: Could not start recording within 5 seconds.

Confirming that this happens when using aperture-node 6.0.1, but not a problem on 5.2.0. Behaviour is inconsistent however, no problems on one machine, always fails with this error on another.

it works well with aperture-node 5.2.0

and when I test it in node, aperture-node 6.1.0 also can work well.

so maybe aperture-node 6.x has some compatibility issues with electron?

billyct avatar Dec 11 '21 13:12 billyct

Experiencing this issue. Happens on both primary and external monitors. Worked the first time, then fails every time after.

Kap 3.5.1, installed using brew.

macOS Big Sur 11.6 (20G165) MacBook Pro (16-inch, 2019) 2.4 GHz 8-Core Intel Core i9 32 GB 2667 MHz DDR4 AMD Radeon Pro 5300M 4 GB

rm-rf-etc avatar Dec 13 '21 21:12 rm-rf-etc

Seems like it's an issue with 3.5.1 or even 3.5.0. I reinstalled older version (3.4.2) and everything is working fine

MacOS 12.0.1 MacBook Pro (13", 2017)

rafalbromirski avatar Dec 20 '21 16:12 rafalbromirski

Recording error Error: Could not start recording within 5 seconds at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:132:19) MacOS 12.1 Kap 3.5.1

hacke2 avatar Jan 02 '22 08:01 hacke2

This issue was fixed in https://github.com/wulkano/aperture-node/pull/24 but Kap didn't update to aperture-node 6.1.1 yet.

levrik avatar Jan 03 '22 07:01 levrik

Same error for me on 3.5.0/3.5.1β€”Β on latest OS version / Intel 2017 macbook pro. Capture only works on the first capture after a system restart.

Tried reinstalling 3.4.2 but that won't run at all.

A fix would be hugely appreciated but I realise it's open source so no expectations :)

willhindson avatar Jan 06 '22 11:01 willhindson

started seeing this the other day. MacOS 11.4 Kap 3.5.1 Intel macbook pro, 2019

going to update this machine's OS and see if it helps

update: after updating to MacOS 12.1 it works fine.

update 2: happened again

tmarshall avatar Jan 07 '22 17:01 tmarshall

Same issue here. on mac 11.6.2 (unknown Kap version, the about screen doesn't open up but I believe it should be the latest.)

ron23 avatar Jan 12 '22 20:01 ron23

@ron23 Try to open the about screen while having settings open. Then it pops up like expected.

levrik avatar Jan 13 '22 08:01 levrik

Perhaps it could be helpful for somebody. There was this issue with Kap 3.5.0 and above. Environment for testing: Big Sur 11.6.2 (CPU Intel).

As a workaround, the success solution is migration on v3.4.2 version of Kap. But before install, we need to completely remove previous version of Kap and all files related to this app. In this case would be helpful to use free app like AppCleaner (or other). Below is image about how it was look for tested environment above. IMPORTANT: this view and list of files could be different on your side; use AppCleaner app with caution - only you are responsible for which files to remove. remove-kap-completely

serg avatar Jan 21 '22 19:01 serg

BTW, a restart fixes this

steakscience avatar Jan 22 '22 05:01 steakscience

BTW, a restart fixes this

Not necessarily. I would have to reboot my intel-based Mac to get it working again. It works a single time before I experience the error and have to reboot again. Downgrading to v3.4.2 seems to have solved my issue for now.

BuffMcBigHuge avatar Jan 27 '22 14:01 BuffMcBigHuge

@BuffMcBigHuge Yup it broke again right after I posted the comment :(

steakscience avatar Jan 28 '22 03:01 steakscience

The following steps solved it for me!

  • AppCleaner -> Re-install Kap -> Reboot Mac(Intel)

pvcresin avatar Feb 02 '22 06:02 pvcresin