Closed beimusky closed 1 year ago
使用celery后台异步进行业务处理,windows环境下,会提示这个。不知道要如何排查。 result = dc_alipay.server_api('alipay.trade.query',
File "D:\Program Files\Python310\lib\site-packages\python_alipay_sdk-3.2.0-py3.10.egg\alipay__init.py", line 228, in server_api return self.verified_sync_response(data, response_type) File "D:\Program Files\Python310\lib\site-packages\python_alipay_sdk-3.2.0-py3.10.egg\alipay\init__.py", line 611, in verified_sync_response raw_string = urlopen(url, timeout=self._config.timeout).read().decode()
你这边有完整的截图吗,有一部分报错看不到
为了验证这个问题是否与这个库有关,你可以在celery里面发起一个urllib 对百度的网络请求,看看是不是有同样的报错。 我感觉跟这个库本身无关
使用celery后台异步进行业务处理,windows环境下,会提示这个。不知道要如何排查。 result = dc_alipay.server_api('alipay.trade.query',
File "D:\Program Files\Python310\lib\site-packages\python_alipay_sdk-3.2.0-py3.10.egg\alipay__init.py", line 228, in server_api return self.verified_sync_response(data, response_type) File "D:\Program Files\Python310\lib\site-packages\python_alipay_sdk-3.2.0-py3.10.egg\alipay\init__.py", line 611, in verified_sync_response raw_string = urlopen(url, timeout=self._config.timeout).read().decode()