- 微信里面点开链接访问提示:网页包含恶意欺诈内容,被多人投诉,为维护绿色上网环境,已停止访问?
微信公众号平台中,点开链接,显示:“网页包含恶意欺诈内容,被多人投诉,为维护绿色上网环境,已停止访问。” 我们已根据《微信外部链接内容管理规范》进行了自查核实,发现网页被恶意举报,麻烦尽快恢复,谢谢! 备案号:苏ICP备11038145号 域名:ddr.qjmy.cn
2023-03-13 - 支付错误SLError: [SSL: CA_MD_TOO_WEAK] ca md too weak?
问题背景: 我们在4月初进行了软件服务的服务器升级,从一台服务器切换到另外一台服务器,并使用容器化的docker来运行我们的程序,升级部署完成后,web服务运行基本正常。 问题: 在上周末我们发现了一个错误,用户在支付时,后台服务器向微信支付api发送一个支付请求时出现了requests异常: SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:2815) 异常栈信息: 2020-04-20T02:23:32.447910778Z [2020-04-20 10:23:32 +0000] [19] [CRITICAL] WORKER TIMEOUT (pid:112) 2020-04-20T02:23:32.448265104Z ERROR:django.request:Internal Server Error: /huodong/order/payment/ 2020-04-20T02:23:32.448283502Z Traceback (most recent call last): 2020-04-20T02:23:32.448287946Z File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 113, in get_response 2020-04-20T02:23:32.448292598Z response = callback(request, *callback_args, **callback_kwargs) 2020-04-20T02:23:32.448297106Z File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view 2020-04-20T02:23:32.448301744Z return view_func(request, *args, **kwargs) 2020-04-20T02:23:32.448305978Z File "/root/code/huodong/views.py", line 212, in wechat_pay 2020-04-20T02:23:32.448310676Z order = wechat_pay.order.create(trade_type='JSAPI', body=enrollment.name, total_fee=int(payment.amount * 100), notify_url='https://www.qjmy.cn/huodong/order/wechatpay/callback/', user_id=openid, attach=payment.order_no) 2020-04-20T02:23:32.448315304Z File "/usr/local/lib/python2.7/site-packages/wechatpy/pay/api/order.py", line 83, in create 2020-04-20T02:23:32.448319650Z return self._post('pay/unifiedorder', data=data) 2020-04-20T02:23:32.448324038Z File "/usr/local/lib/python2.7/site-packages/wechatpy/pay/base.py", line 18, in _post 2020-04-20T02:23:32.448328469Z return self._client.post(url, **kwargs) 2020-04-20T02:23:32.448332989Z File "/usr/local/lib/python2.7/site-packages/wechatpy/pay/__init__.py", line 191, in post 2020-04-20T02:23:32.448337572Z **kwargs 2020-04-20T02:23:32.448341896Z File "/usr/local/lib/python2.7/site-packages/wechatpy/pay/__init__.py", line 136, in _request 2020-04-20T02:23:32.448346798Z **kwargs 2020-04-20T02:23:32.448351008Z File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 465, in request 2020-04-20T02:23:32.448359469Z resp = self.send(prep, **send_kwargs) 2020-04-20T02:23:32.448363942Z File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send 2020-04-20T02:23:32.448368469Z r = adapter.send(request, **kwargs) 2020-04-20T02:23:32.448372837Z File "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 431, in send 2020-04-20T02:23:32.448377668Z raise SSLError(e, request=request) 2020-04-20T02:23:32.448381892Z SSLError: [SSL: CA_MD_TOO_WEAK] ca md too weak (_ssl.c:2815) 2020-04-20T02:23:32.449606554Z [2020-04-20 10:23:32 +0000] [112] [INFO] Worker exiting (pid: 112) 2020-04-20T02:23:32.637905067Z [2020-04-20 10:23:32 +0000] [155] [INFO] Booting worker with pid: 155
2020-04-20