疑难杂症

Linux运维常用问题处理 收集
4 年前

跨域问题解决方法

疑难杂症  

确保Header中包含如下内容且不存在重复 add_header Access-Control-Max-Age 86400; add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Credentials true; add_header Access-Control-Allow-Method…

5 年前

解决 no ssl_certificate” is defined in server listening on SSL port while SSL handshaking

疑难杂症   no ssl_certificate  

场景 nginx 访问https 连接丢失 443端口测试异常断开 日志中提示no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: xxx.xxx.xxx.xxx, server: 0.0.0.0:443 解决方案 nginx ssl 配置添加 default_s…

7 年前

dns probe possible 问题解决办法?

疑难杂症   IT问题  

问题说明 QQ 和 微信能正常登陆无法打开网页,首先想到的是dns问题 但是ping www.baidu.com却可以正常ping通 打开浏览器访问提示 dns probe possible 解决办法 以管理员身份运行cmd 执行 netsh winsock reset 即可恢复…

7 年前

python xml.etree.Element 在处理 xml文件时写入产生ns0

疑难杂症   ns0   python xml 修改属性  

例如 <manifest xmlns:android="http://schemas.android.com/apk/res/android" <application android:allowBackup="false" android:icon="@drawable/app_icon" android:label="@string/app_name" android…

7 年前

KAFKA - While recording the replica LEO, the partition

疑难杂症   kafka  

Kafka报错: datacenter,11] hasn't been created. (kafka.server.ReplicaManager) [2017-03-30 15:45:46,583] WARN [Replica Manager on Broker 1]: While recording the replica LEO, the partition [lytx2-datacen…