You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我遇到一个问题,在SaberGM::get($url);请求的时候本地环境正常,放到服务器端报如下错误 WARNING swSSL_connect: SSL_connect(fd=4) failed. Error: error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type[1|370] HTTP -1 Unknown: Connect timeout! the server is not listening on the port or the network is missing!
php --ri swoole 发现本地openssl为1.1.1h(2020),服务端为1.1.1d(2019),大致推测应该是openssl版本的问题
解决办法:
更新openssl-1.1.1d版本到openssl-1.1.1h
wget https://www.openssl.org/source/openssl-1.1.1h.tar.gz \
&& tar zxvf openssl-1.1.1h.tar.gz \
&& cd openssl-1.1.1h \
&& ./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' \
&& make -j$(nproc) \
&& make install \
&& cd .. \
&& rm openssl-1.1.1h.tar.gz \
&& rm -rf openssl-1.1.1h \
&& ldconfig \
The text was updated successfully, but these errors were encountered:
我遇到一个问题,在SaberGM::get($url);请求的时候本地环境正常,放到服务器端报如下错误
WARNING swSSL_connect: SSL_connect(fd=4) failed. Error: error:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type[1|370]
HTTP -1 Unknown: Connect timeout! the server is not listening on the port or the network is missing!
php --ri swoole 发现本地openssl为1.1.1h(2020),服务端为1.1.1d(2019),大致推测应该是openssl版本的问题
解决办法:
更新openssl-1.1.1d版本到openssl-1.1.1h
The text was updated successfully, but these errors were encountered: