Reputation
Top tag
Next privilege 75 Rep.
Set bounties
Badges
7
Impact
~2k people reached

  • 0 posts edited
  • 1 helpful flag
  • 16 votes cast
Apr
12
comment Errors on a single host using wp_remote_get() unless sslverify is set to false
Although this answer may not explain exactly why the error only appears on a certain host, it has given me a better understanding of the situation. From here I can dig deeper, in the right direction, to not only find the cause but also to ensure I account for this in the future.
Apr
12
awarded  Citizen Patrol
Apr
12
accepted Errors on a single host using wp_remote_get() unless sslverify is set to false
Apr
12
comment Errors on a single host using wp_remote_get() unless sslverify is set to false
I meant to type 'assuming latest'. I completely follow you about older versions. All my test installs are running 4.4.2 so I figured I'd be good there. Like you say, must be something in that specific environment. Either way, need to add something to cover all bases. Thanks again.
Apr
12
comment Errors on a single host using wp_remote_get() unless sslverify is set to false
Thanks for the reply, Mark. What I got from Otto's answer is that since 3.7 the WP_HTTP API should handle verification using its own copy of the CA Root Certificates file and I can rely on wp_remote_get() for proper verification (assuming WP 3.7+). Is that not accurate? All I have to go on at this point is the wp_remote_get() response and the fact that setting sslverify to false appears to prevent the error.
Apr
12
comment Errors on a single host using wp_remote_get() unless sslverify is set to false
The cert screenshot above belongs to the site I'm pulling from. A typical URL, for example: https://aviationweather.gov/adds/dataserver_current/httpparam?dataSource=aircra‌​ftreports&requestType=retrieve&format=xml&radialDistance=100%3B-76.100000%2C43.12‌​0000&hoursBeforeNow=4 Another post(old) discussing this
Apr
12
revised Errors on a single host using wp_remote_get() unless sslverify is set to false
Add what may or may not be a minor detail regarding the site in question and SSL
Apr
12
asked Errors on a single host using wp_remote_get() unless sslverify is set to false
Oct
29
awarded  Popular Question
Apr
24
accepted Posting From Apple Aperture?
Apr
24
accepted Plugin Not Working, But Only On GoDaddy Hosted site
Apr
24
accepted How to change post format from Aside to Image for all posts?
Mar
14
awarded  Scholar
Mar
14
accepted Pagination options using xml data instead of database?
Mar
14
answered Pagination options using xml data instead of database?
Mar
10
asked Pagination options using xml data instead of database?
May
14
awarded  Supporter
Jan
28
comment Plugin Not Working, But Only On GoDaddy Hosted site
On a side note, I called GoDaddy with the slim hope they might have a suggestion. After a few minutes, the guy came back and asked if I had posted something about this recently on StackExchange. Nice tech support, GoDaddy.
Jan
27
comment Plugin Not Working, But Only On GoDaddy Hosted site
@Milo I guess the single update as Guest was an anomaly, it's not updating at all as Guest today on GoDaddy. I had a question about prepare(). If I change the first query in the above code to use %s for table name then use ->prepare($term_query, $table_name) it puts backticks around the table name and I get no results. Any idea why that would be? If I include the table name in the query and use ->prepare($term_query) there are no backticks around the table name and it returns all my rows.
Jan
27
comment Plugin Not Working, But Only On GoDaddy Hosted site
@Milo Thanks for the heads up on that. I was unaware it worked like printf() I made that change and now on GoDaddy it will update once when searching as a guest, but does nothing after the first update. Still works as expected on HostGator. Guess this is one step closer to solving the problem.