pay.do测试504 Gateway Time-out
来源:11-10 支付模块所有功能自测
梨好橙
2017-12-29
老师您好,我已经将项目部署上线,支付宝回调显示504 Gateway Time-out,这个是什么问题呢
5回答
-
梨好橙
提问者
2017-12-31
[root@iZ2zeh2524kppp4fxpvv4xZ logs]# tail catalina.2017-12-31.log
Dec 31, 2017 12:10:16 AM com.alipay.demo.trade.service.impl.AbsAlipayTradeService tradePrecreate
INFO: trade.precreate bizContent:{"out_trade_no":"1514559280609","seller_id":"","total_amount":"5997.00","undiscountable_amount":"0","subject":"happymmall扫码支付,订单号:1514559280609","body":"订单1514559280609购买商品共5997.00元","goods_detail":[{"goods_id":"28","goods_name":"4+64G送手环/Huawei/华为 nova 手机P9/P10plus青春","quantity":3,"price":"1999"}],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088100200300400500"},"timeout_express":"120m"}
Dec 31, 2017 12:10:16 AM com.alipay.demo.trade.service.impl.AbsAlipayService getResponse
INFO: {"alipay_trade_precreate_response":{"code":"10000","msg":"Success","out_trade_no":"1514559280609","qr_code":"https:\/\/qr.alipay.com\/bax06389zcbq6ojwv3ap00aa"},"sign":"USw3DjGX936Mg4so2NGV2ITLVBHZHgJPDgnXn4PQWgqH5VIH/eABYCmV0tfoJclQV/ee47nH/Ob0xuELCwSAHhXwIt6OyEPu5xuQGMZ3ctJy2a5sH9YU5KscHPV0s97IV6QP2/i1gUZZ/eSQf3naJeIJ/kZNd/hr8SpWfpJB+XR3+Gq2c13r0pAD5voGPrzhG1lMC0qzr+Z3WUX9WnjTpoiOfLlimZzbI7a6DnvlU3NOVcgPWpZICCvAReGm23UUAwLOo2nn1xZxrf7AYvzb7aw/Vgjz7p5sPP1LihvFSbmkBu4C1PkGhtskknL6tiJPjCZvKqZMMUcarPJLeJyp9w=="}
Dec 31, 2017 4:45:25 PM com.alipay.demo.trade.service.impl.AbsAlipayTradeService tradePrecreate
INFO: trade.precreate bizContent:{"out_trade_no":"1514709924990","seller_id":"","total_amount":"1999.00","undiscountable_amount":"0","subject":"happymmall扫码支付,订单号:1514709924990","body":"订单1514709924990购买商品共1999.00元","goods_detail":[{"goods_id":"28","goods_name":"4+64G送手环/Huawei/华为 nova 手机P9/P10plus青春","quantity":1,"price":"1999"}],"operator_id":"test_operator_id","store_id":"test_store_id","extend_params":{"sys_service_provider_id":"2088100200300400500"},"timeout_express":"120m"}
Dec 31, 2017 4:45:25 PM com.alipay.demo.trade.service.impl.AbsAlipayService getResponse
INFO: {"alipay_trade_precreate_response":{"code":"10000","msg":"Success","out_trade_no":"1514709924990","qr_code":"https:\/\/qr.alipay.com\/bax07117tq0h9lotewe60018"},"sign":"gJSip0Eog1rguiXtgWzD0iTOHtR5AUOtCab+k0+EitJOH4mZS4Xio9ESmheEQCfLPzGHwNG3/OI6YAFNob7XGdSpGg/gjaJyjqIcmq+axCteOKzH5EyGIc+Q3T9Afvi0WV1sXKWxeAYhrReg7G4z3Ro8N4F1N2AbVWzMM2+pzMig5TACJHjfg8N3Pg1/M6nF2ikvLLZfRkEnNBNYVKGHvOa6s5G0uJDw0GM8wbpAU7BrYlBR42TP37i/F8uwzjlhh1ea4v8e0PVzDcU92slOoupobo/k8apU6ukkBuXj3IQZT4iggrCPdd1XPvo9Lv3cn9UrFMviBTC7879NL2H8+g=="}
就到这里就停住了 然后显示超时
复制qr_code可以支付
之前安装vsftpd的时候没有安全组没有配21端口,后面配置了。我在想问题是不是在这里。
现在准备把vsftpd卸了重新安装试一下~
022017-12-31 -
梨好橙
提问者
2017-12-31
tomcat动态日志
~~~
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
[23:19:14.631][INFO][com.mmall.util.FTPUtil][http-bio-8080-exec-5] 开始连接ftp服务器,结束上传,上传结果:{}
[23:19:14.632][INFO][com.mmall.service.impl.OrderServiceImpl][http-bio-8080-exec-5] qrPath:/developer/apache-tomcat-7.0.73/webapps/ROOT/upload/qr-1514559280609.png
~~~
052017-12-31 -
Geely
2017-12-30
你好,同学,这个接口还不是回调接口,是支付接口。504超时。
建议看一下tomcat的异常日志,发上来。因为已经使用nginx,这个504具体异常看不出来。
最近年底加班比较多,回复晚了,还请同学海涵呀~~
元旦快乐!!
【【看帖子看帖子看帖子】】,重要的说三遍哈
我给大家整理了这个,有问题可以来看看先找一下。 肯定有你想要的哈
部署环境的话 ,建议看下文章最后一小段哟~首先跟着课程阿里云部署那个章节过一遍,可以先不跟着操作,做到心里有数,环境部署都做了什么。
尽快进入咱们QQ群哟~~进群方法下面思维导图那个帖子有。非常详细
课程项目思维导图及线上环境、测试环境、部署linux和windows等解答
http://www.imooc.com/article/20193
【重点】问答区常见问题整理
http://www.imooc.com/article/18998
课程项目QQ群分享手记
http://www.imooc.com/article/19094
找工作的季节之简历及找工作的分享
http://www.imooc.com/article/19998
项目环境、vsftpd、linux、mysql等各种配置、软件下载
http://learning.happymmall.com
mybatis-plugin插件安装
http://coding.imooc.com/learn/questiondetail/36007.html
课程求10分好评哇谢谢啦~~(づ ̄ 3 ̄)づ
咱们二期上线啦,【二期进阶Tomcat集群和Redis分布式课程已经上线】
二期课程网址 http://coding.imooc.com/class/162.html
00 -
梨好橙
提问者
2017-12-29
123
00 -
梨好橙
提问者
2017-12-29
orderNo没有问题,是安全组的原因吗
00
相似问题