502 Request Error + logs

Hello, I have this message

"502

Request Error

The page you requested generated a server error and could not be processed.
If you continue to get this message after refreshing, try restarting the Local site.

If the error persists, check the Local Router Logs in Local by going to
Help » Reveal Local Router’s Logs."

I’ve tried everything, nothing works, ideas?
thank you

Hey @Racepoutine - Welcome to the Local Community Forums!

The “502 Request Error” is fairly common. Can you take a look at this FAQ and see if the troubleshooting steps help fix things?

Hello,
Thank you for your answer. I tried all the troubleshooting steps but nothing works.

now I have this message: This site is inaccessible Unable to find the IP address of the server of -------.local

Any ideas?
Thank you

Jun 12, 2019, 2:04 PM GMT+2 - info: [main/docker-router] getRouterContainers()
Jun 12, 2019, 2:04 PM GMT+2 - info: [main/docker-router] teardown()
Jun 12, 2019, 2:04 PM GMT+2 - info: [main/docker-router] Removing router container e1b227852280999b542eeb6f6aab79146f7c09e9e04b2340e8070eeed40b9b9a
Jun 12, 2019, 2:04 PM GMT+2 - info: [main/docker-router] updateProxyManager()
Jun 12, 2019, 2:04 PM GMT+2 - info: [main/docker-router] runContainer()
Jun 12, 2019, 2:04 PM GMT+2 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 false test.local www.test.local les-gouyats-en-4l-clone.local www.les-gouyats-en-4l-clone.local les-gouyats-en-4l-clone-clone.local www.les-gouyats-en-4l-clone-clone.local
Jun 12, 2019, 2:04 PM GMT+2 - info: [main/docker-router] reconnectNetwork()
Jun 12, 2019, 2:04 PM GMT+2 - info: [main/hosts-helper] hostsHelper: Updated hosts. 
{ stdout: '', stderr: '' }
Jun 12, 2019, 2:08 PM GMT+2 - info: [main/docker-router] getRouterContainers()
Jun 12, 2019, 2:08 PM GMT+2 - info: [main/docker-router] teardown()
Jun 12, 2019, 2:08 PM GMT+2 - info: [main/docker-router] Removing router container d3f47641e6fbae21c5513c17b23d286f5b781dad3a8c1253440e16b3b5f325e9
Jun 12, 2019, 2:08 PM GMT+2 - info: [main/docker-router] updateProxyManager()
Jun 12, 2019, 2:08 PM GMT+2 - info: [main/docker-router] runContainer()
Jun 12, 2019, 2:08 PM GMT+2 - info: [main/docker-router] reconnectNetwork()
Jun 12, 2019, 2:12 PM GMT+2 - info: [renderer/SiteInfoEnvironmentPHP] Renderer Writing PHP info file:  local-phpinfo.php
Jun 12, 2019, 2:12 PM GMT+2 - info: [main/stopSite] Stopping site: running mydumper
Jun 12, 2019, 2:12 PM GMT+2 - info: [main/stopSite] Stopping site: stopping container 22e1c9b53a778a6d8052c55c406107c2bdcd55eaa8b0d6e04fc957be8869cb5a
Jun 12, 2019, 2:13 PM GMT+2 - info: [main/docker-router] getRouterContainers()
Jun 12, 2019, 2:13 PM GMT+2 - info: [main/docker-router] teardown()
Jun 12, 2019, 2:13 PM GMT+2 - info: [main/docker-router] Removing router container 4de39695e0d594a49a5a9ca2f38ed3e3fa3b04b4f9cc89e0ccad93962071a704
Jun 12, 2019, 2:13 PM GMT+2 - info: [main/docker-router] updateProxyManager()
Jun 12, 2019, 2:13 PM GMT+2 - info: [main/docker-router] runContainer()
Jun 12, 2019, 2:13 PM GMT+2 - info: [main/docker-router] reconnectNetwork()

and local-by-flywheel.log :

Jun 12, 2019, 2:27 PM GMT+2 - error: [main/exportDB]  
{ message:
   'mysqldump: [Warning] Using a password on the command line interface can be insecure.\nmysqldump: Got error: 2002: Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (2) when trying to connect',
  stack:
   'Error: mysqldump: [Warning] Using a password on the command line interface can be insecure.\nmysqldump: Got error: 2002: Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (2) when trying to connect\n    at (anonymous function).(anonymous function) (C:\\Users\\pavag\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\app.asar\\main\\exporters\\ExporterLocal.js:1:2822)\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Jun 12, 2019, 2:27 PM GMT+2 - info: [main/stopSite] Stopping site: stopping container 22e1c9b53a778a6d8052c55c406107c2bdcd55eaa8b0d6e04fc957be8869cb5a
  • When you open VirtualBox, what is the status of the Virtual Machine?
  • Can you attach a zip of the site’s logs folder? I’m wondering if there’s more info in the mysql/error.log file
  • Are you able to create and work with a new, plain WordPress site

It’s possible that somehow the Virtual Machine has been corrupted, but lets see what we can do before having to delete the VM and have Local re-create it.