Title: Connection Issues
Last modified: August 31, 2016

---

# Connection Issues

 *  Resolved [rearley](https://wordpress.org/support/users/rearley/)
 * (@rearley)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/)
 * After upgrading to 4.1.9 I am having issues with other plugins connecting to 
   servers. JetPack could not resolve the wordpress.org domain as well as the WP
   news feed could not resolve. Disabling this plug-in fixes the issues.
 * Let me know any other information you need. I am a PHP Developer but just don’t
   have the time to debug this script at the moment.
 * Thanks,
    Rick
 * [https://wordpress.org/plugins/document-gallery/](https://wordpress.org/plugins/document-gallery/)

Viewing 15 replies - 1 through 15 (of 51 total)

1 [2](https://wordpress.org/support/topic/connection-issues-2/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/connection-issues-2/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/connection-issues-2/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/connection-issues-2/page/2/?output_format=md)

 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908519)
 * Hi Rick,
 * There haven’t been any other reports of any such issues and I run JetPack alongside
   DG on multiple of my WP installs. Can you do me a favor and disable all other
   plugins except for JP and DG and see whether the problem resolves? If it does,
   then you’ve got another plugin going rogue.
 * -Dan
 *  Thread Starter [rearley](https://wordpress.org/support/users/rearley/)
 * (@rearley)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908520)
 * Will do. The process I went through to come to the conclusion about this plug
   in was I disabled one plug-in at a time, tested, enabled and took those steps
   through all plug-ins. It started working when DG was disabled.
 * When I get some time I will disable all and enable DG. Maybe a odd conflict going
   on.
 *  Thread Starter [rearley](https://wordpress.org/support/users/rearley/)
 * (@rearley)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908521)
 * OK, disabled all plug-ins. Enabled DG and Jetpack and was unable to re-connect
   Jetpack until I disabled DG.
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908533)
 * Thanks for clarifying! Could you elaborate on exactly what JP is reporting as
   the problem? A screnshot would be very helpful (assuming it’s reporting the issue
   viably somewhere). I’d like to try and find in code where JP is detecting the
   problem and that may help me isolate what DG might be doing to trigger the issue.
 * -Dan
 *  Thread Starter [rearley](https://wordpress.org/support/users/rearley/)
 * (@rearley)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908539)
 * Here is two screen shots. One will be JP and the other from the Dashboard of 
   WP.
 * [http://screenshot.net/po8q2az](http://screenshot.net/po8q2az)
 * [http://screenshot.net/ez0mphl](http://screenshot.net/ez0mphl)
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908546)
 * Hi Rick,
 * Are there any entries in your PHP error log? Can you please also paste the current
   configuration for Document Gallery (under `Dashboard -> Settings -> Document 
   Gallery -> Advanced`).
 * -Dan
 *  Thread Starter [rearley](https://wordpress.org/support/users/rearley/)
 * (@rearley)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908577)
 * Here is the settings and I will go look through the logs.
 * Array
    ( [thumber] => Array ( [gs] => /usr/bin/gs [active] => Array ( [av] =>
   1 [gs] => 1 [imagick] => 1 [thumber-co] => )
 *  [width] => 200
    [height] => 200 )
 *  [gallery] => Array
    ( [columns] => 4 [order] => ASC [orderby] => menu_order [
   relation] => AND [limit] => -1 [mime_types] => application,video,text,audio,image[
   post_status] => any [post_type] => attachment [descriptions] => [attachment_pg]
   => [fancy] => [new_window] => [paginate] => 1 [skip] => 0 )
 *  [css] => Array
    ( [text] => )
 *  [meta] => Array
    ( [version] => 4.1.9 [donate_link] => [https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgallery¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgallery¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)[
   items_per_page] => 10 )
 *  [logging] => Array
    ( [enabled] => [purge_interval] => 7 )
 *  [thumber-co] => Array
    ( [uid] => [secret] => [subscription] => Array ( )
 *  [direct_upload] =>
    [mime_types] => Array ( )
 *  )
 * )
 *  [wscocadmin](https://wordpress.org/support/users/wscocadmin/)
 * (@wscocadmin)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908723)
 * I’m having the same problem with my site.
 * The site was unable to connect to jetpack.wordpress.org, or update wordpress 
   itself due to DNS resolution errors until Document Gallery was deactivated.
 * Honestly, I’m not certain the problem was solely being caused by DG as there 
   are other errors that continue to show up in the WordPress News widget on the
   main dashboard page.
 * RSS Error: WP HTTP Error: Couldn’t resolve host ‘wordpress.org’
 * RSS Error: WP HTTP Error: Couldn’t resolve host ‘planet.wordpress.org’
 * I wonder if the error being described here might be related:
 * [https://wordpress.org/support/topic/cant-update-wordpress-ssl-certificate-problem-error14090086s?replies=13#post-7769227](https://wordpress.org/support/topic/cant-update-wordpress-ssl-certificate-problem-error14090086s?replies=13#post-7769227)
 *  [wscocadmin](https://wordpress.org/support/users/wscocadmin/)
 * (@wscocadmin)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908724)
 * My options array:
 * Array
    ( [thumber] => Array ( [gs] => /usr/bin/gs [active] => Array ( [av] =>
   1 [gs] => 1 [imagick] => 1 [thumber-co] => )
 *  [width] => 200
    [height] => 200 )
 *  [gallery] => Array
    ( [attachment_pg] => [descriptions] => [fancy] => 1 [mime_types]
   => application,video,text,audio,image [order] => ASC [orderby] => menu_order [
   relation] => AND [post_status] => any [post_type] => attachment [limit] => -1[
   columns] => 4 [new_window] => [paginate] => 1 [skip] => 0 )
 *  [css] => Array
    ( [text] => )
 *  [meta] => Array
    ( [version] => 4.1.10 [donate_link] => [https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgallery¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE5LWRLG933EN&lc=US&item_name=Document%20Gallery%20Plugin&item_number=document%2dgallery¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)[
   items_per_page] => 10 )
 *  [logging] => Array
    ( [enabled] => [purge_interval] => 7 )
 *  [thumber-co] => Array
    ( [uid] => [secret] => [subscription] => Array ( )
 *  [direct_upload] =>
    [mime_types] => Array ( )
 *  )
 * )
 *  [wscocadmin](https://wordpress.org/support/users/wscocadmin/)
 * (@wscocadmin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908748)
 * [16-Jan-2016 05:10:13 UTC] PHP Warning: An unexpected error occurred. Something
   may be wrong with WordPress.org or this server’s configuration. If you continue
   to have problems, please try the [support forums](https://wordpress.org/support/).(
   WordPress could not establish a secure connection to WordPress.org. Please contact
   your server administrator.) in …../wp-admin/includes/plugin-install.php on line
   158
 *  [wscocadmin](https://wordpress.org/support/users/wscocadmin/)
 * (@wscocadmin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908749)
 *     ```
       $res = apply_filters( 'plugins_api', false, $action, $args );
   
               if ( false === $res ) {
                       $url = $http_url = 'http://api.wordpress.org/plugins/info/1.0/';
                       if ( $ssl = wp_http_supports( array( 'ssl' ) ) )
                               $url = set_url_scheme( $url, 'https' );
   
                       $http_args = array(
                               'timeout' => 15,
                               'body' => array(
                                       'action' => $action,
                                       'request' => serialize( $args )
                               )
                       );
                       $request = wp_remote_post( $url, $http_args );
   
                       if ( $ssl && is_wp_error( $request ) ) {
                               trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE );
                               $request = wp_remote_post( $http_url, $http_args );
                       }
       ```
   
 *  [wscocadmin](https://wordpress.org/support/users/wscocadmin/)
 * (@wscocadmin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908750)
 * The ‘trigger_error’ call is line 158.
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908751)
 * Just want to let you two know I have not forgotten about this. My full-time job
   has been consuming most of my time the past couple of weeks, but I plan to make
   some time to investigate this some time this week or the upcoming weekend.
 * Thanks for your patience!
 * -Dan
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908771)
 * Hi All,
 * Just following up on this. I’ve asked Jetpack’s support to weigh in on this as
   I’m baffled. I’ll follow up once I hear back from the JP team.
 * Thanks for your patience,
    Dan
 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/connection-issues-2/#post-6908777)
 * Hi All,
 * I heard back from Jetpack support today and they had information that allowed
   me to fix the issue in DG. If you update to the latest release you should find
   that the issue is resolved now, though don’t hesitate to let me know if you continue
   to experience any issues.
 * -Dan

Viewing 15 replies - 1 through 15 (of 51 total)

1 [2](https://wordpress.org/support/topic/connection-issues-2/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/connection-issues-2/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/connection-issues-2/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/connection-issues-2/page/2/?output_format=md)

The topic ‘Connection Issues’ is closed to new replies.

 * ![](https://ps.w.org/document-gallery/assets/icon.svg?rev=983329)
 * [Document Gallery](https://wordpress.org/plugins/document-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/document-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/document-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/document-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/document-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/document-gallery/reviews/)

 * 51 replies
 * 6 participants
 * Last reply from: [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/connection-issues-2/page/4/#post-6908839)
 * Status: resolved