Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-07-2023, 05:42 AM   #1
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
Wordpress: RestAPI/loopback request are needed?

Hi!

Just upgraded PHP7.3 to 7.4 for one of my wordpress sites and now I'm getting these two 'critical issues' under site-health:

Code:
The REST API encountered an error Performance

The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.

When testing the REST API, an error was encountered:

REST API Endpoint: https://www.domain.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://www.domain.com:443 (Unknown error)
Code:
Your site could not complete a loopback request Performance

Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

The loopback request to your site failed, this means features relying on them are not currently working as expected.
Error: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://www.domain.com:443 (Unknown error) (http_request_failed)
Checkec openssl and it wasn't enabled even on 7.3 so I guess the issue is with some kind of ssl certificate? (got it via Cloudflare).. but my question is - are these two things really needed, or can I just ignore this?

Thanks
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-07-2023, 07:21 AM   #2
NoWhErE
Confirmed User
 
NoWhErE's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Canada
Posts: 8,473
Not sure if needed, but have you tried opening the URL in the first message to see if SSL is indeed working?

In your post it's: https://www.domain.com/wp-json/wp/v2...t?context=edit

so replace "domain.com" with your site and see if SSL works. If not, contact your host
__________________
skype: lordofthecameltoe
NoWhErE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-07-2023, 08:17 AM   #3
Mr Pheer
I am Lief
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 17,442
I had that issue and I had to click "Force HTTPS" for my domain in my server's control panel.
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-07-2023, 08:19 AM   #4
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 21,514
Are you using cloudflare for ssl?
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-07-2023, 09:27 AM   #5
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
Quote:
Originally Posted by NoWhErE View Post
Not sure if needed, but have you tried opening the URL in the first message to see if SSL is indeed working?

In your post it's: https://www.domain.com/wp-json/wp/v2...t?context=edit

so replace "domain.com" with your site and see if SSL works. If not, contact your host
Loads fine via secure connection

Quote:
Originally Posted by fuzebox View Post
Are you using cloudflare for ssl?
Yes I'm on CF.
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-07-2023, 09:33 AM   #6
Mr Pheer
I am Lief
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 17,442
Quote:
Originally Posted by Paul&John View Post
Loads fine via secure connection



Yes I'm on CF.
Try setting SSL to Flexible
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-07-2023, 09:37 AM   #7
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
Already on Flexible, also using a plugin for it: Flexible SSL for CloudFlare (Fix For CloudFlare Flexible SSL Redirect Loop For WordPress)
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-07-2023, 10:37 AM   #8
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
PS: this issue wasnt reported by Wordpress before the upgrade from PHP 7.3 to PHP 7.4 so I guess it has something to do with it.
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-07-2023, 11:32 AM   #9
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 6,924
Someone mentioned before that a plugin named Rocket does this after a PHP upgrade. Might be that or some other plugin.
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2023, 12:51 AM   #10
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
I dont have that one, the list of plugins I'm using:

Easy WP Meta Description
Flexible SSL for CloudFlare
Official StatCounter Plugin (not sure why I added this, I always just manually add the code into the footer on my other blogs)
Widget Options
Select XML Sitemap Generator for Google
XML Sitemap Generator for Google
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2023, 07:59 AM   #11
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 21,514
Quote:
Originally Posted by Paul&John View Post
Yes I'm on CF.
Are you also running ssl on your server? 99% of Wordpress + SSL issues are because of cloudflare and the fact that the site can't access itself as it doesn't go through the SSL proxy.
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2023, 08:29 AM   #12
jamezon
Confirmed User
 
Industry Role:
Join Date: Apr 2019
Posts: 107
if you dont use rest api , its not a bad idea trying to disable it and see if things work. as far is know, its anyway mostly used by sneaky bots and hackers to brute force . not sure about newer versions of wp, i allways use classic editor and older versions of wp to keep things fast and simple..for newer plugins rest api might be necessary
jamezon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2023, 08:31 AM   #13
Freedom6995
Friends of Venus founder
 
Freedom6995's Avatar
 
Industry Role:
Join Date: Jul 2010
Posts: 1,904
Quote:
Originally Posted by Paul&John View Post
I dont have that one, the list of plugins I'm using:

Easy WP Meta Description
Flexible SSL for CloudFlare
Official StatCounter Plugin (not sure why I added this, I always just manually add the code into the footer on my other blogs)
Widget Options
Select XML Sitemap Generator for Google
XML Sitemap Generator for Google
Disable your plugins and see what happens.
__________________
Email: freedom6995 . protonmail.com
Freedom6995 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2023, 02:47 PM   #14
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,107
should be it at least 7.4 for wp, 8.0 really.

