摘要: 1, proxy_pass 之 upstream后面是否带"/"proxy_pass的时候,是否在upstream名称后面添加"/"是有区别的,例如下面两种配置方式:配置1,upstream后没有/location /proxy/ { proxy_pass http://k8s_beta_lb;}配置2,upstream后有/location /proxy/ { proxy_pass ... 阅读全文
posted @ 2020-07-21 18:06 That's_it 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 执行requests报错====> Sending Panels to webhook https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0b8a94fd-5421-4dfa-bbf8-xxxxxxxxxxxx....From cffi callback :Traceback (most recent call last): File "/... 阅读全文
posted @ 2020-07-21 17:49 That's_it 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 原因“Cannot assign requested address.”是由于linux分配的客户端连接端口用尽,无法建立socket连接所致,虽然socket正常关闭,但是端口不是立即释放,而是处于TIME_WAIT状态,默认等待60s后才释放。Cannot assign requested address 这个报错信息是Linux定义的连接是需要占用端口的,每一个新的连接就是新的四元组:客户端... 阅读全文
posted @ 2020-07-21 17:47 That's_it 阅读(39405) 评论(0) 推荐(1) 编辑