




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、infox错误码说明书(3d3e)产品名称密级infox产品版本共28页v100r001infox v100r001.3d3 错误码说明书prepared by 拟制陈向荣date日期2003-12-3reviewed by 评审人date日期approved by批准date日期revision record 修订记录distribution list 分发记录copy no.holder's name & role 持有者和角色issue date 分发日期1<rdpdt pdt开发代表>2<project manager 项目经理>3<tea
2、m members 项目组成员>4<customer representative 客户代表>5<others其它>catalog 目 录1简介52smpp话单错误码53cmpp消息应答错误码63.1cmpp协议登录错误码63.2cmpp异步流程错误码63.3cmpp3.0同步流程错误码63.4cmpp2.0同步流程错误码73.5cmpp状态报告错误stat含义73.6给gns应答错误码说明94接口断连错误码说明94.1infox接口断连的原因概述94.2业务模块发送的消息协议错误104.3握手或接收异常错误104.4tcp/ip的socket关闭或产生异常114
3、.5windows平台socket错误码说明114.6unix平台socket错误码说明195维测及网管错误码说明196错误码说明216.1.1aaaa网关错误码216.1.2bbbb scp返回的错误码236.1.3cccc ismg返回的错误码256.1.4dddd sp返回的错误码256.1.5eeee dsmp返回的错误码256.1.6ffff smc返回的错误码276.1.7gggg space返回的错误码296.1.8xxxx消息发往scp、sp、dsmp、smc出错时错误码296.1.9zzzz为smsc返回的状态报告中err的值29 infox错误码说明书keywords 关键
4、词:abstract 摘 要:list of abbreviations 缩略语清单: abbreviations缩略语full spelling 英文全名chinese explanation 中文解释smppshort message point to point protocoll 点对点短消息协议smsc( smc)short message service center短消息中心cmppchina mobil point to point移动短消息点到点新协议dsmp数据业务处理平台scpservice control point业务控制点1 简介该文档 适用于infoxv100r0
5、01.3d2版本网关。文档读者:infox维护人员2 smpp话单错误码错误码含义aaaa网关错误码1xxxx消息发往scp出错时错误码2bbbbscp返回错误应答时的错误码,其中bbbb为scp返回的错误应答消息中的错误码值3xxxx消息发往下一级ismg出错时错误码4cccc下一级ismg返回错误应答时的错误码,其中cccc为下一级ismg返回的错误应答消息中的错误码值5xxxx消息发往sp出错时错误码6ddddsp返回错误应答时的错误码,其中dddd为sp返回的错误应答消息中的错误码值7xxxx消息发往dsmp出错时错误码8eeeedsmp返回错误应答时的错误码,其中eeee为dsmp返
6、回的错误应答消息中的错误码值9xxxx消息发往smc出错时错误码10ffffsmc返回错误应答时的错误码,其中ffff为smc返回的错误应答消息中的错误码值11xxxx消息发往space出错时错误码12ggggspace返回错误应答时的错误码,其中ffff为space返回的错误应答消息中的错误码值 有关aaaa、xxxx、bbbb、cccc、dddd、eeee、ffff和gggg的含义参见错误码说明内部等待状态报告错误吗: 错误码含义98004等待状态报告实体数不够98005等待状态报告超时98009等待状态报告短信中心地址为空3 cmpp消息应答错误码3.1 cmpp协议登录错误码14为cm
7、pp协议标准错误码,5557为网关扩展错误码,59保留错误码含义1消息结构错2非法源地址3认证错4版本太高55超过系统接口数56超过帐号设置接口数57sp登陆ip错误58创建soap处理线程失败59保留3.2 cmpp异步流程错误码错误码含义参见aaaa的取值说明3.3 cmpp3.0同步流程错误码110000:网关错误码2000130000:scp错误码4000150000:前转网关错误码6000170000:sp错误码8000190000:dsmp错误码100001110000 :smc错误码120001 :space错误码错误码含义aaaa网关错误码2bbbbscp返回错误应答时的错误码
8、,其中bbbb为scp返回的错误应答消息中的错误码值4cccc下一级ismg返回错误应答时的错误码,其中cccc为下一级ismg返回的错误应答消息中的错误码值6ddddsp返回错误应答时的错误码,其中dddd为sp返回的错误应答消息中的错误码值8eeeedsmp返回错误应答时的错误码,其中eeee为dsmp返回的错误应答消息中的错误码值10ffffsmc返回错误应答时的错误码,其中ffff为smc返回的错误应答消息中的错误码值12ggggspace返回错误应答时的错误码,其中gggg为space返回的错误应答消息中的错误码值3.4 cmpp2.0同步流程错误码 1100:本网关错误码 1012
9、00:前转网关错误码 201240:scp错误码 241255:smc错误码错误码含义aa(199)网关错误码,aa的取值参见aaaa的取值说明100aa 下一级ismg返回错误应答时的错误码201239scp返回错误应答时的错误码,其值含义参见相应网关的配置文件cmpperrmap.dat。其中201为没有对应关系的scp错误241255smc返回错误应答时的错误码,其值含义参见相应网关的配置文件cmpperrmap.dat,其中241为没有对应关系的smc错误3.5 cmpp状态报告错误stat含义message statefinal message statesdescriptionde
10、livereddelivrdmessage is delivered to destinationexpiredexpiredmessage validity period hasexpireddeleteddeletedmessage has been deleted.undeliverableundelivmessage is undeliverableacceptedacceptdmessage is in accepted state(i.e. has been manually read on behalf of the subscriber by customer service)
11、unknownunknownmessage is in invalid staterejectedrejectdmessage is in a rejected statenoroutenoroute查找路由失败ma:xxxxma:xxxxsmsc不返回响应消息时的状态报告mb:xxxxmb:xxxxsmsc返回错误响应消息时的状态报告mc:xxxxmc:xxxx没有从smsc处接收到状态报告时的状态报告ca:xxxxca:xxxxscp不返回响应消息时的状态报告cb:xxxxcb:xxxxscp返回错误响应消息时的状态报告da:xxxxda:xxxxdsmp不返回响应消息时的状态报告db:x
12、xxxdb:xxxxdsmp返回错误响应消息时的状态报告sa:xxxxsa:xxxxsp不返回响应消息时的状态报告sb:xxxxsb:xxxxsp返回错误响应消息时的状态报告ia:xxxxia:xxxx下一级ismg不返回响应消息时的状态报告ib:xxxxib:xxxx下一级ismg返回错误响应消息时的状态报告ic:xxxxic:xxxx没有从下一级ismg处接收到状态报告时的状态报告id:xxxxid:xxxx网关ismg内部检测错误码id:0020id:0020space用户鉴权模块鉴权用户停机或欠费错误id:0021id:0021space用户鉴权模块:用户销户错误mi:zzzzmi:z
13、zzzsmsc返回状态报告的状态值为expiredmj:zzzzmj:zzzzsmsc返回状态报告的状态值为deletedmk:zzzzmk:zzzzsmsc返回状态报告的状态值为undelivml:zzzzml:zzzzsmsc返回状态报告的状态值为acceptdmm:zzzzmm:zzzzsmsc返回状态报告的状态值为unknownmn:zzzzmn:zzzzsmsc返回状态报告的状态值为rejectdmh:zzzzmh:zzzz其它值注意:其中accepted为中间状态,网关若从短信中心收到后应丢弃,不做任何操作;stat字段长度为7个字节,填写时应填表一中final message s
14、tates中的缩写形式,如状态为delivered时填写delivrd,依此类推;3.6 给gns应答错误码说明错误码含义0系统操作成功1没有匹配路由2源网关代码错误3路由类型错误4本节点不支持更新(gns分节点)5路由信息更新失败6汇接网关路由信息时间戳比本地路由信息时间戳旧9系统繁忙10update_type错误11路由编号错误12目的网关代码错误13目的网关ip错误14目的网关port错误15mt路由起始号码段错误16mt路由截止号码段错误17手机所属省代码错误18用户类型错误19sp_id错误20sp_code错误21sp_accesstype错误22service_id错误23sta
15、rt_code错误24end_code错误4 接口断连错误码说明4.1 infox接口断连的原因概述接口断连的原因一般可分为三类,分别为:a、握手超时(enquire link)b、业务模块发送的消息协议错误c、tcp/ip的socket关闭或产生异常。以下将对各情况进行描述。4.2 业务模块发送的消息协议错误此情况由于客户模块发送了结构错误的消息,或者消息错位,导致infox读取消息错误。由于infox与客户模块采用消息流格式,为防止由于消息错位造成以后的消息都不能正确取得,此时,对于基中的某些消息,infox将断连接口。原因分别为:错误码原因分析后续操作97001缺省解码失败为防止以后消息
16、错位,接口将断连97002消息头错误为防止以后消息错位,接口将断连97003源缓冲区不够,不处理继续接收消息97004目的缓冲区不够为防止以后消息错位,接口将断连97005严重协议错误为防止以后消息错位,接口将断连97006协议中某字段一般性错误只删除此消息,不断开接口97007接收到nack消息为防止以后消息错位,接口将断连97008接收太多的握手接口将断连97009地址错误,npi、ton不支持只删除此消息,不断开接口97010时间格式错误只删除此消息,不断开接口97011dcs错误只删除此消息,不断开接口97012协议不支持只删除此消息,不断开接口9701397999保留例:2001/0
17、5/28 15:31:03 2 id为32的接口产生接口断连信息,对端地址:10.10.2.1 errcode:97001,errortype:04.3 握手或接收异常错误错误码原因分析后续操作19000保留19001接收消息的buff出了问题接口将断连19002解码返回的值不对(只能是0/-1/>0)接口将断连19003握手超时接口将断连19004对端主动关闭socket19005连接对方服务器的间隔时间,到时重连19006发送login请求后,等待对方服务器的应答消息超时19007进行socket底层的连接建立,等待connect函数的时间19008dsmpfep read消息错误4
18、.4 tcp/ip的socket关闭或产生异常此情况是由于客户端主动关闭退出产生的提示信息,错误代码为“0”;例:2001/05/28 15:32:14 2 id为32的接口产生接口断连信息,对端地址:10.10.2.1 errcode:0,errortype:0或者由于socket底层的其它异常错误,导致接口断连,此时的错误码将有多种多样,详细描述请见windows平台socket错误码说明及unix平台错误码说明。例:2001/05/30 15:49:32 2 id为32的接口产生接口断连信息,对端地址:10.10.2.1 errcode:10054,errortype:04.5 wind
19、ows平台socket错误码说明msdn对于socket异常id的描述错误码值错误码标识含义10004wsaeintrinterrupted function call. a blocking operation was interrupted by a call to wsacancelblockingcall.10013wsaeaccespermission denied. an attempt was made to access a socket in a way forbidden by its access permissions. an example is using a br
20、oadcast address for sendto without broadcast permission being set using setsockopt(so_broadcast). 10014wsaefaultbad address. the system detected an invalid pointer address in attempting to use a pointer argument of a call. this error occurs if an application passes an invalid pointer value, or if th
21、e length of the buffer is too small. for instance, if the length of an argument which is a struct sockaddr is smaller than sizeof(struct sockaddr). 10022wsaeinvalinvalid argument. some invalid argument was supplied (for example, specifying an invalid level to the setsockopt function). in some instan
22、ces, it also refers to the current state of the socket - for instance, calling accept on a socket that is not listening. 10024wsaemfiletoo many open files. too many open sockets. each implementation may have a maximum number of socket handles available, either globally, per process or per thread. 10
23、035wsaewouldblockresource temporarily unavailable. this error is returned from operations on non-blocking sockets that cannot be completed immediately, for example recv when no data is queued to be read from the socket. it is a non-fatal error, and the operation should be retried later. it is normal
24、 for wsaewouldblock to be reported as the result from calling connect on a non-blocking sock_stream socket, since some time must elapse for the connection to be established.10036wsaeinprogressoperation now in progress. a blocking operation is currently executing. windows sockets only allows a single
25、 blocking operation to be outstanding per task (or thread), and if any other function call is made (whether or not it references that or any other socket) the function fails with the wsaeinprogress error. 10037wsaealreadyoperation already in progress. an operation was attempted on a non-blocking soc
26、ket that already had an operation in progress - i.e. calling connect a second time on a non-blocking socket that is already connecting, or canceling an asynchronous request (wsaasyncgetxbyy) that has already been canceled or completed.10038wsaenotsocksocket operation on non-socket. an operation was
27、attempted on something that is not a socket. either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid. 10039wsaedestaddrreqdestination address required. a required address was omitted from an operation on a socket. for example, this erro
28、r will be returned if sendto is called with the remote address of addr_any. 10040wsaemsgsizemessage too long. a message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itsel
29、f. 10041wsaeprototypeprotocol wrong type for socket. a protocol was specified in the socket function call that does not support the semantics of the socket type requested. for example, the arpa internet udp protocol cannot be specified with a socket type of sock_stream. 10042wsaenoprotooptbad protoc
30、ol option. an unknown, invalid or unsupported option or level was specified in a getsockopt or setsockopt call.10043wsaeprotonosupportprotocol not supported. the requested protocol has not been configured into the system, or no implementation for it exists. for example, a socket call requests a sock
31、_dgram socket, but specifies a stream protocol. 10044wsaesocktnosupportsocket type not supported. the support for the specified socket type does not exist in this address family. for example, the optional type sock_raw might be selected in a socket call, and the implementation does not support sock_
32、raw sockets at all. 10045wsaeopnotsuppoperation not supported. the attempted operation is not supported for the type of object referenced. usually this occurs when a socket descriptor to a socket that cannot support this operation, for example, trying to accept a connection on a datagram socket.1004
33、6wsaepfnosupportprotocol family not supported. the protocol family has not been configured into the system or no implementation for it exists. has a slightly different meaning to wsaeafnosupport, but is interchangeable in most cases, and all windows sockets functions that return one of these specify
34、 wsaeafnosupport. 10047wsaeafnosupportaddress family not supported by protocol family. an address incompatible with the requested protocol was used. all sockets are created with an associated "address family" (i.e. af_inet for internet protocols) and a generic protocol type (i.e. sock_stre
35、am). this error will be returned if an incorrect protocol is explicitly requested in the socket call, or if an address of the wrong family is used for a socket, e.g. in sendto. 10048wsaeaddrinuseaddress already in use. only one usage of each socket address (protocol/ip address/port) is normally perm
36、itted. this error occurs if an application attempts to bind a socket to an ip address/port that has already been used for an existing socket, or a socket that wasn't closed properly, or one that is still in the process of closing. for server applications that need to bind multiple sockets to the
37、 same port number, consider using setsockopt(so_reuseaddr). client applications usually need not call bind at all - connect will choose an unused port automatically. when bind is called with a wild-card address (involving addr_any), a wsaeaddrinuse error could be delayed until the specific address i
38、s "committed." this could happen with a call to other function later, including connect, listen, wsaconnect or wsajoinleaf.10049wsaeaddrnotavailcannot assign requested address. the requested address is not valid in its context. normally results from an attempt to bind to an address that is
39、 not valid for the local machine. this can also result from connect, sendto, wsaconnect, wsajoinleaf, or wsasendto when the remote address or port is not valid for a remote machine (e.g. address or port 0). 10050wsaenetdownnetwork is down. a socket operation encountered a dead network. this could in
40、dicate a serious failure of the network system (i.e. the protocol stack that the winsock dll runs over), the network interface, or the local network itself. 10051wsaenetunreachnetwork is unreachable. a socket operation was attempted to an unreachable network. this usually means the local software kn
41、ows no route to reach the remote host.10052wsaenetresetnetwork dropped connection on reset. the connection has been broken due to "keep-alive" activity detecting a failure while the operation was in progress. it can also be returned by setsockopt if an attempt is made to set so_keepalive o
42、n a connection that has already failed. 10053wsaeconnabortedsoftware caused connection abort. an established connection was aborted by the software in your host machine, possibly due to a data transmission timeout or protocol error. 10054wsaeconnresetconnection reset by peer. a existing connection w
43、as forcibly closed by the remote host. this normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, or the remote host used a "hard close" (see setsockopt for more information on the so_linger option on the remote socket.) this error may also
44、result if a connection was broken due to "keep-alive" activity detecting a failure while one or more operations are in progress. operations that were in progress fail with wsaenetreset. subsequent operations fail with wsaeconnreset.10055wsaenobufsno buffer space available. an operation on
45、a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. 10056wsaeisconnsocket is already connected. a connect request was made on an already connected socket. some implementations also return this error if sendto is called on a connected sock_dg
46、ram socket (for sock_stream sockets, the to parameter in sendto is ignored), although other implementations treat this as a legal occurrence. 10057wsaenotconnsocket is not connected. a request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram
47、socket using sendto) no address was supplied. any other type of operation might also return this error - for example, setsockopt setting so_keepalive if the connection has been reset.10058wsaeshutdowncannot send after socket shutdown. a request to send or receive data was disallowed because the sock
48、et had already been shut down in that direction with a previous shutdown call. by calling shutdown a partial close of a socket is requested, which is a signal that sending or receiving or both has been discontinued. 10060wsaetimedoutconnection timed out. a connection attempt failed because the conne
49、cted party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.10061wsaeconnrefusedconnection refused. no connection could be made because the target machine actively refused it. this usually results from trying to connect to
50、 a service that is inactive on the foreign host - i.e. one with no server application running. 10064wsaehostdownhost is down. a socket operation failed because the destination host was down. a socket operation encountered a dead host. networking activity on the local host has not been initiated. the
51、se conditions are more likely to be indicated by the error wsaetimedout. 10065wsaehostunreachno route to host. a socket operation was attempted to an unreachable host. see wsaenetunreach10067wsaeproclimtoo many processes. a windows sockets implementation may have a limit on the number of application
52、s that may use it simultaneously. wsastartup may fail with this error if the limit has been reached. 10091wsasysnotreadynetwork subsystem is unavailable. this error is returned by wsastartup if the windows sockets implementation cannot function at this time because the underlying system it uses to p
53、rovide network services is currently unavailable. users should check: that the appropriate windows sockets dll file is in the current path, that they are not trying to use more than one windows sockets implementation simultaneously. if there is more than one winsock dll on your system, be sure the f
54、irst one in the path is appropriate for the network subsystem currently loaded. the windows sockets implementation documentation to be sure all necessary components are currently installed and configured correctly. 10092wsavernotsupportedwinsock.dll version out of range. the current windows sockets
55、implementation does not support the windows sockets specification version requested by the application. check that no old windows sockets dll files are being accessed. 10093wsanotinitialisedsuccessful wsastartup not yet performed. either the application hasn't called wsastartup or wsastartup failed. the application may be accessing a socket which the current active task does not own (i.e. trying to share a socket between tasks)
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 文化创意产业园区股权合作与产业园区可持续发展协议
- 智能物流仓储管理系统数据备份及应急处理合同
- 高效工业自动化软件授权及培训服务协议
- 影视剧群众演员化妆间租赁及化妆师服务协议
- 物流仓储货架安装与物流信息系统对接合同
- 抖音平台用户隐私保护与数据安全合作协议
- 2025年中国八氟戊醇行业市场规模及投资前景预测分析报告
- 2025年中国按摩机器人行业市场前景预测及投资价值评估分析报告
- 湿地公园水生植物种植与生态修复工程合作协议
- 桥梁加固工程临时检测员职责与聘用合同
- GB 35181-2025重大火灾隐患判定规则
- 2024年漳州市招聘中小学幼儿园教师真题
- 汉代文化课件图片高清
- 【四川卷】【高二】四川省成都市蓉城名校联盟2023-2024学年高二下学期期末联考数学试题
- 2025年中南出版传媒集团湖南教育出版社分公司招聘笔试参考题库含答案解析
- 艾滋病病人的心理护理
- 铁路旅客运输服务铁路客运车站服务工作课件
- 《面试技巧与策略》课件
- 2023年贵州省粮食储备集团有限公司面向社会公开招聘工作人员15人笔试参考题库附带答案详解
- 公司注册合同协议
- 心功能分级课件
评论
0/150
提交评论