Hi @nerevars, that’s certainly strange for it to fail so many times.
There’s no limit to how many free keys a single email address can register for, so I wouldn’t expect the keys you’re generating to be invalid unless you were trying to install them over 24h after receiving them. You can also generate unlimited free keys from your Wordfence account that you use to log into Central if you don’t want to provide an email every time.
It may be beneficial just to follow along with the tutorial video in case you haven’t already and report back at which point you receive a failure and if there’s a specific error or response you’re getting that differs from the expected outcome. We may be able to check your key(s) further along the line, but I just want to make sure you’ve seen how the process should work. There’s also troubleshooting on the page in case there’s anything you haven’t tried yet: https://www.wordfence.com/help/api-key/#installing-your-free-license-key
Let us know how you get on,
Peter.
Yeah, its still not working. I gave up on it for a day since it was so frustrating and just came back to it to try again. No luck. I’ve watched the video. I have tried three different ways to get it to work. Tried using the button in the email I received with the free license that was sent. I get the error: “
Error Installing License
An error occurred while installing your license key.
Please try again. If the problem persists, please contact Wordfence Support
“
I get the same error message when trying to copy/paste the key sent in the same email. This key is used within 24 hours of it being sent. I try to use it right after I receive the email. I’ve tried logging into my account on Wordfence and going to the licenses button on the top, click get a free license, type in my website’s url and get the license key from the pop up window. I go back to wordpress and click the yellow button on the top right that says resume installation and I click install an existing license. enter my email, license key, yes for the alerts, and click the blue install license button. Same pop up window with the error message again. 3 different methods with the same error as a result.
Whats weird is that when I am within my WordPress dashboard, I have a widget showing Wordfence activity in the past week. I can select the Wordfence plugin on the left vertical toolbar/menu in WordPress (so it may be installed but misbehaving). This pops up a blue box that says “You must install a license to continue using Wordfence.” with a white button that says “RESUME INSTALLATION”. If I click that, it brings me back to the 2 options from before to get your Wordfence license blue button or install an existing license text link. IF I don’t click either one and scroll down the page with the floating blue box still present, I can select from the left side vertical menu bar the subcategories of the Wordfence plugin. I can click Dashboard and that pulls up that page with the blue box again in the foreground and the dashboard in the background with muted colors. So I can click Dashboard, Firewall, Scan, Audit Log, and All Options with the same blue box popping up. If I select Login Security from the left menu the blue box does not appear. The same for Tools, but it takes a few seconds to load for some reason.
Anyway, maybe its installed somehow but its trying to reinstall itself? I don’t know. Any ideas on what to do next?
Well after poking around a little bit, when clicking Wordfence’s subheading Tools from the left menu it pulls up the Diagnostics tab which has Connectivity highlighted with red text. The others have black text. Opening up that arrow shows: “Connecting back to this site via IPv6 (not required; failure to connect may not be an issue on some sites)” in red text with a red X next to it and with the message: “wp_remote_post() test back to this server failed! Response was: cURL error 7: Failed to connect to example.com port 80 after 2040 ms: Could not connect to server”
Hopefully that helps.
So I guess I’m not going to get any help with this from Wordfence? I’ve tried all the troubleshooting you’ve suggested. Is this indicative of your support system overall? Do I need to pay to get help? Its been a week since the last response.
Still no luck figuring it out and I have no info on what to do with the connection issue. With the amount of times I have tried to get this fixed and attempts to reach out at the only method I can use to reach out, you would think Wordfence would at least make an effort to get this resolved. I guess those looking to get this free plugin should take this as a warning of how much help you will get.
-
This reply was modified 1 year, 1 month ago by
nerevars.
Its been about 6 days since my last reply. No help. Its been 13 days since the last response from wfpeter who works for Wordfence. You DO have to pay for support from Wordfence apparently. Lesson learned. Maybe I will try a different security plugin then.
@nerevars
Apologies for the delay. I’m following up here while Pete is out.
This could be a database permissions issue, issues with the Wordfence tables, or potentially a plugin/theme conflict. I see you mentioned you did repair the tables at one point.
The connection issue you’re seeing via the IPv6 section of diagnostics may not be related and is common to see. Are you able to Export diagnostics via the Wordfence > Tools > Diagnostics page, using the Export button? If so, please send those over to wftest @ wordfence . com and please put your forum username in the subject line there and let me know here when those are sent.
Thanks,
Scott
Thanks, @nerevars
First, can you please go to the license installation page on your site, open your browser console, refresh the page, then try installing a license on the site? Take a screen grab of any errors that show there.
After trying the license install, go over to the Log Files section in the Wordfence plugin (Wordfence > Tools > Diagnostics > Log Files) and check the site’s PHP error logs to see the most recent entries. Let me know what errors you’re seeing from the time you tried installing the key. I recommend checking for fatal errors. To download and attach those via email, you may need to truncate the log files as one of them is large. You can send over the screen grab and logs via email, and please let me know here when those are sent.
Thanks,
Scott
I sent the screenshot with one error showing up in the console and one error log to the same email address as before.
Thanks for sending those over, @nerevars
I see via the diagnostics that you have two separate prefixes in the database which may be causing some issues. Some of the tables from both prefixes have the same recent creation date, as well. Are you working with multiple databases intentionally at the moment? If not, you might consider checking there initially to see if there are any permission or configuration issues.
In the image you sent over from the network tab, we see a 400 response for the one admin ajax post request. If you try installing the key again, then clicking that 400 error line in the console, you may see some useful details on both the Payload and Response tabs. Please send over a screen grab via email of what you see there for us.
Diagnostics shows a second error log at wp-admin/error_log that’s 151 MB. Since a call to wp-admin/admin-ajax.php may be the issue based on the screen grab you sent previously, that error log could have errors that are useful. If you can upload that and send it over for us via email, that would be helpful as well.
Last, can you please email us the license key that you’re trying to use so we can check on the requests on our side for you? Let me know here when that is sent and we’ll take a look for you.
Thanks,
Scott