# Seit 5.2.16 Problem mit curl

**URL:** <https://forum.shopware.com/t/seit-5-2-16-problem-mit-curl/43385>\
**Category:** Allgemein\
**Created:** [3. Februar 2017 um 13:04 UTC](https://forum.shopware.com/t/seit-5-2-16-problem-mit-curl/43385 "2017-02-03T13:04:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoudHoward](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@LoudHoward](https://forum.shopware.com/u/LoudHoward)\
**Post date:** [3. Februar 2017 um 13:04 UTC](https://forum.shopware.com/t/seit-5-2-16-problem-mit-curl/43385/1 "2017-02-03T13:04:37Z")

</div>

Hallo,

mein Shopware läuft seit dem letzten Update nicht mehr. curl schein zumindes auf der Console zu funktionieren auch als PHP file.

Error:

> cURL error 6: Could not resolve host: [sn.connect.shopware.com](http://sn.connect.shopware.com) in engine/Shopware/Components/HttpClient/GuzzleHttpClient.php on line 183
> 
> Stack trace:
> 
> #0 engine/Shopware/Plugins/Community/Backend/SwagConnect/Components/SnHttpClient.php(74): Shopware\Components\HttpClient\GuzzleHttpClient-\>post(‚sn.connect.shop…‘, Array)  
> #1 engine/Shopware/Plugins/Community/Backend/SwagConnect/Controllers/Backend/ConnectBaseController.php(759): ShopwarePlugins\Connect\Components\SnHttpClient-\>sendRequestToConnect(Array, ‚account/generat…‘)  
> #2 engine/Library/Enlight/Controller/Action.php(159): ShopwarePlugins\Connect\Controllers\Backend\ConnectBaseController-\>autoLoginAction()  
> #3 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‚autoLoginAction‘)  
> #4 engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))  
> #5 engine/Shopware/Kernel.php(179): Enlight\_Controller\_Front-\>dispatch()  
> #6 vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
> #7 engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)  
> #8 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)  
> #9 engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)  
> #10 shopware.php(117): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
> #11 {main}

und

> Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. cURL error 6: Could not resolve host: [api.shopware.com](http://api.shopware.com) in engine/Shopware/Components/HttpClient/GuzzleHttpClient.php on line 64 Stack trace: #0 engine/Shopware/Bundle/PluginInstallerBundle/StoreClient.php(317): Shopware\Components\HttpClient\GuzzleHttpClient-\>get(‚[https://api.sho](https://api.sho)…‘, Array) #1 engine/Shopware/Bundle/PluginInstallerBundle/StoreClient.php(125): Shopware\Bundle\PluginInstallerBundle\StoreClient-\>getRequest(‚/pluginStore/pl…‘, Array, Array) #2 engine/Shopware/Bundle/PluginInstallerBundle/Service/PluginStoreService.php(123): Shopware\Bundle\PluginInstallerBundle\StoreClient-\>doGetRequest(‚/pluginStore/pl…‘, Array) #3 engine/Shopware/Plugins/Default/Backend/PluginManager/Controllers/Backend/PluginManager.php(434): Shopware\Bundle\PluginInstallerBundle\Service\PluginStoreService-\>getPlugins(Object(Shopware\Bundle\PluginInstallerBundle\Context\PluginsByTechnicalNameRequest)) #4 engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Backend\_PluginManager-\>expiredListingAction() #5 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‚expiredListingA…‘) #6 engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #7 engine/Shopware/Kernel.php(179): Enlight\_Controller\_Front-\>dispatch() #8 vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #12 shopware.php(117): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #13 {main} &nbsp;
> 
> _OK_

---

<div class="post-metadata">

**Author:** ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)\
**Post date:** [3. Februar 2017 um 15:01 UTC](https://forum.shopware.com/t/seit-5-2-16-problem-mit-curl/43385/2 "2017-02-03T15:01:16Z")

</div>

Die erste Idee, die ich habe, ist, daß etwas mit der Namensauflösung auf Deinem Server nicht stimmt. Evtl. kannst Du ja testweise mal die Google-Nameserver (8.8.8.8, 8.8.4.4) eintragen?

Meine zweite Idee: ist OpenSSL auf Deinem Server auf dem neuesten Stand?

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/385eaa628505df573ebf33722f780335f53ac1b2.png)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)

---

<div class="post-metadata">

**Author:** ![LoudHoward](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@LoudHoward](https://forum.shopware.com/u/LoudHoward)\
**Post date:** [3. Februar 2017 um 17:14 UTC](https://forum.shopware.com/t/seit-5-2-16-problem-mit-curl/43385/3 "2017-02-03T17:14:34Z")

</div>

Hi, wenn curl in der bash klappt sollte der Nameserver nicht das Problem sein. 0.9.2 hab ich als ssl. Shopware zeigt alles in der richtigen Version an. Also alles grün die Haken.&nbsp;

---

<div class="post-metadata">

**Author:** ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)\
**Post date:** [7. Februar 2017 um 12:28 UTC](https://forum.shopware.com/t/seit-5-2-16-problem-mit-curl/43385/4 "2017-02-07T12:28:50Z")

</div>

Du solltest einmal OpenSSL aktualisieren. Ich denke, der Fehler kommt daher - aufgrund der veralteten OpenSSL-Version verweigert die Gegenstelle die Kommunikation.

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/385eaa628505df573ebf33722f780335f53ac1b2.png)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)
