2020-8-11 IO流_03

本文深入讲解了各种流操作,包括字符缓冲流的循环读写、LineNumberReader的特有功能、操作基本数据类型的DataOutputStream和DataInputStream、内存操作流如ByteArrayInputStream和ByteArrayOutputStream,以及打印流的特点和使用。

字符缓冲流:

循环读写:

字符输出流为bw,字符输入流为br;

String line=null;

while((line=br.read)!=null){

	bw.write(line);
	
	bw.newline();

	bw.flush();
	
	}

LineNumberReader:

特有功能:

1.setLineNumber(int num):设置当前行号;

2.getLineNumber():获取当前行号;

操作基本数据的流:

数据输出流:

DataOutputStream;

构造方法:

DataOutputStream(OutputStream out);

写入方法:

wiite基本数据类型(基本数据类型 ~);

数据输入流:

DataInputStream;

构造方法:

DataInputStream(InputStream in);

读取方法:

read基本数据类型();

内存操作流:

操作字节数组:

1.ByteArrayInputStream:字节数组输入流;

2.ByteArrayOutputStream:字节数组输出流;

构造方法:

字节数组输入流:

ByteArrayInputStream(byte[] buf);

ByteArrayInputStream(byte[] buf,int offset,int length);

字节数组输出流:

ByteArrayOutputStream();

ByteArrayOutputStream(int size);

操作方式:

字节数组输出流写入数据,通过toByteArray()方法生成字节数组Byte[] bys;

字节数组输入流读取bys数组;

操作字符数组:

1.CharArrayReader:参考字节数组输入流;

2.CharArrayWriter:参考字节数组输出流;

操作字符串:

1.StringReader:参考字节数组输入流;

2.StringWriter:参考字节数组输出流;

打印流:

字节打印流:PrintStream;

字符打印流:PrintWriter;

特点:

只能操作目的地,不能操作数据;

可以打印任意类型的数据;

如果启动了自动刷新,就能自动刷新;

