sheharyaar commented on issue #10648: URL: https://github.com/apache/apisix/issues/10648#issuecomment-1889949850
There is difference between the requests made by the Java program and Postman. Request by Java Consumer Program (Successful) : ``` 0000 00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 ..............E. 0010 01 9c 3e 9f 40 00 40 06 78 94 c0 a8 00 6c c0 a8 ..>.@[email protected].. 0020 00 6c a4 38 1e 81 c8 57 27 57 4b a5 b2 5e 80 18 .l.8...W'WK..^.. 0030 01 04 83 b7 00 00 01 01 08 0a 93 32 5f 60 93 32 ...........2_`.2 0040 5e 72 da bb c2 00 00 00 00 00 00 00 00 00 00 00 ^r.............. 0050 01 58 05 32 2e 30 2e 32 30 28 63 6f 6d 2e 72 72 .X.2.0.20(com.rr 0060 68 74 2e 73 79 73 2e 73 65 72 76 69 63 65 2e 69 ht.sys.service.i 0070 6d 70 6c 2e 53 79 73 55 73 65 72 53 65 72 76 69 mpl.SysUserServi 0080 63 65 05 31 2e 32 2e 30 07 24 69 6e 76 6f 6b 65 ce.1.2.0.$invoke 0090 30 38 4c 6a 61 76 61 2f 6c 61 6e 67 2f 53 74 72 08Ljava/lang/Str 00a0 69 6e 67 3b 5b 4c 6a 61 76 61 2f 6c 61 6e 67 2f ing;[Ljava/lang/ 00b0 53 74 72 69 6e 67 3b 5b 4c 6a 61 76 61 2f 6c 61 String;[Ljava/la 00c0 6e 67 2f 4f 62 6a 65 63 74 3b 11 73 65 6c 65 63 ng/Object;.selec 00d0 74 53 79 73 55 73 65 72 49 6e 66 6f 71 07 5b 73 tSysUserInfoq.[s 00e0 74 72 69 6e 67 11 6a 61 76 61 2e 6c 61 6e 67 2e tring.java.lang. 00f0 49 6e 74 65 67 65 72 71 07 5b 6f 62 6a 65 63 74 Integerq.[object 0100 c8 7b 48 04 70 61 74 68 30 28 63 6f 6d 2e 72 72 .{H.path0(com.rr 0110 68 74 2e 73 79 73 2e 73 65 72 76 69 63 65 2e 69 ht.sys.service.i 0120 6d 70 6c 2e 53 79 73 55 73 65 72 53 65 72 76 69 mpl.SysUserServi 0130 63 65 12 72 65 6d 6f 74 65 2e 61 70 70 6c 69 63 ce.remote.applic 0140 61 74 69 6f 6e 14 61 70 69 2d 67 65 6e 65 72 69 ation.api-generi 0150 63 2d 63 6f 6e 73 75 6d 65 72 09 69 6e 74 65 72 c-consumer.inter 0160 66 61 63 65 30 28 63 6f 6d 2e 72 72 68 74 2e 73 face0(com.rrht.s 0170 79 73 2e 73 65 72 76 69 63 65 2e 69 6d 70 6c 2e ys.service.impl. 0180 53 79 73 55 73 65 72 53 65 72 76 69 63 65 07 76 SysUserService.v 0190 65 72 73 69 6f 6e 05 31 2e 32 2e 30 07 67 65 6e ersion.1.2.0.gen 01a0 65 72 69 63 04 74 72 75 65 5a eric.trueZ ``` Request by Postman via APISIX dubbo-proxy (Unsuccessful): ``` 0000 00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 ..............E. 0010 02 6b 85 ef 40 00 40 06 30 75 c0 a8 00 6c c0 a8 .k..@[email protected].. 0020 00 6c d3 48 1e 81 1a 75 df 65 69 4d e0 6c 80 18 .l.H...u.eiM.l.. 0030 01 04 84 86 00 00 01 01 08 0a 93 33 63 26 93 33 ...........3c&.3 0040 63 26 da bb c2 00 00 00 00 00 00 00 00 02 00 00 c&.............. 0050 02 27 05 32 2e 30 2e 32 30 28 63 6f 6d 2e 72 72 .'.2.0.20(com.rr 0060 68 74 2e 73 79 73 2e 73 65 72 76 69 63 65 2e 69 ht.sys.service.i 0070 6d 70 6c 2e 53 79 73 55 73 65 72 53 65 72 76 69 mpl.SysUserServi 0080 63 65 05 31 2e 32 2e 30 11 73 65 6c 65 63 74 53 ce.1.2.0.selectS 0090 79 73 55 73 65 72 49 6e 66 6f 0f 4c 6a 61 76 61 ysUserInfo.Ljava 00a0 2f 75 74 69 6c 2f 4d 61 70 3b 48 06 61 63 63 65 /util/Map;H.acce 00b0 70 74 03 2a 2f 2a 0f 61 63 63 65 70 74 2d 65 6e pt.*/*.accept-en 00c0 63 6f 64 69 6e 67 11 67 7a 69 70 2c 20 64 65 66 coding.gzip, def 00d0 6c 61 74 65 2c 20 62 72 04 62 6f 64 79 34 d1 7b late, br.body4.{ 00e0 0a 20 20 20 20 22 73 65 72 76 69 63 65 22 3a 20 . "service": 00f0 22 63 6f 6d 2e 72 72 68 74 2e 63 6f 6d 6d 6f 6e "com.rrht.common 0100 2e 73 65 72 76 69 63 65 2e 73 79 73 2e 53 79 73 .service.sys.Sys 0110 55 73 65 72 53 65 72 76 69 63 65 22 2c 0a 20 20 UserService",. 0120 20 20 22 6d 65 74 68 6f 64 22 3a 20 22 73 65 6c "method": "sel 0130 65 63 74 53 79 73 55 73 65 72 49 6e 66 6f 22 2c ectSysUserInfo", 0140 0a 20 20 20 20 22 70 61 72 61 6d 65 74 65 72 73 . "parameters 0150 22 3a 20 5b 0a 20 20 20 20 20 20 20 20 7b 0a 20 ": [. {. 0160 20 20 20 20 20 20 20 20 20 20 20 22 74 79 70 65 "type 0170 22 3a 20 22 6a 61 76 61 2e 6c 61 6e 67 2e 49 6e ": "java.lang.In 0180 74 65 67 65 72 22 2c 0a 20 20 20 20 20 20 20 20 teger",. 0190 20 20 20 20 22 76 61 6c 75 65 22 3a 20 31 0a 20 "value": 1. 01a0 20 20 20 20 20 20 20 7d 0a 20 20 20 20 5d 0a 7d }. ].} 01b0 0d 63 61 63 68 65 2d 63 6f 6e 74 72 6f 6c 08 6e .cache-control.n 01c0 6f 2d 63 61 63 68 65 0a 63 6f 6e 6e 65 63 74 69 o-cache.connecti 01d0 6f 6e 0a 6b 65 65 70 2d 61 6c 69 76 65 0e 63 6f on.keep-alive.co 01e0 6e 74 65 6e 74 2d 6c 65 6e 67 74 68 03 32 30 39 ntent-length.209 01f0 0c 63 6f 6e 74 65 6e 74 2d 74 79 70 65 10 61 70 .content-type.ap 0200 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 04 68 plication/json.h 0210 6f 73 74 0e 6c 6f 63 61 6c 68 6f 73 74 3a 39 30 ost.localhost:90 0220 38 30 0d 70 6f 73 74 6d 61 6e 2d 74 6f 6b 65 6e 80.postman-token 0230 30 24 39 66 64 63 34 66 32 31 2d 30 39 62 30 2d 0$9fdc4f21-09b0- 0240 34 32 66 37 2d 39 65 36 33 2d 65 31 62 63 61 36 42f7-9e63-e1bca6 0250 65 61 32 35 65 64 0a 75 73 65 72 2d 61 67 65 6e ea25ed.user-agen 0260 74 15 50 6f 73 74 6d 61 6e 52 75 6e 74 69 6d 65 t.PostmanRuntime 0270 2f 37 2e 33 36 2e 30 5a 4e /7.36.0ZN ``` I will debug the issue further. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
