草庐IT

legacy-peer-deps

全部标签

php - RabbitMQ 错误 : fwrite(): send of 12 bytes failed with errno=104 Connection reset by peer

我正在使用RabbitMQ库videlalvaro/php-amqplib在Laravel4.2里面应用程序,我开始收到以下错误:fwrite():sendof12bytesfailedwitherrno=104Connectionresetbypeer"任何人都可以提出任何可能导致此问题的建议吗? 最佳答案 "Connectionresetbypeer"istheTCP/IPequivalentofslammingthephonebackonthehook.It'smorepolitethanmerelynotreplying,l

php - 如何在 PHP 5.6 中通过 php.ini 设置 'verify_peer_name=false' SSL 上下文选项

案例:我想打开到localhost的SSL连接,而SSL证书是FQDN的问题。问题:如果(*)行中没有特殊处理,下面的程序将失败并显示以下消息:PHP警告:stream_socket_enable_crypto():对等证书CN='myhost.com'与test.php中预期的CN='localhost'不匹配测试PHP程序:$fp=stream_socket_client("tcp://localhost:993",$errno,$errstr,30);//(*)ifcommented,theprogramfails//stream_context_set_option($fp,'

android - java.net.SocketException : sendto failed: ECONNRESET (Connection reset by peer) 异常

我尝试使用此代码连接到服务器以上传图片。try{url=newURL(requestURL);HttpURLConnectionconn=(HttpURLConnection)url.openConnection();conn.setRequestProperty("connection","close");System.setProperty("http.keepAlive","false");conn.setReadTimeout(15000);conn.setConnectTimeout(15000);conn.setRequestMethod("POST");conn.setD

android - java.net.SocketException : recvfrom failed: ECONNRESET (Connection reset by peer) 异常

我在Android中有一个HTTP服务器。我为提到的链接中的每个HTTP请求创建了一个新线程:http://hc.apache.org/httpcomponents-core-ga/httpcore/examples/org/apache/http/examples/ElementalHttpServer.java.当我发出多个GET请求时,有时会出现如下异常:01-2210:28:22.779:W/System.err(2019):java.net.SocketException:recvfromfailed:ECONNRESET(Connectionresetbypeer)01-2

android - 将 HTTP Legacy 添加到 Android Studio

由于Apache的HTTP库已被弃用,取而代之的是HttpURLConnection,我一直在尝试将遗留库添加到我的项目中。我添加了行useLibrary'org.apache.http.legacy'到build.gradle但HTTP方法仍然无法解析。我如何让它工作?这些是我遇到的错误;Error:(21,59)error:cannotfindsymbolclassListError:(21,64)error:cannotfindsymbolclassNameValuePairError:(23,13)error:cannotfindsymbolclassDefaultHttpCl

android - android kitkat 版本中的 javax.net.ssl.SSLException : Connection closed by peer.

我正在使用RESTapi连接到sslhttps上的服务器问题出在安卓kitkat设备上。所有kitkat版本或4.x.x的设备都没有与服务器建立连接javax.net.ssl.SSLException:Connectionclosedbypeeratcom.android.org.conscrypt.NativeCrypto.SSL_do_handshake(NativeMethod)在所有上述设备上,4.x.x工作正常并建立连接有什么解决办法吗?我也尝试过OkHttp,但它在我的事业中也不起作用。 最佳答案 我之前遇到过类似的问题

java.io.IOException : Connection reset by peer 异常

我正在尝试管理我的手机和另一台蓝牙设备之间的连接。我正在使用javaAndroid完成所有这些工作。这是我使用我的设备连接套接字时使用的代码:首先我找到蓝牙设备并创建套接字:BluetoothDevicebtNonin=null;for(BluetoothDevicedevice:pairedDevices){if(device.getName().contains("Nonin")){//Wefoundthedeviceexito=true;try{//WecreatethesocketMethodm=device.getClass().getMethod("createRfcomm

android - 错误 :SSL peer shut down incorrectly In Android studio 3. 0.1

关闭。这个问题需要detailsorclarity.它目前不接受答案。想改进这个问题吗?通过editingthispost添加细节并澄清问题.关闭去年。Improvethisquestion当我构建项目时,我收到以下错误错误:SSL对等端错误关闭请告诉我如何修复此错误

android - javax.net.ssl.SSLPeerUnverifiedException : No peer certificate while I am working with google place api in android

这个问题在这里已经有了答案:Android:MakingHttpsRequest(2个答案)关闭9年前。我在android模拟器中使用googleplaceapi时遇到javax.net.ssl.SSLPeerUnverifiedException:Nopeercertificateexception。下面是我的url:https://maps.googleapis.com/maps/api/place/search/json?&location=28.632808,77.218276&radius=1000&sensor=false&key=AIzaSyC3y3fOMTqTkCjNN

android - java.net.SocketException : recvfrom failed: ECONNRESET (Connection reset by peer) is occuring some times 异常

我已经为这个很少发生的异常搜索了很多,但是我没有找到任何可以解决我的问题的相关答案,我正在使用HttpURLConnection从url获取响应作为xml,它工作正常但有时我会收到此异常:java.net.SocketException:recvfromfailed:ECONNRESET(Connectionresetbypeer),我使用了以下代码,url1是我的url,它提供了一个xml。url=newURL(url1);urlConnection=(HttpURLConnection)url.openConnection();urlConnection.setDoInput(tr