信息: Configs{支付宝openapi网关: https://openapi.alipaydev.com/gateway.do
, 支付宝mcloudapi网关域名: http://mcloudmonitor.com/gateway.do
, pid: 2088102179054324
, appid: 2016101100659360
, 商户RSA私钥: MIIEvQ******ReANE=
, 商户RSA公钥: MIIBIj******IDAQAB
, 支付宝RSA公钥: MIIBIj******IDAQAB
, 签名类型: RSA2
, 查询重试次数: 5
, 查询间隔(毫秒): 5000
, 撤销尝试次数: 3
, 撤销重试间隔(毫秒): 2000
, 交易保障调度延迟(秒): 5
, 交易保障调度间隔(秒): 900
}
七月 09, 2019 10:33:00 上午 com.alipay.demo.trade.service.impl.AbsAlipayTradeService tradePrecreate
信息: trade.precreate bizContent:{“out_trade_no”:“tradeprecreate15626395799083193643”,“seller_id”:"",“total_amount”:“0.01”,“undiscountable_amount”:“0”,“subject”:“xxx品牌xxx门店当面付扫码消费”,“body”:“购买商品3件共20.00元”,“goods_detail”:[{“goods_id”:“goods_id001”,“goods_name”:“xxx小面包”,“quantity”:1,“price”:“10”},{“goods_id”:“goods_id002”,“goods_name”:“xxx牙刷”,“quantity”:2,“price”:“5”}],“operator_id”:“test_operator_id”,“store_id”:“test_store_id”,“extend_params”:{“sys_service_provider_id”:“2088100200300400500”},“timeout_express”:“120m”}
七月 09, 2019 10:33:06 上午 com.alipay.api.internal.util.AlipayLogger _logCommError
严重: 2019-07-09 10:33:06_alipay.trade.precreate_null_192.168.72.1_Windows 8.1_alipay-sdk-java-3.3.0_https://openapi.alipaydev.com/gateway.do?sign=o2vUMYTLsW1m8vWHyrjLEvL%2F%2FHCOZs8JBlWyKRbg7U%2BCMSOIHig1jTVwIEWPMiHdhN2JxI8eqE75c1SA9OlW9F06srmAbI13k2FxW%2BDIimoVcJM32NLkVNuZt5S8%2BxMcm6crNne%2FVReURxtc7jdjURZpQcdwJ6eVITJ03j73rFYIx9Kt7wX0lm3nxSIOCPBdKdJ4cQnX0lpvWrFZCrfCGWoKk9Pu6QyKsPzs2sLEQpF40xj8wZVT2OPUBb%2BdYeHnyWDRI3XhhoDQ%2B6ydnEUy%2Bxny%2FhlWm49RJ7QUjvXOOlCC0iltohfA12TC%2Fm9U766zIROYT0Ft3mAHPehHHc20ow%3D%3D×tamp=2019-07-09+10%3A33%3A00&sign_type=RSA2&charset=utf-8&app_id=2016101100659360&method=alipay.trade.precreate&version=1.0&alipay_sdk=alipay-sdk-java-3.3.0&format=json__connect timed out
com.alipay.api.AlipayApiException: java.net.SocketTimeoutException: connect timed out
at com.alipay.api.AbstractAlipayClient.doPost(AbstractAlipayClient.java:460)
at com.alipay.api.AbstractAlipayClient._execute(AbstractAlipayClient.java:375)
at com.alipay.api.AbstractAlipayClient.execute(AbstractAlipayClient.java:103)
at com.alipay.api.AbstractAlipayClient.execute(AbstractAlipayClient.java:90)
at com.alipay.api.AbstractAlipayClient.execute(AbstractAlipayClient.java:84)
at com.alipay.demo.trade.service.impl.AbsAlipayService.getResponse(AbsAlipayService.java:32)
at com.alipay.demo.trade.service.impl.AbsAlipayTradeService.tradePrecreate(AbsAlipayTradeService.java:102)
at com.alipay.demo.trade.service.impl.AlipayTradeServiceImpl.tradePrecreate(AlipayTradeServiceImpl.java:1)
at com.alipay.demo.trade.Main.test_trade_precreate(Main.java:426)
at com.alipay.demo.trade.Main.main(Main.java:101)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1092)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at com.alipay.api.internal.util.WebUtils.doPost(WebUtils.java:153)
at com.alipay.api.internal.util.WebUtils.doPost(WebUtils.java:116)
at com.alipay.api.AbstractAlipayClient.doPost(AbstractAlipayClient.java:456)
… 9 more
七月 09, 2019 10:33:06 上午 com.alipay.demo.trade.Main test_trade_precreate
严重: 系统异常,预下单状态未知!!!
检查了属性配置是没错的,无法解决问题
登录后可查看更多问答,登录/注册