客户反馈网站有部分图片显示不出来

浏览器测试:

cdn访问时

https://***.***.com.cn/Public/Uploads/Picture/images/2019/03/325291866263924643326175211219.png
Content-Type: text/html

绑源站访问时

https://***.***.com.cn/Public/Uploads/Picture/images/2019/03/325291866263924643326175211219.png
Content-Type: text/html

(出于客户隐私保护,域名已用*代替)

登录设备使用curl测试时已经恢复正常:

# curl -ksvo /dev/null ‘https://***.***.com.cn/Public/Uploads/Picture/images/2019/03/325291866263924643326175211219.png’ –resolve ‘***.***.com.cn:443:***.***.**.***’
* Expire in 0 ms for 6 (transfer 0x24c5e30)
* Added ***.***.com.cn:443:***.***.**.*** to DNS cache
* Hostname ***.***.com.cn was found in DNS cache
* Trying ***.***.**.***…
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x24c5e30)
* Connected to ***.***.com.cn (***.***.**.***) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
……
> GET /Public/Uploads/Picture/images/2019/03/325291866263924643326175211219.png HTTP/1.1
> Host: ***.***.com.cn
> User-Agent: curl/7.64.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Fri, 15 May 2020 01:23:06 GMT
< Content-Type: image/png
< Content-Length: 62288
< Connection: keep-alive
< Last-Modified: Tue, 09 Apr 2019 16:37:13 GMT
< Expires: Sun, 14 Jun 2020 01:23:17 GMT
< Cache-Control: max-age=2592000
< Accept-Ranges: bytes
< Set-Cookie: Secure;HttpOnly
<
{ [16072 bytes data]
* Connection #0 to host ***.***.com.cn left intact
继续检查7天内的access日志
1589450731.747 544 ***.*.***.** TCP_MISS/200 1480 GET https://***.***.com.cn/Public/Uploads/Picture/images/2019/03/325291866263924643326175211219.png – -/***.***.**.***:443 text/html “https://***.***.com.cn/carowner/part” “Mozilla/5.0 (Linux; Android 10; HD1900 Build/QKQ1.190716.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/66.0.3359.126 MQQBrowser/6.2 TBS/045147 Mobile Safari/537.36 MMWEBID/8716 MicroMessenger/7.0.9.1560(0x27000953) Process/tools NetType/4G……

$ date -d @1589450731
Thu May 14 18:05:31 CST 2020

说明客户源站在14号的时候文件类型错误导致了cdn侧也错误缓存了,排查时已恢复正常应该是客户源站修改了文件类型并在客户自助平台提交了cdn缓存刷新(故障第一时间已将Content-Type: text/html发给客户,客户未回应)

Print Friendly

发表评论

电子邮件地址不会被公开。 必填项已用*标注