Problem when importing with Zotero Import


#1

Hello everyone,

When trying to import from Zotero, the following error comes up.

Zend\Http\Client\Adapter\Exception\RuntimeException
Unable to enable crypto on TCP connection proxyout.mysite.fr

Details:

ErrorException: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol in /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client/Adapter/Socket.php:301
Stack trace:
#0 [internal function]: Zend\Stdlib\ErrorHandler::addError(2, 'stream_socket_e...', '/applis/omeka/h...', 301, Array)
#1 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client/Adapter/Socket.php(301): stream_socket_enable_crypto(Resource id #45, true, 57)
#2 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client/Adapter/Proxy.php(106): Zend\Http\Client\Adapter\Socket->connect('proxyout.mysite....', 8080, false)
#3 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client.php(1436): Zend\Http\Client\Adapter\Proxy->connect('api.zotero.org', 443, true)
#4 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client.php(936): Zend\Http\Client->doRequest(Object(Zend\Uri\Http), 'GET', true, Array, '')
#5 /applis/omeka/home/www/omeka-s/modules/ZoteroImport/src/Controller/IndexController.php(206): Zend\Http\Client->send()
#6 /applis/omeka/home/www/omeka-s/modules/ZoteroImport/src/Controller/IndexController.php(65): ZoteroImport\Controller\IndexController->sendApiRequest(Array)
#7 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(78): ZoteroImport\Controller\IndexController->importAction()
#8 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#9 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(106): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#11 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-mvc/src/DispatchListener.php(138): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#12 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#13 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#14 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-mvc/src/Application.php(332): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#15 /applis/omeka/home/www/omeka-s/index.php(21): Zend\Mvc\Application->run()
#16 {main}

Next Zend\Http\Client\Adapter\Exception\RuntimeException: Unable to enable crypto on TCP connection proxyout.mysite.fr in /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client/Adapter/Socket.php:330
Stack trace:
#0 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client/Adapter/Proxy.php(106): Zend\Http\Client\Adapter\Socket->connect('proxyout.mysite....', 8080, false)
#1 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client.php(1436): Zend\Http\Client\Adapter\Proxy->connect('api.zotero.org', 443, true)
#2 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-http/src/Client.php(936): Zend\Http\Client->doRequest(Object(Zend\Uri\Http), 'GET', true, Array, '')
#3 /applis/omeka/home/www/omeka-s/modules/ZoteroImport/src/Controller/IndexController.php(206): Zend\Http\Client->send()
#4 /applis/omeka/home/www/omeka-s/modules/ZoteroImport/src/Controller/IndexController.php(65): ZoteroImport\Controller\IndexController->sendApiRequest(Array)
#5 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(78): ZoteroImport\Controller\IndexController->importAction()
#6 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#7 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#8 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(106): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#9 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-mvc/src/DispatchListener.php(138): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#10 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#11 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#12 /applis/omeka/home/www/omeka-s/vendor/zendframework/zend-mvc/src/Application.php(332): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#13 /applis/omeka/home/www/omeka-s/index.php(21): Zend\Mvc\Application->run()
#14 {main}

Does anyone know where this could come from? I reviewed the Socket.php file but I can’t figure where the problem is. Don’t hesitate if you need any additional info.

Thanks!