# Changing host for Wordpress, lost connection to Discourse (curl 6 error)

**URL:** <https://meta.discourse.org/t/changing-host-for-wordpress-lost-connection-to-discourse-curl-6-error/192200>\
**Category:** WordPress\
**Created:** [May 31, 2021, 7:34pm UTC](https://meta.discourse.org/t/changing-host-for-wordpress-lost-connection-to-discourse-curl-6-error/192200 "2021-05-31T19:34:48Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [June 1, 2021, 1:29am UTC](https://meta.discourse.org/t/changing-host-for-wordpress-lost-connection-to-discourse-curl-6-error/192200/7 "2021-06-01T01:29:40Z")

</div>

Hey Romain, there could be a few different reasons.

The reason we recently added [logging infrastructure](https://meta.discourse.org/t/wp-discourse-logging/190745) to the plugin is to directly diagnose these kind of issues. We’ll be adding logging to the connection functionality soon, however it’s only currently active in the publication functionality.

A connection issue in the publication logs are unlikely to tell us anything useful. Nevertheless, you did mention an attempt to publish, so please first check the “Logs” admin panel in the [WP Discourse](https://github.com/discourse/wp-discourse) plugin. You can share a specific line from the log, or share the whole log with me via PM. I’d also recommend issuing new API credentials in your Discourse and applying them in the plugin to ensure that’s not the cause.

Aside from that, while I wouldn’t want to turn this into a tit-for-tat with your hosts, an inability to `cURL` a domain, suggests an environmental issue, not a plugin issue. If you search for similar errors here you’ll find that @simon kindly helping various folks diagnose what are effectively environmental issues. For example (including some possible diagnostic tools) see

> [@cURL error 35 when trying to connect](https://meta.discourse.org/t/curl-error-35-when-trying-to-connect/57804/12):
>
> You could try installing this plugin: [TLS 1.2 Compatibility Test – WordPress plugin | WordPress.org English (Canada)](https://en-ca.wordpress.org/plugins/tls-1-2-compatibility-test/) It adds an item to the WordPress tools menu that tests you webserver for TLS 1.2 compatibility against a PayPal endpoint. If it works with PayPal it should work with other endpoints as well.

I’d recommend you press your hosting provider a bit more, asking them why there’d be an inability to make a `cURL` request to a domain. If they have some more specific reason to think it’s an issue with the [WP Discourse](https://github.com/discourse/wp-discourse) plugin, and not say, an incorrect cURL version on the server (which on the face of it is more likely), they’re welcome to post here, or even pm me, and I’d be happy to look into it further with them.

---

_[View the full topic](https://meta.discourse.org/t/changing-host-for-wordpress-lost-connection-to-discourse-curl-6-error/192200)._
