Accessing WP-Admin fails with SSL error V2

Issue Summary

Installed a new site via WPEngine zip file.

Can access the site ok, but in chrome WP-Admin is refused with:

This site can’t provide a secure connection

mimlocal.local sent an invalid response.

  • [Try running Windows Network Diagnostics](javascript:diagnoseErrors()).
    ERR_SSL_PROTOCOL_ERROR

In Firefox dev edition:

Secure Connection Failed

An error occurred during a connection to mimicolocal.local:10030. SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.

Learn more…

Site is trusted in the Local console, which by definition should allow you to access wp-admin

How can you have a local development tool that doesn’t let you access admin?

I’m sure this used to work automatically by setting up SSL, but something appears to have changed?

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?

New site created via WPEngine backup download import.

This seems to be the same issue as Accessing WP-Admin fails with SSL error but that’s now locked. Solutions there do not resolve this issue.

I checked port 80 using currports in Win 11, and the only process using port 80 is Locals Nginx itself.
Router mode is site domains. Tried testing local mode, but that failed to access it as well, so went back to site domains.

I have some other sites locally and I can use WordPress admin aok with them, even when not trusted.

This is quite frustrating. This is basic functionality that should just work ootb, instead I have to spend hours troubleshooting a tools issue just to get up an running with local dev.

I have a suspicion that this is due to a bug with creating sites from a WPEngine Zip file, as the other sites I created from basic WordPress when imported via plugin.

Hi there @sonicviz - thank you for your question & all of the extra details and context about how you create the import file.

Have you by chance tried to create a backup using WP Migrate (as suggested a little further down in this help doc: Import/Export a WordPress Site - Local)

If you suspect the WPEngine zip file might be the culprit, we could try the WP Migrate method and see if that works.

Sam

No, I have not as the recommended method is to use a WPEngine backup.
If that method isn’t reliable then maybe it should not be the recommended method?

In any event, it seems to be a recurring issue, with multiple threads.

Hi @sonicviz

If you create a new, blank site, can you access that okay or does it give you the same errors? It seems like you have experience with Local, so just trying to narrow down is the issue with this specific site or with any sites that you’re trying to access the admin on.

Could you provide some other details as well to help us take a further look?

  • What is your OS?

  • What version of Local are you on?

  • Please attach a copy of your Local Logs

Keep us posted and we’d be happy to help further!

1 Like

Could you provide some other details as well to help us take a further look?

  • What is your OS?
  • What version of Local are you on?
  • Please attach a copy of your Local Logs

Apologies, I thought I’d added those in OP, but must have inadvertantly deleted them.

Win 11 latest.
Local latest (not open atm, but just updated it to latest prior to issue)

Sorry, I’ve moved on from this project now so no logs.
I’m sure the issue, whatever it is, is still there however.
The fact multiple people are reporting it indicates issues with it somewhere, so I think you need to do some digging to ferret it out.

Hi @sonicviz - If you run into this again in the future feel free to circle back with us and provide a log and we’d be happy to drill down further. We aren’t seeing any other widespread reports of this at this time. The article you linked above looks like the most recent user found a resolution for them.

Additionally, if you’re a WPE customer you can always reach out to their support teams 24/7 to get a ticket in if you need more immediate assistance!

1 Like

Hi, I’m having exactly the same issue. I have two earlier sites which still work fine, and creating a new Local site from scratch works fine also, but the most recent site that I tried import into WP Local is giving me an SSL error whenever I try to access the admin – even though I have SSL turned off in Local and am using the localhost method. The problem seems to be that the site is redirecting to HTTPS when I try to access /wp-admin.

I have tried on both Chrome and Firefox and getting the same issue.

OS: Ubuntu 20.04 LTS
Local version: 7.02+6395

The router log (pasted below) suggests there is a port conflict on port 80, but I’m still getting the same issue after killing all of the processes listening to 80.

2023/07/14 15:16:16 [emerg] 11818#0: still could not bind()
2023/07/14 15:16:19 [emerg] 11821#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to [::]:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to [::]:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to [::]:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to [::]:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: bind() to [::]:80 failed (98: Address already in use)
2023/07/14 15:16:19 [emerg] 11821#0: still could not bind()

I’d appreciate any help, thanks!

Hi @antoniusb

Do you have any antivirus, security, or firewall applications that could be blocking Local?

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.