facerecognition icon indicating copy to clipboard operation
facerecognition copied to clipboard

Error while setup models

Open dayue1984 opened this issue 3 years ago • 5 comments

In FileService.php line 333: Curl error: HTTP/2 stream 1 was not closed cleanly before end of the underlying stream

dayue1984 avatar Dec 18 '21 08:12 dayue1984

Please provide the your facerecognition app version and Nextcloud version, the exact command you entered, and all of the output from it.

guystreeter avatar Dec 21 '21 20:12 guystreeter

same issues. facerecognition app version: 0.9.1 Nextcloud version: 23.0.0 command: php occ face:setup -m 1 output: image

Ling128 avatar Dec 22 '21 09:12 Ling128

The error happens in the installation while using PHP's builtin "curl" to download the model data from a repository on github.

It's definitely a problem in the curl implementation. I've seen some reports of the "not closed cleanly" error happening on very slow connections. Perhaps github is throttling the download.

I started up a clean nextcloud install and tried the command without failure, twice. I also manually used the curl command-line to download the data files to my local machine, and that worked. I don't know what else to do diagnose this. Maybe @matiasdelellis has some suggestions.

guystreeter avatar Dec 22 '21 17:12 guystreeter

Also, you need to have a working internet connection for the model download to succeed.

guystreeter avatar Mar 07 '22 20:03 guystreeter

Well, These are connection errors and there is no other option but to try again.. 😞 These files are downloaded from github servers. We practically couldn't find anything better. 😞

matiasdelellis avatar May 11 '22 22:05 matiasdelellis