Files
notes/work/移动杭研/开发记录/6.11.1/联调记录-33项配置.md
T
2026-03-01 01:43:46 +08:00

376 lines
12 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 问题记录
set_req_header 查询没有响应 option(已增加)
关于 option 字段,应理解为字段,不应进行配置管理
# 沟通记录
1、调用接口异常传给配管的是全量包含 null,修改为只下发此次任务的相关配置。
通过将参数透传,追加参数处理。
![](../../../../attachment/images-uuid/9dd468451a484a1fb0bed640f91fc881.png)
2、调用接口失败的任务将不再被回调
![](../../../../attachment/images-uuid/4e56422931ec4392814ac6d045add590.png)
3、自定义页面,中兴平面异常。
# 高级
## back_source_host(回源 host 配置)
请求参数
```json
"domain": "douyinvodtest.jingpintest.xyz",
// 回源host配置
"back_source_host": {
"enable": true,
"host": "douyinvodtest.back.com"
}
```
![](../../../../attachment/images-uuid/4bcd16ca50d2423dbc703b1626d36d2b.png)
数据库结果
![](../../../../attachment/images-uuid/da51ce55ffa94be386f8de53b2e53efa.png)
查询接口结果
![](../../../../attachment/images-uuid/2fa4af18e4f843e7af65bd6dba0a07ff.png)
关闭
## block_loop(分片回源信息)
下发参数
{"block_loop":true,"domain":"douyinvodtest.jingpintest.xyz","plain":[0,1,2,4],"task_id":"5141cb96546d4034a07565b170e86e50"}
![](../../../../attachment/images-uuid/6f93d088c9f646dca5ebad3389d02807.png)
![](../../../../attachment/images-uuid/581cd3bbf38d408ba3413992b5d33ef4.png)
回调后数据库结果
![](../../../../attachment/images-uuid/0b9d9da0bc9e4858a1c256fd14ffdb06.png)
![](../../../../attachment/images-uuid/7f61dbeaa5904f7c96478fc57cf808a5.png)
![](../../../../attachment/images-uuid/6bb0dc568683462dbc82da0a221570ff.png)
## 有歧义 -set_req_header(自定义回源 HTTP 请求头)
下发报文
![](../../../../attachment/images-uuid/42f62d248a8841229eae0e4b9a1a112b.png)
数据库体现
![](../../../../attachment/images-uuid/3bc4de50449f45ea9e556a863de66cef.png)
查询状况(需要补充 option
![](../../../../attachment/images-uuid/672d4120241d4ebcb43aa6e0e77062ef.png)
option 为 1
![](../../../../attachment/images-uuid/276f858eab2646e5949dd68d5e5b876c.png)
查询
![](../../../../attachment/images-uuid/d22dc249e77846978b11ee3225a27739.png)
## backsource_redirection_status(回源重定向跟随)
下发参数
![](../../../../attachment/images-uuid/f8e8b109f6d549cebd0981edfc532763.png)
查询接口
![](../../../../attachment/images-uuid/449be9c0dca94cf9b1ae5bf745846a80.png)
![](../../../../attachment/images-uuid/13d8b40090354b05a68e9a3ba35f8692.png)
## cache(缓存类型与过期时间信息)
下发报文
![](../../../../attachment/images-uuid/7613d24af85d4c4d8343b347e9fd9d68.png)
查询结果
![](../../../../attachment/images-uuid/74492f48a9af49deb9ab4c9a3ae86f2a.png)
![](../../../../attachment/images-uuid/82cd81c1fa3840338027b38d2b843174.png)
修改场景
![](../../../../attachment/images-uuid/729ccd849186438a8d46c14a24f104eb.png)
![](../../../../attachment/images-uuid/1b8969fb53e24fa0b3ca5fd4a4efa6cc.png)
数据库
![](../../../../attachment/images-uuid/008cc4253dbf43b3a2f3a8344fabb3d0.png)
特殊场景
![](../../../../attachment/images-uuid/9141ef4e1fd047deaf0db29b4e324bf5.png)
配管侧查询 cache 直接消失(正常)
ibs 库正常
![](../../../../attachment/images-uuid/46a6db34251c47548c7c84bf2fe983e0.png)
# 基础
# 删除
# 查询
# 联调记录转存 excle
1、url_parameter 子开关是否删除配置问题
2、ip_black_list 涉及 ibs 查询接口 ipList 不回显问题
3、referrer_anti_stealing_link 配管字段调整周一再测
4、custom_error_page 中兴失败
![](../../../../attachment/images-uuid/66f3fe695e2640aabfc8bba12dc9a41c.png)
![](../../../../attachment/images-uuid/87cfc0178bd543efa2a9207a0081043c.png)
![](../../../../attachment/images-uuid/8f6e4b5ff38945829c26d4b8f71f9a61.png)
![](../../../../attachment/images-uuid/8bb13ce5ecf349a3a14d69fdda88e835.png)
![](../../../../attachment/images-uuid/889aaaee0860421e851c0bc5b8cacfff.png)
![](../../../../attachment/images-uuid/a29266a7797840f2b7a22758499c4a26.png)
![](../../../../attachment/images-uuid/7b946bfb932245e8be8975e6c15272aa.png)
均开启
![](../../../../attachment/images-uuid/d7b94176b2c8448a9532f3787d071afc.png)
查询
```json
{
"back_rewrite_uri": {
"detail": [
{
"rewrite_path": "/aa",
"target_path": "/aa/$1/$2.jpg"
},
{
"rewrite_path": "bb",
"target_path": "/bb/$1/$2.jpg"
}
],
"enable": true
},
"back_source_host": {
"enable": true,
"host": "douyinvodtest.back.com"
},
"backsource_redirection_status": false,
"base": {
"cdn_type": "web",
"cname": "douyinvodtest.jingpintest.xyz.c8c10c27.d.cdn.10086.cn",
"created_time": "2023-07-28T17:17:20+08:00",
"crt_name": "",
"customerRemarks": {
"portParam": {
"http": 80,
"https": 443
}
},
"domain": "douyinvodtest.jingpintest.xyz",
"ip_priority": "ipv6",
"ipv6_on_off": false,
"protocol": 2,
"provinces": [],
"service_provider": "0",
"sources": [
{
"back_addr": "192.23.34.88:443",
"back_protocol": 2,
"primary": true,
"type": "ip"
}
],
"state": "online",
"unique_id": "20230808171383--662a-49f8-aa8d-7c6fa093f548"
},
"block_loop": false,
"brotli_status": false,
"cache": {
"detail": [
{
"content": "",
"followsource": 1,
"ttl": 5,
"type": 2,
"unit": "day",
"weight": 3
},
{
"content": "abc/file01/2.png",
"followsource": 0,
"ttl": 2,
"type": 3,
"unit": "week",
"weight": 3
},
{
"content": "/test/index.html",
"followsource": 0,
"ttl": 0,
"type": 4,
"unit": "minute",
"weight": 4
},
{
"content": "401,404",
"followsource": 0,
"ttl": 0,
"type": 5,
"unit": "second",
"weight": 96
}
],
"enable": true
},
"custom_error_page": {
"detail": [
{
"link": "https://abc.aa/error.html",
"mode": 0,
"type": 0
},
{
"link": "https://abc.bb/error.html",
"mode": 1,
"type": 1
},
{
"link": "https://abc.cc/error.html",
"type": 2
}
],
"enable": true
},
"gzip_status": false,
"http2_status": false,
"https_status": {
"detail": {
"https_force": false,
"https_tls_version": [
"tls1.0",
"tls1.1",
"tls1.2",
"tls1.3"
]
},
"enable": true
},
"ip_black_list": {
"enable": true,
"ip_list": [
"2.1.1.1",
"2:1::1:2/24"
]
},
"referrer_anti_stealing_link": {
"detail": {
"domain_list": [
"*.10086.com",
"www.10011186.co",
"www.10011187.co"
],
"list_type": 1,
"referrer_null": false
},
"enable": true
},
"set_req_header": {
"detail": [
{
"option": 1,
"type": "Sec-Fetch-Mode",
"value": "CNTWO"
}
],
"enable": true
},
"ua_anti_stealing_link": {
"detail": {
"list_type": 2,
"ua_list": [
"Android",
"IE"
],
"ua_null": false
},
"enable": true
},
"url_anti_stealing_link": {
"detail": {
"auth_encrypt": "SHA1",
"auth_key": "abc1234",
"auth_key_back": "xyz4321",
"auth_param": "x_signature",
"auth_timeout": 8640,
"auth_type": 6
},
"enable": true
},
"url_parameter": {
"enable": false
},
"video_drag_status": false
}
```
域名删除参数下发
![](../../../../attachment/images-uuid/794fec69ee424288a54decc21496b474.png)
![](../../../../attachment/images-uuid/5777d888f9934fa69a1af01f79c696d8.png)
话单模块儿
```log
2023-08-11 10:30:49 [,,,,] [http-nio-8080-exec-2] INFO com.cmcc.cdn.platform.selfservice.service.aspire.impl.callback.DomainDeleteServiceImpl 184 onSuccessCallBack - 【删除加速域名,配管回调成功】———>开始注销话单,域名为:tianzhuo339300559.komect.com
2023-08-11 10:30:49 [,,,,] [Thread-31] INFO com.cmcc.cdn.platform.selfservice.service.impl.BBossAndDssInteractiveServiceImpl$1 727 run - 下发话单请求参数, url:http://10.24.88.175:8030/api/ibs/dss/statement/configure/response, param:{"productInfos":[{"billingMethod":"1","businessType":"1","cancelStatus":"2","cancelTime":"20230811183049","createTime":"20230523093330","domain":"tianzhuo339300559.komect.com","enterpriseId":"ECID1684803255","enterpriseName":"测试企业-1684803255","infoType":"1","jobId":"20230523085310","productId":"1","province":"250"}]}
2023-08-11 10:30:49 [,,,,] [Thread-31] INFO com.cmcc.cdn.platform.selfservice.service.impl.BBossAndDssInteractiveServiceImpl 1227 sendRequest - {"productInfos":[{"billingMethod":"1","businessType":"1","cancelStatus":"2","cancelTime":"20230811183049","createTime":"20230523093330","domain":"tianzhuo339300559.komect.com","enterpriseId":"ECID1684803255","enterpriseName":"测试企业-1684803255","infoType":"1","jobId":"20230523085310","productId":"1","province":"250"}]}
2023-08-11 10:30:49 [,,,,] [Thread-31] INFO com.cmcc.cdn.platform.selfservice.service.impl.BBossAndDssInteractiveServiceImpl 1230 sendRequest - 计费话单-带宽数据获取 operateurl:http://10.24.88.175:8030/api/ibs/dss/statement/configure/response
2023-08-11 10:30:49 [,,,,] [Thread-31] INFO com.cmcc.cdn.platform.common.util.HttpUtil 340 doHttpRequest2 - url:http://10.24.88.175:8030/api/ibs/dss/statement/configure/response, method:post, 返回的状态码为:200
2023-08-11 10:30:49 [,,,,] [Thread-31] INFO com.cmcc.cdn.platform.common.util.HttpUtil 344 doHttpRequest2 - url:http://10.24.88.175:8030/api/ibs/dss/statement/configure/response, method:post, 返回的请求体:{"result":null,"code":200,"message":"成功"}
2023-08-11 10:30:49 [,,,,] [Thread-31] INFO com.cmcc.cdn.platform.selfservice.service.impl.BBossAndDssInteractiveServiceImpl 1233 sendRequest - 计费话单-带宽数据获取 响应信息, status: 200, response:{"resp":"{\"result\":null,\"code\":200,\"message\":\"成功\"}","status":"200"}
2023-08-11 10:30:49 [,,,,] [Thread-31] INFO com.cmcc.cdn.platform.selfservice.service.impl.BBossAndDssInteractiveServiceImpl$1 771 run - 更新试用域名计费信息, [],[tianzhuo339300559.komect.com],[tianzhuo339300559.komect.com]
2023-08-11 10:30:49 [,,,,] [http-nio-8080-exec-2] INFO com.cmcc.cdn.platform.selfservice.dao.RedisCacheRepository 221 clearDomainsApi - clearDomainsApi
```
![](../../../../attachment/images-uuid/52de1c72cf964928930b598d7bbf47c6.png)
![](../../../../attachment/images-uuid/0d8ad062758845a7b5d065166bf7eab2.png)
![](../../../../attachment/images-uuid/40b6b4cd8c544c09ac8e3b655be5bcab.png)
![](../../../../attachment/images-uuid/aca1ca25f2904367b872075f551aab70.png)
![](../../../../attachment/images-uuid/3d093f720542415cbfcc13bd0e9ff7a0.png)