可以操作文件的流;
根据httpd模块中http/https服务还有onvif模块事件服务的实现,原onvif模块只支持http不支持https,所以我给该模块提供了tls支持,已经对代码做了一些修改,目前事件订阅上pull-point正常但是basic-notify接口测试不通过,为什么其他功能都正常唯独basic notify会报错?为什么http连接下basic notify接口测试正常但是https连接下会报错?能不能详细分析一下pull-point和basic-notify的处理程?以及究竟是什么地方出了问题会导致该错误?不能分析出具体原因的话也请给出详细的调试方法(比如说应该在什么地方/步骤加log),以下分别为http和https连接下basic notify接口测试时终端的log: [2025-10-25 21:31:32] [ERROR] http_handle():554 - [HTTPD]HTTP_HANDLE [2025-10-25 21:31:32] [ERROR] socket_handle():446 - [HTTPD]SOCKET_HANDLE STRAT [2025-10-25 21:31:32] [ERROR] socket_handle():447 - [HTTPD]sock: 36 [2025-10-25 21:31:32] [ERROR] socket_handle():543 - [HTTPD]SOCKET_HANDLE SUCCESS [2025-10-25 21:31:32] [ERROR] match_group_port():157 - [HTTPD]match_group_port: port=2020, group=3 [2025-10-25 21:31:32] [ERROR] http_post_handle():2321 - [HTTPD]http_post_handle [2025-10-25 21:31:32] [ERROR] onvif_proc_data_srv():380 - [ONVIF]context->is_https = 0, context->is_ssl_success = 0 [2025-10-25 21:31:32] [ERROR] onvif_proc_data_srv():411 - [ONVIF]not digest header [2025-10-25 21:31:32] [ERROR] onvif_proc_data_srv():457 - [ONVIF]soap->is_https = 0 [2025-10-25 21:31:32] [ERROR] soap_get_namespace():460 - [ONVIF]Not a namespace: Type [2025-10-25 21:31:32] [ERROR] soap_out_tds_get_services_rsp():264 - [ONVIF]x_addr:http://192.168.137.165:2020/onvif/service [2025-10-25 21:31:32] [ERROR] onvif_make_response():529 - [ONVIF]context->is_https = 0 [2025-10-25 21:31:32] [ERROR] onvif_make_response():559 - [ONVIF]Onvif_make_response return onvif_send_http_rsp_packet. [2025-10-25 21:31:32] [ERROR] http_send_onvif_rsp_header():91 - [ONVIF]HTTP Response Header: HTTP/1.1 200 OK Connection: close Content-Type: application/soap+xml; charset=utf-8 Content-Length: 3351 [2025-10-25 21:31:32] [ERROR] http_send_block():163 - [HTTPD]Use HTTP [2025-10-25 21:31:32] [ERROR] http_send_onvif_content():140 - [ONVIF]ONVIF Message Content (Length: 3351): <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><tds:GetServicesResponse><tds:Service><tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace><tds:XAddr>http://192.168.137.165:2020/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace><tds:XAddr>http://192.168.137.165:2020/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace><tds:XAddr>http://192.168.137.165:2020/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver20/analytics/wsdl</tds:Namespace><tds:XAddr>http://192.168.137.165:2020/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace><tds:XAddr>http://192.168.137.165:2020/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace><tds:XAddr>http://192.168.137.165:2020/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver10/deviceIO/wsdl</tds:Namespace><tds:XAddr>http://192.168.137.165:2020/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service></tds:GetServicesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> [2025-10-25 21:31:32] [ERROR] http_send_block():163 - [HTTPD]Use HTTP [2025-10-25 21:31:32] tcp_connect_timeout_handle():548 - [tpssl][89366.535]ip:3.0.247.235 ssl connecting --> ssl connected. [2025-10-25 21:31:32] [ERROR] http_handle():554 - [HTTPD]HTTP_HANDLE [2025-10-25 21:31:32] [ERROR] socket_handle():446 - [HTTPD]SOCKET_HANDLE STRAT [2025-10-25 21:31:32] [ERROR] socket_handle():447 - [HTTPD]sock: 36 [2025-10-25 21:31:32] [ERROR] socket_handle():543 - [HTTPD]SOCKET_HANDLE SUCCESS [2025-10-25 21:31:32] [ERROR] match_group_port():157 - [HTTPD]match_group_port: port=2020, group=3 [2025-10-25 21:31:32] [ERROR][CloudIot]cloud_iot_ipc.c:3017(http_auth_recv_cb) - HTTP Status Code: 403, not OK payload: {"code":10006,"message":"[1b48a93361fc469286147e1c6d7eac4e.459.17613990931790477] your deviceId is invalid, or not registered in current tp-cloud, please check it"} [2025-10-25 21:31:32] [ERROR] http_auth_recv_cb():3145 - [CloudIot]http parse err: -2, retry 256s [2025-10-25 21:31:32] [ERROR][CloudIot]cloud_iot_ipc.c:3201(cloud_http_message_handler) - HTTP resp handle failed, reqType: 0. [2025-10-25 21:31:32] [ERROR] http_post_handle():2321 - [HTTPD]http_post_handle [2025-10-25 21:31:32] [ERROR] onvif_proc_data_srv():380 - [ONVIF]context->is_https = 0, context->is_ssl_success = 0 [2025-10-25 21:31:32] [ERROR] onvif_proc_data_srv():411 - [ONVIF]not digest header [2025-10-25 21:31:32] [ERROR] onvif_proc_data_srv():457 - [ONVIF]soap->is_https = 0 [2025-10-25 21:31:32] [ERROR] soap_get_namespace():460 - [ONVIF]Not a namespace: s:mustUnderstand [2025-10-25 21:31:32] [ERROR] soap_get_namespace():460 - [ONVIF]Not a namespace: Type [2025-10-25 21:31:32] [ERROR] soap_get_namespace():460 - [ONVIF]Not a namespace: s:mustUnderstand [ONVIF Test] Using third_account to auth [2025-10-25 21:31:32] [ERROR] soap_subscribe():1826 - [ONVIF]protocol = http, port = 2020 [2025-10-25 21:31:32] [ERROR] soap_subscribe():1832 - [ONVIF]prototol = http, port = 2020 [2025-10-25 21:31:32] [ERROR] onvif_make_response():529 - [ONVIF]context->is_https = 0 [2025-10-25 21:31:32] [ERROR] onvif_make_response():559 - [ONVIF]Onvif_make_response return onvif_send_http_rsp_packet. [2025-10-25 21:31:32] [ERROR] http_send_onvif_rsp_header():91 - [ONVIF]HTTP Response Header: HTTP/1.1 200 OK Connection: close Content-Type: application/soap+xml; charset=utf-8 Content-Length: 2272 [2025-10-25 21:31:32] [ERROR] http_send_block():163 - [HTTPD]Use HTTP [2025-10-25 21:31:32] [ERROR] http_send_onvif_content():140 - [ONVIF]ONVIF Message Content (Length: 2272): <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl"><SOAP-ENV:Header><wsa5:MessageID>urn:uuid:f8e1609a-f789-420a-8cf4-a6dbc2bbdb76</wsa5:MessageID><wsa5:To SOAP-ENV:mustUnderstand="true">http://192.168.137.165:2020/onvif/service</wsa5:To><wsa5:Action SOAP-ENV:mustUnderstand="true">http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeResponse</wsa5:Action></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:SubscribeResponse><wsnt:SubscriptionReference><wsa5:Address>http://192.168.137.165:2020/event-0_2020</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2025-10-25T13:31:32Z</wsnt:CurrentTime><wsnt:TerminationTime>2025-10-25T13:31:42Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> [2025-10-25 21:31:32] [ERROR] http_send_block():163 - [HTTPD]Use HTTP [2025-10-25 21:31:33] [ERROR] http_handle():554 - [HTTPD]HTTP_HANDLE [2025-10-25 21:31:33] [ERROR] socket_handle():446 - [HTTPD]SOCKET_HANDLE STRAT [2025-10-25 21:31:33] [ERROR] socket_handle():447 - [HTTPD]sock: 36 [2025-10-25 21:31:33] [ERROR] socket_handle():543 - [HTTPD]SOCKET_HANDLE SUCCESS [2025-10-25 21:31:33] [ERROR] match_group_port():157 - [HTTPD]match_group_port: port=2020, group=3 [2025-10-25 21:31:33] [ERROR] http_post_handle():2321 - [HTTPD]http_post_handle [2025-10-25 21:31:33] [ERROR] onvif_proc_data_srv():380 - [ONVIF]context->is_https = 0, context->is_ssl_success = 0 [2025-10-25 21:31:33] [ERROR] onvif_proc_data_srv():411 - [ONVIF]not digest header [2025-10-25 21:31:33] [ERROR] onvif_proc_data_srv():457 - [ONVIF]soap->is_https = 0 [2025-10-25 21:31:33] [ERROR] soap_get_namespace():460 - [ONVIF]Not a namespace: s:mustUnderstand [2025-10-25 21:31:33] [ERROR] soap_get_namespace():460 - [ONVIF]Not a namespace: Type [2025-10-25 21:31:33] [ERROR] soap_get_namespace():460 - [ONVIF]Not a namespace: s:mustUnderstand [ONVIF Test] Using third_account to auth [2025-10-25 21:31:33] [ERROR] onvif_make_response():529 - [ONVIF]context->is_https = 0 [2025-10-25 21:31:33] [ERROR] onvif_make_response():559 - [ONVIF]Onvif_make_response return onvif_send_http_rsp_packet. [2025-10-25 21:31:33] [ERROR] http_send_onvif_rsp_header():91 - [ONVIF]HTTP Response Header: HTTP/1.1 200 OK Connection: close Content-Type: application/soap+xml; charset=utf-8 Content-Length: 2028 [2025-10-25 21:31:33] [ERROR] http_send_block():163 - [HTTPD]Use HTTP [2025-10-25 21:31:33] [ERROR] http_send_onvif_content():140 - [ONVIF]ONVIF Message Content (Length: 2028): <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl"><SOAP-ENV:Header><wsa5:MessageID>urn:uuid:29bf73e3-8e2b-4532-8989-4ad121a2dd10</wsa5:MessageID><wsa5:To SOAP-ENV:mustUnderstand="true">http://192.168.137.165:2020/event-0_2020</wsa5:To><wsa5:Action SOAP-ENV:mustUnderstand="true">http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/UnsubscribeResponse</wsa5:Action></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:UnsubscribeResponse></wsnt:UnsubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> [2025-10-25 21:31:33] [ERROR] http_send_block():163 - [HTTPD]Use HTTP [2025-10-25 21:33:01] [ERROR] https_handle():568 - [HTTPD]HTTPS_HANDLE [2025-10-25 21:33:01] [ERROR] socket_handle():446 - [HTTPD]SOCKET_HANDLE STRAT [2025-10-25 21:33:01] [ERROR] socket_handle():447 - [HTTPD]sock: 30 [2025-10-25 21:33:01] [ERROR] socket_handle():543 - [HTTPD]SOCKET_HANDLE SUCCESS [2025-10-25 21:33:01] [ERROR] https_handle():604 - [HTTPD]ret = -0x6900 [2025-10-25 21:33:01] [ERROR] match_group_port():157 - [HTTPD]match_group_port: port=443, group=1 [2025-10-25 21:33:01] [ERROR] http_call_handle():353 - [HTTPD]is_https is 1, is_ssl_success is 0 [2025-10-25 21:33:01] [ERROR] http_call_handle():357 - [HTTPD]ssl handshake fail, ssl handshake num 0, continue. [2025-10-25 21:33:01] [ERROR] http_read_line():1018 - [HTTPD]http_recv_block fail, ret: RESERVE. [2025-10-25 21:33:01] [ERROR] http_call_handle():377 - [HTTPD]context parser reserve. [2025-10-25 21:33:01] [ERROR] http_post_handle():2321 - [HTTPD]http_post_handle [2025-10-25 21:33:01] [ERROR] http_post_handle():2471 - [HTTPD]context->group_srv = GROUP_ONVIF_HTTPS [2025-10-25 21:33:01] [ERROR] http_post_handle():2472 - [HTTPD]Request form 443 to onvif [2025-10-25 21:33:01] [ERROR] onvif_proc_data_srv():380 - [ONVIF]context->is_https = 1, context->is_ssl_success = 1 [2025-10-25 21:33:01] [ERROR] onvif_proc_data_srv():383 - [ONVIF]SSL handshake sUccess [2025-10-25 21:33:01] [ERROR] onvif_proc_data_srv():411 - [ONVIF]not digest header [2025-10-25 21:33:01] [ERROR] onvif_proc_data_srv():457 - [ONVIF]soap->is_https = 1 [2025-10-25 21:33:01] [ERROR] soap_get_namespace():460 - [ONVIF]Not a namespace: Type [2025-10-25 21:33:01] [ERROR] soap_out_tds_get_services_rsp1():370 - [ONVIF]x_addr:https://192.168.137.165:443/onvif/service [2025-10-25 21:33:01] [ERROR] onvif_make_response():529 - [ONVIF]context->is_https = 1 [2025-10-25 21:33:01] [ERROR] onvif_make_response():559 - [ONVIF]Onvif_make_response return onvif_send_http_rsp_packet. [2025-10-25 21:33:01] [ERROR] http_send_onvif_rsp_header():91 - [ONVIF]HTTP Response Header: HTTP/1.1 200 OK Connection: close Content-Type: application/soap+xml; charset=utf-8 Content-Length: 3351 [2025-10-25 21:33:01] [ERROR] http_send_block():146 - [HTTPD]Use HTTPS [2025-10-25 21:33:01] [ERROR] http_send_onvif_content():140 - [ONVIF]ONVIF Message Content (Length: 3351): <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><tds:GetServicesResponse><tds:Service><tds:Namespace>http://www.onvif.org/ver10/device/wsdl</tds:Namespace><tds:XAddr>https://192.168.137.165:443/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver10/media/wsdl</tds:Namespace><tds:XAddr>https://192.168.137.165:443/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver10/events/wsdl</tds:Namespace><tds:XAddr>https://192.168.137.165:443/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver20/analytics/wsdl</tds:Namespace><tds:XAddr>https://192.168.137.165:443/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver20/imaging/wsdl</tds:Namespace><tds:XAddr>https://192.168.137.165:443/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver20/ptz/wsdl</tds:Namespace><tds:XAddr>https://192.168.137.165:443/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service><tds:Service><tds:Namespace>http://www.onvif.org/ver10/deviceIO/wsdl</tds:Namespace><tds:XAddr>https://192.168.137.165:443/onvif/service</tds:XAddr><tds:Version><tt:Major>2</tt:Major><tt:Minor>20</tt:Minor></tds:Version></tds:Service></tds:GetServicesResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> [2025-10-25 21:33:02] [ERROR] http_send_block():146 - [HTTPD]Use HTTPS [2025-10-25 21:33:02] [ERROR] https_handle():568 - [HTTPD]HTTPS_HANDLE [2025-10-25 21:33:02] [ERROR] socket_handle():446 - [HTTPD]SOCKET_HANDLE STRAT [2025-10-25 21:33:02] [ERROR] socket_handle():447 - [HTTPD]sock: 30 [2025-10-25 21:33:02] [ERROR] socket_handle():543 - [HTTPD]SOCKET_HANDLE SUCCESS [2025-10-25 21:33:02] [ERROR] https_handle():604 - [HTTPD]ret = -0x6900 [2025-10-25 21:33:02] [ERROR] match_group_port():157 - [HTTPD]match_group_port: port=443, group=1 [2025-10-25 21:33:02] [ERROR] http_call_handle():353 - [HTTPD]is_https is 1, is_ssl_success is 0 [2025-10-25 21:33:02] [ERROR] http_call_handle():357 - [HTTPD]ssl handshake fail, ssl handshake num 0, continue. [2025-10-25 21:33:02] [ERROR] http_call_handle():366 - [HTTPD]tpssl_svr_handshake err ret: -0x7900, free context. [2025-10-25 21:33:03] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:05] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:07] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:08] [ERROR] wlan_timer_handle():3229 - detect wlan0 bridging, no need to handle! [2025-10-25 21:33:09] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:11] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:13] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:15] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:17] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:19] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:21] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:23] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:25] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:27] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:29] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:31] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:32] [ERROR] https_handle():568 - [HTTPD]HTTPS_HANDLE [2025-10-25 21:33:32] [ERROR] socket_handle():446 - [HTTPD]SOCKET_HANDLE STRAT [2025-10-25 21:33:32] [ERROR] socket_handle():447 - [HTTPD]sock: 30 [2025-10-25 21:33:32] [ERROR] socket_handle():543 - [HTTPD]SOCKET_HANDLE SUCCESS [2025-10-25 21:33:32] [ERROR] https_handle():604 - [HTTPD]ret = -0x6900 [2025-10-25 21:33:32] [ERROR] match_group_port():157 - [HTTPD]match_group_port: port=443, group=1 [2025-10-25 21:33:32] [ERROR] http_call_handle():353 - [HTTPD]is_https is 1, is_ssl_success is 0 [2025-10-25 21:33:32] [ERROR] http_call_handle():357 - [HTTPD]ssl handshake fail, ssl handshake num 0, continue. [2025-10-25 21:33:32] [ERROR] http_call_handle():366 - [HTTPD]tpssl_svr_handshake err ret: -0x7900, free context. [2025-10-25 21:33:33] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:35] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:37] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200 [2025-10-25 21:33:39] [ERROR][tapoCare]tapo_care.c:275(attach_tapocare_ringbuffer) - ringbuffer_attach error: rb_id:10200
10-27
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值