which host is still at 7.3?
__________________
i use mojohost. e: fris at fris.net
PornPics Gallery Scraper
WordPress Picture/Video Theme
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-08-2023, 02:54 PM   #15
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 6,924
Quote:
Originally Posted by Paul&John View Post
I dont have that one, the list of plugins I'm using:

Easy WP Meta Description
Flexible SSL for CloudFlare
Official StatCounter Plugin (not sure why I added this, I always just manually add the code into the footer on my other blogs)
Widget Options
Select XML Sitemap Generator for Google
XML Sitemap Generator for Google
What's the difference between "Select" XML Sitemap Generator for Google vs the non-select version?
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-09-2023, 11:30 PM   #16
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
Quote:
Originally Posted by Freedom6995 View Post
Disable your plugins and see what happens.
Too afraid to fuck up something, my guess is that none of those has to do anything with it except 'Flexible SSL for CloudFlare'.. but without that one the site wont work.

Quote:
Originally Posted by fris View Post
should be it at least 7.4 for wp, 8.0 really.

which host is still at 7.3?
Thats an unmanaged VPS at OVH.. but I got a managed one at a big adult host and my php there is even on a lower version (7.2)

Quote:
Originally Posted by Colmike9 View Post
What's the difference between "Select" XML Sitemap Generator for Google vs the non-select version?
Accidentally put the 'select' on the list, there is only one xml plugin.
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-10-2023, 08:31 AM   #17
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,107
Quote:
Originally Posted by fuzebox View Post
Are you also running ssl on your server? 99% of Wordpress + SSL issues are because of cloudflare and the fact that the site can't access itself as it doesn't go through the SSL proxy.
yes if you are using ssl on your server stop.

cloudflare uses the http url on your server, so if you have ssl enabled, and you have cloudflare you might either get massive redirect loops, or stuff breaking.
__________________
i use mojohost. e: fris at fris.net
PornPics Gallery Scraper
WordPress Picture/Video Theme
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-11-2023, 08:31 PM   #18
Mr Pheer
I am Lief
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 17,442
Just out of curiosity... are you using an adblocker in your browser?

If so, disable it for your site. I had an issue yesterday with certain plugins not working, wordpress was throwing errors, and it was my adblocker the whole time.

And I can duplicate it.

Error connecting to WordPress REST API. Disable ad-blocker for this page or unblock /wp-json/wp-statistics/v2/metabox in the ad-blocker configuration.
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-11-2023, 11:02 PM   #19
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,107
Quote:
Originally Posted by Paul&John View Post
Too afraid to fuck up something, my guess is that none of those has to do anything with it except 'Flexible SSL for CloudFlare'.. but without that one the site wont work.



Thats an unmanaged VPS at OVH.. but I got a managed one at a big adult host and my php there is even on a lower version (7.2)



Accidentally put the 'select' on the list, there is only one xml plugin.
no host should be using an out of date version like 7.2, i thought vacares was bad enough for only 7.3
__________________
i use mojohost. e: fris at fris.net
PornPics Gallery Scraper
WordPress Picture/Video Theme
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-12-2023, 02:37 AM   #20
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
Quote:
Originally Posted by Mr Pheer View Post
Just out of curiosity... are you using an adblocker in your browser?
I have adblock disabled on my own sites.. I think the issue will be with the CF flexible thingy and not having a certificate on my server. So will setup lets encrypt via virtualmin then switch to FULL mode at CF.
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-14-2023, 01:46 AM   #21
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
Seems like the solution was easier after all. So at first I requested a lets encrypt certificate, enabled FULL mode at Cloudflare then disabled the Flexible plugin but didn't helped. Did a little more googling and installing php-curl module for 7.4 solved it. Interestingly curl wasn't installed for php 7.3.
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2023, 09:49 AM   #22
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,107
curl module should really be on all php installs
__________________
i use mojohost. e: fris at fris.net
PornPics Gallery Scraper
WordPress Picture/Video Theme
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-16-2023, 06:22 AM   #23
Paul&John
Confirmed User
 
Paul&John's Avatar
 
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,425
To tell you the truth I always thought it comes already with php
__________________
Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here
Paul&John is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
error, stream_socket_client, rest, api, failed, loopback, wordpress, code, ssl, openssl, request, handshake, error14094410ssl, messages, alert, operation, failure, enable, site, crypto, connect, ssl://www.domain.com443, unknown, http_request_failed, unable
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright 2000- Jelsoft Enterprises Limited.