@anchalaggarwal opened this Issue on July 8th 2015

Recently I have been getting error 502 while importing logs in piwik using log-import.
In apache error logs, only thing written was "Detected browser engine was not found in $availableEngines".
On further debug, I found the same is an exception thrown in the below code file
On logging the engine received by Engine.php, it came out to be Edge which is missing in the array $availableEngines. protected static $availableEngines = array( 'WebKit', 'Blink', 'Trident', 'Text-based', 'Dillo', 'iCab', 'Presto', 'Gecko', 'KHTML', 'NetFront', );
Adding 'Edge' to the array has resolved the issue.
This looks like a bug since in yaml and regex, Edge is defined.

@mattab commented on July 9th 2015 Owner

Hi @anchalaggarwal

Do you know by any chance the log file line that can reproduce this bug? it would be great to be able to reproduce such problem so we could fix it. thanks for sending more info if possible.

ping @sgiehl

@sgiehl commented on July 11th 2015 Member

That's an error in device detector. I'll fix that.

@sgiehl commented on July 11th 2015 Member
@mattab commented on July 12th 2015 Owner

Thanks @sgiehl :+1: could you update Device detector used in Piwik so we have the fix in 2.14.1?

@sgiehl commented on July 12th 2015 Member

Still working on some other improvements. But I'll release a new version
the next days...

@mattab commented on July 12th 2015 Owner

Perfect! it will be 1 week at least until 2.14.1 so we have some time

@anchalaggarwal commented on July 14th 2015

Hi @mattab, thanks for accepting the bug and its solution.

This Issue was closed on July 11th 2015
Powered by GitHub Issue Mirror