Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter velinath

    (@velinath)

    One last note: I did have to make a similar change to get Jetpack Publicize to work.

    I changed, in /wp-content/plugins/jetpack/class.jetpack-client.php, line 16, change the line to
    'timeout' => 30,

    Thread Starter velinath

    (@velinath)

    Forget everything I just said, it’s totally unrelated. My server’s just a piece of crap, I guess.

    The solution:
    In wp-includes/class-http.php, line 72, it’s setting defaults for cURL timeouts and other options. Specifically, this line should read:
    'timeout' => apply_filters( 'http_request_timeout', 5),

    I changed it to the following:
    'timeout' => apply_filters( 'http_request_timeout', 30),

    and things started working! Not particularly happy about this one, but hey, we’re good to go.

    Thanks again everyone who helped out! Cheers!

    Thread Starter velinath

    (@velinath)

    Wel’p…I think I got it.

    @cj:

    Your initial impulse was right, it does seem to be at least tangentially related to SSL’s as well as cURL. I was doing some testing with a curl clal in PHP to see what I could see, and noticed that I could curl to https:// but not to https://. Took a closer look, tried the solutions found here, and I can successfully curl to https. I’ll post again if this solves the problem.

    Thanks so much for your eyes on this one.

    Thread Starter velinath

    (@velinath)

    I did double-check cURL, and it works with HTTP but not HTTPS.

    Thread Starter velinath

    (@velinath)

    @cj:

    Not as far as I can tell. I’ve turned off the firewall on the server for testing purpose and placed the server in the DMZ on my network, which I think should have gotten rid of any issues. I’ve also double checked on the server to make sure I can run nslookup on www.remarpro.com, and it does seem to work.

    Thread Starter velinath

    (@velinath)

    @cj,

    I looked into this, and got following results:

    a) Yes, it does.

    b) All transports were listed as “Successfully retrieved & verified document”. However, I did run the test 3 times (paranoia, I know…) and on the 3rd trial I did get “An Error has occured [sic]: Connection timed out after 10264 milliseconds” on the cURL transport.

    c) After disabling the cURL transport, I note the following:
    1) I can now browse and install plugins from the WordPress plugin repository.
    2) I am still unable to see the WP RSS feeds, with the same error returning.
    3) Jetpack is still not activating properly, although the error message has changed to text as follows:
    10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    In short, it looks like you were dead on with the cURL transport option. I’ve double checked that the module is enabled in PHP in case Core Control was just misreporting, and everything looks right. Thoughts?

    Thanks much for your time on this one. I think progress is being made!

    Thread Starter velinath

    (@velinath)

    bem,

    I’ve turned off the firewall for testing, and no dice. ?? Thanks, though!

    Thread Starter velinath

    (@velinath)

    CJ,

    Core Control does indeed note that SSH2 transport method is not enabled. I’ve tried to follow directions for installing libssh2 and php_ssh2.dll, but it doesn’t seem to be helping to fix this problem. Do you think this might be the cause of the issue?

    Thread Starter velinath

    (@velinath)

    No cache plugin, and have started with fresh WP install.

    Thread Starter velinath

    (@velinath)

    There were connection issues before I even installed Jetpack.

    Thread Starter velinath

    (@velinath)

    Hey,

    Unfortunately I have already been through those threads, it doesn’t appear to be SSL related at all and I have reset my DNS to point to Google’s DNS (8.8.8.8) as primary with no luck.

    Thread Starter velinath

    (@velinath)

    One more bump as this looks like it’s not limited to just plugins or Jetpack. I’ll try and summarize.

    WordPress is running on a self-hosted Windows Server 2012 box via IIS, PHP 5.3.28, and MySQL 5.6.15.

    I’m getting the following error when I try to check my plugin list (taken from my PHP error log using Debug Bar plugin):

    WARNING: C:\*********\wp-includes\update.php:267 - An unexpected error occurred. Something may be wrong with www.remarpro.com or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to www.remarpro.com. Please contact your server administrator.)

    The RSS reader on the main page on the wp-admin dashboard throws the following error:

    "RSS Error: WP HTTP Error: Failed connect to www.remarpro.com:80; No error"

    When trying to authorize a Jetpack connection, I get the following error:

    Jetpack could not contact WordPress.com: token_http_request_failed. This usually means something is incorrectly configured on your web host.

    I tried to contact Jetpack support and they told me that it was likely something misconfigured on my server, but I’m lost as to what that could be.

    Thanks for any assistance with this one. I’m really lost, so I’d appreciate any fresh eyes you could give.

    Thread Starter velinath

    (@velinath)

    Bumping this topic as I’m still struggling with this issue and don’t know where to go from here. The site is externally accessible.

    More error messages:

    RSS readers have an error as follows:
    "RSS Error: WP HTTP Error: Failed connect to www.remarpro.com:80; No error"

    Jetpack gives an error when trying to authorize the connection.

    "Jetpack could not contact WordPress.com: token_http_request_failed. This usually means something is incorrectly configured on your web host.
    
    Connection timed out after 5616 milliseconds"

    Thread Starter velinath

    (@velinath)

    This seems like a more widespread issue than just the plugin installs as I’m unable to connect to anything on the WordPress sites for blog, RSS, or the Jetpack installer.

    Hi!

    I wrote a PowerShell script to delete these captchas and just run it as a scheduled task, since I couldn’t figure out how to fix it in Gravity Forms.

    If you set the $path variable to your sites folder, you can run this script as a scheduled task. Let me know how it works for you, Nate.

    $path = Read-Host "Enter a path"
    $logfile = "c:\log\deleted_folders_$(Get-Date -f MM_dd_yyyy).txt" #This log file WILL be hundreds of megabytes if not more the first time you run it, be warned.
    dir $path -Recurse | Where-Object {$_.DirectoryName -match 'captcha-*' -and $_.FullName -match 'gravity_forms' -and ($_.Name -match '.txt' -or $_.Name -match '.png')} | Foreach-Object{
        Add-Content -Path $logfile -Value ("Name: {0} Date: {1}" -f $_.FullName,(Get-Date)) #Add to the log file
        Remove-Item -Path $_.FullName -Recurse -Force #Delete the item
    }
Viewing 15 replies - 1 through 15 (of 15 total)