建议使用以下浏览器,以获得最佳体验。 IE 9.0+以上版本 Chrome 31+ 谷歌浏览器 Firefox 30+ 火狐浏览器
请选择 进入手机版 | 继续访问电脑版
设置昵称

在此一键设置昵称,即可参与社区互动!

确定
我再想想
选择版块

way

发帖: 24粉丝: 4

级别 : 版主

Rank: 7Rank: 7Rank: 7

发消息 + 关注

发表于2020-2-13 10:32:39 736 2 楼主 显示全部楼层
[迁移工具] 【问题反馈】软件分析构建中心jar包下载应用层需增加重试次数

软件分析构建中心RPM重构

问题场景:

  软件分析构建中心RPM重构

  内网环境,配置代理

问题现场:

  jar包经常下载失败

问题原因:

  下载的处理有问题,建链成功后,第一次下载失败,应用没有重新再去请求,页面上多次重新执行“软件构建”,jar能下载到data

建议:

   软件分析构建中心建议应用层增加重试次数,至少3次,不然很容易构建失败



问题抓包:

没有应用层重试报文。

[root@centos-164 ~]# tcpdump -i any port 8080 -s0 -A

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes



10:22:15.109368 IP centos-164.55728 > 192.168.102.225.webcache: Flags [S], seq 1214886243, win 29200, options [mss 1460,sackOK,TS val 1051570889 ecr 0,nop,wscale 7], length 0

E..<..@.@.....f...f.....Hi.c......r.O..........

>...........................

10:22:15.109382 IP centos-164.55728 > 192.168.102.225.webcache: Flags [S], seq 1214886243, win 29200, options [mss 1460,sackOK,TS val 1051570889 ecr 0,nop,wscale 7], length 0

E..<..@.@.....f...f.....Hi.c......r.O..........

>...........................

10:22:15.109752 IP 192.168.102.225.webcache > centos-164.55728: Flags [S.], seq 3355074727, ack 1214886244, win 8192, options [mss 1460,nop,wscale 8,sackOK,TS val 86598567 ecr 1051570889], length 0

E..<T.@...W...f...f.......`.Hi.d.. .c .............

.)c.>...................

10:22:15.109752 IP 192.168.102.225.webcache > centos-164.55728: Flags [S.], seq 3355074727, ack 1214886244, win 8192, options [mss 1460,nop,wscale 8,sackOK,TS val 86598567 ecr 1051570889], length 0

E..<T.@...W...f...f.......`.Hi.d.. .c .............

.)c.>...................

10:22:15.109800 IP centos-164.55728 > 192.168.102.225.webcache: Flags [.], ack 1, win 229, options [nop,nop,TS val 1051570890 ecr 86598567], length 0

E..4./@.@.....f...f.....Hi.d..`.....N......

>....)c.................

10:22:15.109804 IP centos-164.55728 > 192.168.102.225.webcache: Flags [.], ack 1, win 229, options [nop,nop,TS val 1051570890 ecr 86598567], length 0

E..4./@.@.....f...f.....Hi.d..`.....N......

>....)c.................

10:22:15.109831 IP centos-164.55728 > 192.168.102.225.webcache: Flags [P.], seq 1:44, ack 1, win 229, options [nop,nop,TS val 1051570890 ecr 86598567], length 43: HTTP: CONNECT repo.huaweicloud.com:443 HTTP/1.0

E.._.0@.@.....f...f.....Hi.d..`.....O(.....

>....)c.CONNECT repo.huaweicloud.com:443 HTTP/1.0

................

10:22:15.109834 IP centos-164.55728 > 192.168.102.225.webcache: Flags [P.], seq 1:44, ack 1, win 229, options [nop,nop,TS val 1051570890 ecr 86598567], length 43: HTTP: CONNECT repo.huaweicloud.com:443 HTTP/1.0

E.._.0@.@.....f...f.....Hi.d..`.....O(.....

>....)c.CONNECT repo.huaweicloud.com:443 HTTP/1.0

................

10:22:15.109864 IP centos-164.55728 > 192.168.102.225.webcache: Flags [P.], seq 44:46, ack 1, win 229, options [nop,nop,TS val 1051570890 ecr 86598567], length 2: HTTP

E..6.1@.@.....f...f.....Hi....`.....N......

>....)c.

................

10:22:15.109866 IP centos-164.55728 > 192.168.102.225.webcache: Flags [P.], seq 44:46, ack 1, win 229, options [nop,nop,TS val 1051570890 ecr 86598567], length 2: HTTP

E..6.1@.@.....f...f.....Hi....`.....N......

