小程序
小游戏
企业微信
微信支付
扫描小程序码分享
【请求地址】: https://api.weixin.qq.com/wxa/commit?access_token=~~~~~~
【请求参数】:{"template_id":973,"user_version":"v4.2.0","user_desc":"商城小程序v4.2.0","ext_json":"{\"extEnable\":true,\"extAppid\":\"wx078~~~~~~
【异常信息】:Read timed out
麻烦帮忙看一下!!!
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
在demo中加上这几行代码就行了
DefaultApacheHttpClientBuilder clientBuilder = DefaultApacheHttpClientBuilder.get();
clientBuilder.setSoTimeout(30000);
//连接池socket超时时间(单位ms)
inRedisConfigStorage.setApacheHttpClientBuilder(clientBuilder);
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
我们也遇到问题了,麻烦快解决下吧。
[template_id] => 1042
[ext_json] => {"extEnable":true,"extAppid":"wx9fef0bb9fd1a3491","directCommit":false,"ext":{"globalData":{"uuid":""}}}
[user_version] => v1.02.1546.201223
[user_desc] => 12.23.16.38
错误信息:0 cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
在demo中加上这几行代码就行了
DefaultApacheHttpClientBuilder clientBuilder = DefaultApacheHttpClientBuilder.get();
clientBuilder.setSoTimeout(30000);
//连接池socket超时时间(单位ms)
inRedisConfigStorage.setApacheHttpClientBuilder(clientBuilder);
我们也遇到问题了,麻烦快解决下吧。
[template_id] => 1042
[ext_json] => {"extEnable":true,"extAppid":"wx9fef0bb9fd1a3491","directCommit":false,"ext":{"globalData":{"uuid":""}}}
[user_version] => v1.02.1546.201223
[user_desc] => 12.23.16.38
错误信息:0 cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)