问下为啥我nginx报这个错误, WSARecv() failed (10054: An existing connection
情况是这样的,我用的 Laravel Framework 8.83.27
nginx 是1.20.1
然后我平常的php文件能执行。
但是vendor里面的JWT.PHP
public static function urlsafeB64Encode(string $input): string
{
return \str_replace('=', '', \strtr(\base64_encode($input), '+/', '-_'));
}
执行这个就报错。502.然后我看日志就一直报
WSARecv() failed (10054: An existing connection was forcibly closed by the remote host) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST
问下大家有没有遇到过这个问题的?