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. |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
09-07-2023, 05:42 AM | #1 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
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) 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 |
09-07-2023, 07:21 AM | #2 |
Confirmed User
Industry Role:
Join Date: Sep 2005
Location: Canada
Posts: 9,786
|
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 |
09-07-2023, 08:17 AM | #3 |
Mark Osterholt Sucks Cock
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 19,563
|
I had that issue and I had to click "Force HTTPS" for my domain in my server's control panel.
|
09-07-2023, 08:19 AM | #4 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 21,858
|
Are you using cloudflare for ssl?
|
09-07-2023, 09:27 AM | #5 | |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
Quote:
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 |
|
09-07-2023, 09:33 AM | #6 |
Mark Osterholt Sucks Cock
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 19,563
|
|
09-07-2023, 09:37 AM | #7 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
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 |
09-07-2023, 10:37 AM | #8 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
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 |
09-07-2023, 11:32 AM | #9 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
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.. |
09-08-2023, 12:51 AM | #10 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
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 |
09-08-2023, 07:59 AM | #11 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 21,858
|
|
09-08-2023, 08:29 AM | #12 |
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 123
|
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
|
09-08-2023, 08:31 AM | #13 | |
Friends of Venus founder
Industry Role:
Join Date: Jul 2010
Posts: 1,943
|
Quote:
__________________
Email: freedom6995 . protonmail.com |
|
09-08-2023, 02:54 PM | #15 | |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
Quote:
__________________
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.. |
|
09-09-2023, 11:30 PM | #16 | |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
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:
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 |
|
09-10-2023, 08:31 AM | #17 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 54,944
|
Quote:
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.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. WP Stuff |
|
09-11-2023, 08:31 PM | #18 |
Mark Osterholt Sucks Cock
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 19,563
|
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. |
09-11-2023, 11:02 PM | #19 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 54,944
|
Quote:
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. WP Stuff |
|
09-12-2023, 02:37 AM | #20 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
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 |
09-14-2023, 01:46 AM | #21 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
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 |
09-16-2023, 06:22 AM | #23 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,545
|
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 |
|
|||||||
Bookmarks |