Advertisement
fedorm

Untitled

Mar 6th, 2019
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.97 KB | None | 0 0
  1. Check client logs:
  2. {"timestamp":"2019-03-06T15:38:34.647+0000","status":404,"error":"Not Found","message":"Coupon not found","path":"/v1/coupon/check"}
  3.  
  4. Use&issue client logs:
  5. {"timestamp":"2019-03-06T15:39:26.771+0000","status":500,"error":"Internal Server Error","message":"REJECTED_SEMAPHORE_EXECUTION"}
  6. {"timestamp":"2019-03-06T15:39:32.904+0000","status":500,"error":"Internal Server Error","message":"GENERAL"}
  7.  
  8. Consumer logs:
  9.  
  10. 1)
  11. 2019-03-06 18:38:34.846 ERROR 1 --- [ntainer#4-0-C-1] o.h.engine.jdbc.spi.SqlExceptionHelper : An I/O error occurred while sending to the backend.
  12.  
  13. 2)
  14. 2019-03-06 18:38:34.846 ERROR 1 --- [ntainer#4-0-C-1] o.h.engine.jdbc.spi.SqlExceptionHelper : FATAL: terminating connection due to administrator command
  15. Where: SQL statement "INSERT INTO coupon_exemplar(
  16. number,
  17. category_id,
  18. batch_id,
  19. start_date,
  20. end_date,
  21. status,
  22. create_date,
  23. issued_date,
  24. used_date,
  25. issued_place_shop_number,
  26. issued_place_shift_number,
  27. issued_place_purchase_number,
  28. issued_place_cash_number,
  29. used_place_shop_number,
  30. used_place_shift_number,
  31. used_place_purchase_number,
  32. used_place_cash_number,
  33. extended_info)
  34. SELECT
  35. generate_exemplar_coupon_number(pPREFIX, vCATEGORY_ID_TEXT, vSERIES_NUMBER_TEXT, ind),
  36. pCATEGORY_ID,
  37. pBATCH_ID,
  38. pSTART_DATE,
  39. pEND_DATE,
  40. 0,
  41. pCREATE_DATE,
  42. NULL, -- issued date
  43. NULL, -- used date
  44. NULL, -- i-shop number
  45. NULL, -- i-shift number
  46. NULL, -- i-purchase number
  47. NULL, -- i-cash number
  48. NULL, -- u-shop number
  49. NULL, -- u-shift number
  50. NULL, -- u-purchase number
  51. NULL, -- u-cash number
  52. vJSONB_DETAILS
  53. FROM generate_series(pSTART_IND, pEND_IND - 1) ind"
  54. PL/pgSQL function generate_coupon_exemplars(text,integer,integer,bigint,bigint,bigint,timestamp without time zone,timestamp without time zone,text,timestamp without time zone) line 11 at SQL statement
  55.  
  56. 3) https://pastebin.com/8xCfVL7Z
  57. 4)
  58. 2019-03-06 18:38:34.884 ERROR 1 --- [onnection adder] org.postgresql.Driver : Connection error:
  59.  
  60. org.postgresql.util.PSQLException: FATAL: the database system is shutting down
  61. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473) ~[postgresql-42.2.2.jar!/:42.2.2]
  62. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205) ~[postgresql-42.2.2.jar!/:42.2.2]
  63. at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) ~[postgresql-42.2.2.jar!/:42.2.2]
  64. at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195) ~[postgresql-42.2.2.jar!/:42.2.2]
  65. at org.postgresql.Driver.makeConnection(Driver.java:452) ~[postgresql-42.2.2.jar!/:42.2.2]
  66. at org.postgresql.Driver.connect(Driver.java:254) ~[postgresql-42.2.2.jar!/:42.2.2]
  67. at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117) [HikariCP-2.7.9.jar!/:na]
  68. at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123) [HikariCP-2.7.9.jar!/:na]
  69. at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365) [HikariCP-2.7.9.jar!/:na]
  70. at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194) [HikariCP-2.7.9.jar!/:na]
  71. at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460) [HikariCP-2.7.9.jar!/:na]
  72. at com.zaxxer.hikari.pool.HikariPool.access$100(HikariPool.java:71) [HikariCP-2.7.9.jar!/:na]
  73. at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:699) [HikariCP-2.7.9.jar!/:na]
  74. at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:685) [HikariCP-2.7.9.jar!/:na]
  75. at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_181]
  76. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_181]
  77. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_181]
  78. at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]
  79.  
  80. 5)
  81. 2019-03-06 18:38:34.888 ERROR 1 --- [ntainer#4-0-C-1] o.h.engine.jdbc.spi.SqlExceptionHelper : An I/O error occurred while sending to the backend
  82.  
  83. 6) https://pastebin.com/5q1ZM17j
  84. 7) https://pastebin.com/aT1NbvkN
  85. 8)
  86. 2019-03-06 18:38:36.864 ERROR 1 --- [onnection adder] org.postgresql.Driver : Connection error:
  87.  
  88. org.postgresql.util.PSQLException: The connection attempt failed.
  89. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:257) ~[postgresql-42.2.2.jar!/:42.2.2]
  90. at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) ~[postgresql-42.2.2.jar!/:42.2.2]
  91. at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195) ~[postgresql-42.2.2.jar!/:42.2.2]
  92. at org.postgresql.Driver.makeConnection(Driver.java:452) ~[postgresql-42.2.2.jar!/:42.2.2]
  93. at org.postgresql.Driver.connect(Driver.java:254) ~[postgresql-42.2.2.jar!/:42.2.2]
  94. at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117) [HikariCP-2.7.9.jar!/:na]
  95. at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123) [HikariCP-2.7.9.jar!/:na]
  96. at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365) [HikariCP-2.7.9.jar!/:na]
  97. at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194) [HikariCP-2.7.9.jar!/:na]
  98. at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460) [HikariCP-2.7.9.jar!/:na]
  99. at com.zaxxer.hikari.pool.HikariPool.access$100(HikariPool.java:71) [HikariCP-2.7.9.jar!/:na]
  100. at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:699) [HikariCP-2.7.9.jar!/:na]
  101. at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:685) [HikariCP-2.7.9.jar!/:na]
  102. at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_181]
  103. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_181]
  104. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_181]
  105. at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]
  106. Caused by: java.net.SocketException: Connection reset
  107. at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[na:1.8.0_181]
  108. at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_181]
  109. at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:140) ~[postgresql-42.2.2.jar!/:42.2.2]
  110. at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:109) ~[postgresql-42.2.2.jar!/:42.2.2]
  111. at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:67) ~[postgresql-42.2.2.jar!/:42.2.2]
  112. at org.postgresql.core.PGStream.receiveChar(PGStream.java:293) ~[postgresql-42.2.2.jar!/:42.2.2]
  113. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:453) ~[postgresql-42.2.2.jar!/:42.2.2]
  114. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205) ~[postgresql-42.2.2.jar!/:42.2.2]
  115. ... 16 common frames omitted
  116.  
  117. 9)
  118. 2019-03-06 18:38:37.710 ERROR 1 --- [onnection adder] org.postgresql.Driver : Connection error:
  119.  
  120. org.postgresql.util.PSQLException: Connection to master.postgres-production.service.consul:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  121. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:245) ~[postgresql-42.2.2.jar!/:42.2.2]
  122. at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49) ~[postgresql-42.2.2.jar!/:42.2.2]
  123. at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195) ~[postgresql-42.2.2.jar!/:42.2.2]
  124. at org.postgresql.Driver.makeConnection(Driver.java:452) ~[postgresql-42.2.2.jar!/:42.2.2]
  125. at org.postgresql.Driver.connect(Driver.java:254) ~[postgresql-42.2.2.jar!/:42.2.2]
  126. at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117) [HikariCP-2.7.9.jar!/:na]
  127. at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123) [HikariCP-2.7.9.jar!/:na]
  128. at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365) [HikariCP-2.7.9.jar!/:na]
  129. at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194) [HikariCP-2.7.9.jar!/:na]
  130. at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460) [HikariCP-2.7.9.jar!/:na]
  131. at com.zaxxer.hikari.pool.HikariPool.access$100(HikariPool.java:71) [HikariCP-2.7.9.jar!/:na]
  132. at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:699) [HikariCP-2.7.9.jar!/:na]
  133. at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:685) [HikariCP-2.7.9.jar!/:na]
  134. at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_181]
  135. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_181]
  136. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_181]
  137. at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]
  138. Caused by: java.net.ConnectException: Connection refused (Connection refused)
  139. at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_181]
  140. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_181]
  141. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_181]
  142. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_181]
  143. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_181]
  144. at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_181]
  145. at org.postgresql.core.PGStream.<init>(PGStream.java:69) ~[postgresql-42.2.2.jar!/:42.2.2]
  146. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156) ~[postgresql-42.2.2.jar!/:42.2.2]
  147. ... 16 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement