Estou tendo problemas com o Valet do Laravel o dia todo. Não consigo carregar o site no navegador ou ele é interrompido. Às vezes, reiniciar meu Mac funciona. Às vezes, reiniciar o valet funciona. Eu estou correndo com o MariaDB e o PHP70 do Homebrew
brew services list
Name Status User Plist
dnsmasq started root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
mariadb started jasper /Users/jasper/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
php70 started root /Library/LaunchDaemons/homebrew.mxcl.php70.plist
tor stopped
Atualmente, tentei voltar à visão geral dos plug-ins e agora está pausado.
Fazer um check de netstat me faz uma lista muito longa:
sudo netstat -tnlp tcp | grep '\.80 '
tcp4 0 0 127.0.0.1.80 127.0.0.1.54080 ESTABLISHED
tcp4 0 0 127.0.0.1.80 127.0.0.1.54079 ESTABLISHED
tcp4 0 0 127.0.0.1.54080 127.0.0.1.80 ESTABLISHED
tcp4 0 0 127.0.0.1.80 127.0.0.1.54078 ESTABLISHED
tcp4 0 0 127.0.0.1.54079 127.0.0.1.80 ESTABLISHED
tcp4 0 0 127.0.0.1.80 127.0.0.1.54077 ESTABLISHED
tcp4 0 0 127.0.0.1.54078 127.0.0.1.80 ESTABLISHED
tcp4 0 0 127.0.0.1.80 127.0.0.1.54076 ESTABLISHED
tcp4 0 0 127.0.0.1.54077 127.0.0.1.80 ESTABLISHED
tcp4 1318 0 127.0.0.1.80 127.0.0.1.54075 ESTABLISHED
tcp4 0 0 127.0.0.1.54076 127.0.0.1.80 ESTABLISHED
tcp4 0 0 127.0.0.1.54075 127.0.0.1.80 ESTABLISHED
tcp4 0 0 178.20.172.186.54074 205.196.223.93.80 ESTABLISHED
tcp4 0 0 178.20.172.186.54073 205.196.223.93.80 ESTABLISHED
tcp4 0 0 178.20.172.186.54072 192.0.73.2.80 ESTABLISHED
tcp4 0 0 178.20.172.186.54071 192.0.73.2.80 ESTABLISHED
tcp4 0 0 178.20.172.186.54062 151.101.193.69.80 ESTABLISHED
tcp4 0 0 178.20.172.186.54059 151.101.193.69.80
tcp4 0 0 127.0.0.1.54046 127.0.0.1.80 FIN_WAIT_2
tcp4 0 0 127.0.0.1.80 127.0.0.1.54045 CLOSE_WAIT
tcp4 0 0 127.0.0.1.80 127.0.0.1.54044 CLOSE_WAIT
tcp4 0 0 127.0.0.1.54045 127.0.0.1.80 FIN_WAIT_2
tcp4 0 0 127.0.0.1.54044 127.0.0.1.80 FIN_WAIT_2
tcp4 1362 0 127.0.0.1.80 127.0.0.1.54043 CLOSE_WAIT
tcp4 1100 0 127.0.0.1.80 127.0.0.1.54042 CLOSE_WAIT
tcp4 0 0 127.0.0.1.54043 127.0.0.1.80 CLOSE_WAIT
tcp4 0 0 127.0.0.1.53966 127.0.0.1.80 FIN_WAIT_2
tcp4 0 0 127.0.0.1.80 127.0.0.1.53725 CLOSE_WAIT
tcp4 0 0 127.0.0.1.53725 127.0.0.1.80 FIN_WAIT_2
tcp4 0 0 127.0.0.1.80 127.0.0.1.53713 CLOSE_WAIT
tcp4 0 0 127.0.0.1.53713 127.0.0.1.80 FIN_WAIT_2
tcp4 0 0 127.0.0.1.80 127.0.0.1.53712 CLOSE_WAIT
tcp4 0 0 127.0.0.1.53712 127.0.0.1.80 FIN_WAIT_2
tcp4 0 0 127.0.0.1.80 127.0.0.1.53711 CLOSE_WAIT
tcp4 0 0 127.0.0.1.80 127.0.0.1.53710 CLOSE_WAIT
tcp4 0 0 127.0.0.1.53711 127.0.0.1.80 FIN_WAIT_2
tcp4 0 0 127.0.0.1.80 127.0.0.1.53709 CLOSE_WAIT
tcp4 0 0 127.0.0.1.53710 127.0.0.1.80 FIN_WAIT_2
tcp4 0 0 127.0.0.1.53709 127.0.0.1.80 FIN_WAIT_2
Aqui lsof menos Google e DropBox:
lsof -i tcp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mysqld 559 jasper 25u IPv4 0xee33df006c9199f1 0t0 TCP localhost:mysql (LISTEN)
TextMate 3408 jasper 7u IPv6 0xee33df005c2a2ea1 0t0 TCP localhost:52698 (LISTEN)
php-fpm 12857 jasper 0u IPv4 0xee33df006e0ced19 0t0 TCP localhost:cslistener (LISTEN)
php-fpm 12858 jasper 0u IPv4 0xee33df006e0ced19 0t0 TCP localhost:cslistener (LISTEN)
php-fpm 12879 jasper 0u IPv4 0xee33df006e0ced19 0t0 TCP localhost:cslistener (LISTEN)
parando e iniciando O Valet me retorna à instalação local do WordPress novamente. Mas ainda não explica a questão com conexão ao site.dev se recusando nem a lentidão de tudo isso. Valet deve executar a vontade com o WordPress.
Eu verifiquei para o PHP em execução:
ps aux | grep php
jasper 11529 0.0 0.0 2442020 2060 s000 S+ 2:54PM 0:00.00 grep php
jasper 11501 0.0 0.0 2517648 3716 ?? S 2:51PM 0:00.07 /usr/local/opt/php70/sbin/php-fpm --fpm-config /usr/local/etc/php/7.0/php-fpm.conf
jasper 11499 0.0 0.3 2588136 46876 ?? S 2:51PM 0:01.29 /usr/local/opt/php70/sbin/php-fpm --fpm-config /usr/local/etc/php/7.0/php-fpm.conf
jasper 11492 0.0 0.1 2564648 18824 ?? S 2:51PM 0:00.93 /usr/local/opt/php70/sbin/php-fpm --fpm-config /usr/local/etc/php/7.0/php-fpm.conf
root 11487 0.0 0.1 2481744 11428 ?? Ss 2:51PM 0:00.04 /usr/local/opt/php70/sbin/php-fpm --fpm-config /usr/local/etc/php/7.0/php-fpm.conf
e isso parece estar ok. Nenhum apache rodando também.
Registos de vales mostram-me zero info:
valet logs
No log files were found.
Depois de tentar acessar a página de plugins, recebo
This site can’t be reached
site.dev refused to connect.
Search Google for domain pure dev admin plugins
ERR_CONNECTION_REFUSED
No entanto, posso executar ping no site
ping site.dev
PING site.dev (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.049 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.118 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.141 ms
^C
--- site.dev ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.049/0.103/0.141/0.039 ms
Como posso depurar mais a questão?