>....)c.

................

10:22:15.110295 IP 192.168.102.225.webcache > centos-164.55728: Flags [.], ack 46, win 260, options [nop,nop,TS val 86598567 ecr 1051570890], length 0

E..4T.@...W...f...f.......`.Hi.............

.)c.>...................

10:22:15.110295 IP 192.168.102.225.webcache > centos-164.55728: Flags [.], ack 46, win 260, options [nop,nop,TS val 86598567 ecr 1051570890], length 0

E..4T.@...W...f...f.......`.Hi.............

.)c.>...................

10:22:30.125349 IP centos-164.55728 > 192.168.102.225.webcache: Flags [F.], seq 46, ack 1, win 229, options [nop,nop,TS val 1051585905 ecr 86598567], length 0

E..4.2@.@.....f...f.....Hi....`.....N......

>..q.)c.................

10:22:30.125360 IP centos-164.55728 > 192.168.102.225.webcache: Flags [F.], seq 46, ack 1, win 229, options [nop,nop,TS val 1051585905 ecr 86598567], length 0

E..4.2@.@.....f...f.....Hi....`.....N......

>..q.)c.................

10:22:30.125530 IP 192.168.102.225.webcache > centos-164.55728: Flags [.], ack 47, win 260, options [nop,nop,TS val 86600068 ecr 1051585905], length 0

E..4[.@...PL..f...f.......`.Hi......p6.....

.)i.>..q................

10:22:30.125530 IP 192.168.102.225.webcache > centos-164.55728: Flags [.], ack 47, win 260, options [nop,nop,TS val 86600068 ecr 1051585905], length 0

E..4[.@...PL..f...f.......`.Hi......p6.....

.)i.>..q................

10:22:36.124136 IP 192.168.102.225.webcache > centos-164.55728: Flags [F.], seq 1, ack 47, win 260, options [nop,nop,TS val 86600668 ecr 1051585905], length 0

E..4^.@...M<..f...f.......`.Hi......m......

.)k.>..q................

10:22:36.124136 IP 192.168.102.225.webcache > centos-164.55728: Flags [F.], seq 1, ack 47, win 260, options [nop,nop,TS val 86600668 ecr 1051585905], length 0

E..4^.@...M<..f...f.......`.Hi......m......

.)k.>..q.)c.>...........

10:22:36.124174 IP centos-164.55728 > 192.168.102.225.webcache: Flags [.], ack 2, win 229, options [nop,nop,TS val 1051591904 ecr 86600668], length 0

E..4{.@.@.p=..f...f.....Hi....`.....V......

>....)k..)c.>...........

10:22:36.124177 IP centos-164.55728 > 192.168.102.225.webcache: Flags [.], ack 2, win 229, options [nop,nop,TS val 1051591904 ecr 86600668], length 0

E..4{.@.@.p=..f...f.....Hi....`.....V......

>....)k.................





其他信息:

用wget有重试操作的。

[root@centos-164 portadmin]# vi ../logs/porting.log

[root@centos-164 portadmin]# wget www.baidu.com

--2020-02-13 10:29:04--  http://www.baidu.com/

Connecting to 192.168.102.225:8080... connected.

Proxy request sent, awaiting response... No data received.

Retrying.


--2020-02-13 10:29:26--  (try: 2)  http://www.baidu.com/

Connecting to 192.168.102.225:8080... connected.

Proxy request sent, awaiting response... 200 OK

Length: unspecified [text/html]

Saving to: ‘index.html’


    [  <=>                                                                                                                                                              ] 159,972      769KB/s   in 0.2s


2020-02-13 10:29:26 (769 KB/s) - ‘index.html’ saved [159972]


举报
分享

分享文章到朋友圈

分享文章到微博

Cortus

发帖: 1粉丝: 1

级别 : 版主

Rank: 7Rank: 7Rank: 7

发消息 + 关注

发表于2020-2-13 10:40:29 沙发 显示全部楼层

非常感谢你的建议,需要你同时反馈一下使用的工具具体获取方法或下载链接,以便我们找相关人员分析上述问题,感谢!

点赞 评论 引用 举报

阿奇@汪汪...

发帖: 26粉丝: 10

级别 : 版主

Rank: 7Rank: 7Rank: 7

发消息 + 关注

发表于2020-2-13 10:41:09 地板 显示全部楼层

多谢反馈,问题已收到,反馈给的工具团队处理。

点赞 评论 引用 举报

游客

富文本
Markdown
您需要登录后才可以回帖 登录 | 立即注册