Piwik 3.01 - import logs - Fail!

Hi, I upgraded from 2.15 to 3.01.
I’m importing my logs to Piwik but the process fail continually. The process start ok but ramdomly, fail so some data are load it but another not!!.
I added option debug and the process show:

2017-02-01 13:19:12,524: [DEBUG] Format match contains 10 groups
2017-02-01 13:19:12,524: [DEBUG] Check format amazon_cloudfront
2017-02-01 13:19:12,524: [DEBUG] Format amazon_cloudfront does not match
2017-02-01 13:19:12,524: [DEBUG] Check format w3c_extended
2017-02-01 13:19:12,524: [DEBUG] Format w3c_extended does not match
2017-02-01 13:19:12,525: [DEBUG] Check format icecast2
2017-02-01 13:19:12,525: [DEBUG] Format icecast2 does not match
2017-02-01 13:19:12,525: [DEBUG] Check format nginx_json
2017-02-01 13:19:12,525: [DEBUG] Format nginx_json does not match
2017-02-01 13:19:12,525: [DEBUG] Check format elb
2017-02-01 13:19:12,525: [DEBUG] Format elb does not match
2017-02-01 13:19:12,525: [DEBUG] Check format s3
2017-02-01 13:19:12,525: [DEBUG] Format s3 does not match
2017-02-01 13:19:12,525: [DEBUG] Check format common
2017-02-01 13:19:12,525: [DEBUG] Format common does not match
2017-02-01 13:19:12,525: [DEBUG] Check format common_vhost
2017-02-01 13:19:12,525: [DEBUG] Format common_vhost matches
2017-02-01 13:19:12,525: [DEBUG] Format match contains 8 groups
2017-02-01 13:19:12,526: [DEBUG] Check format ncsa_extended
2017-02-01 13:19:12,526: [DEBUG] Format ncsa_extended does not match
2017-02-01 13:19:12,526: [DEBUG] Format common_complete is the best match
2017-02-01 13:20:07,064: [INFO] Error when connecting to Piwik: HTTP Error 500: Internal Server Error
2017-02-01 13:20:07,077: [INFO] Retrying request, attempt number 2
2017-02-01 13:36:20,285: [INFO] Error when connecting to Piwik:
2017-02-01 13:36:20,285: [INFO] Retrying request, attempt number 2
2017-02-01 13:37:22,315: [INFO] Error when connecting to Piwik: HTTP Error 500: Internal Server Error
2017-02-01 13:37:22,315: [INFO] Retrying request, attempt number 3
2017-02-01 13:42:32,560: [INFO] Error when connecting to Piwik:
2017-02-01 13:42:32,560: [INFO] Max number of attempts reached, server is unreachable!
Fatal error: timed out

This situation happened after that I upgrade my version.
Regards.
Mariano