Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Error updating community handsets database #2

Open
artkay opened this issue Aug 11, 2016 · 2 comments
Open

Error updating community handsets database #2

artkay opened this issue Aug 11, 2016 · 2 comments

Comments

@artkay
Copy link

artkay commented Aug 11, 2016

Sometimes during

$hd = App('HandsetDetection');
$hd->communityFetchArchive();

we are getting error:

[ErrorException]                                        
ZipArchive::close(): Invalid or unitialized Zip object 

I assume it is connection problem and the archive is broken due that. Is there any way to check this from your end, guys?

Looping in @djskripta and @Lagawrd

@elricho
Copy link
Member

elricho commented Aug 11, 2016

Could be a timeout issue. Can you try increasing the timeout ?

$hd = App('HandsetDetection');
$hd->setTimeout(500);
$hd->communityFetchArchive();

@artkay
Copy link
Author

artkay commented Aug 12, 2016

Thanks, I'll try to set it that way and see what happens.

Usually this happens very rare, kind of hard to reproduce. I just tried to recreate the issue by setting timeout as 1, but it all worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants