Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session is not cleaned up after failed payments #2398

Closed
zolia opened this issue Jun 23, 2020 · 0 comments · Fixed by #2399
Closed

Session is not cleaned up after failed payments #2398

zolia opened this issue Jun 23, 2020 · 0 comments · Fixed by #2399
Assignees

Comments

@zolia
Copy link
Contributor

zolia commented Jun 23, 2020

2020-06-22T11:45:50.479 INF session/pingpong/invoice_tracker.go:505  > did not get paid for invoice with hashlock 2e7cb1d593dbcdc7d4b07108a13fa5db3478122dc8c3a7da3d2442a1785b047a, invoice is critical. Aborting.
2020-06-22T11:45:50.479 ERR session/manager.go:186                   > Payment engine error error="did not get paid for critical invoice with hashlock 2e7cb1d593dbcdc7d4b07108a13fa5db3478122dc8c3a7da3d2442a1785b047a"
2020-06-22T11:45:50.480 DBG session/pingpong/invoice_tracker.go:621  > Stopping...
2020-06-22T11:45:50.480 INF services/wireguard/service/service_unix.go:179 > Cleaning up session 3d3b6223-9dc8-46b0-b7eb-4617de615a98
2020-06-22T11:45:50.481 INF services/wireguard/service/stats_publisher.go:62 > Stopped publishing statistics for session 3d3b6223-9dc8-46b0-b7eb-4617de615a98
2020-06-22T11:45:50.488 ??? vendor/github.com/rs/zerolog/log.go:403  > RTNETLINK answers: No such file or directory
2020-06-22T11:45:50.498 ??? vendor/github.com/rs/zerolog/log.go:403  > RTNETLINK answers: No such file or directory
2020-06-22T11:45:50.511 ??? vendor/github.com/rs/zerolog/log.go:403  > Cannot find device "ifb0"
2020-06-22T11:45:50.522 ??? vendor/github.com/rs/zerolog/log.go:403  > Cannot find device "ifb0"
2020-06-22T11:45:50.524 INF nat/service_iptables.go:75               > Deleting NAT/Firewall rules
2020-06-22T11:45:50.532 DBG nat/service_iptables.go:169              > "/usr/sbin/iptables -D PREROUTING --source 10.182.0.2/24 --destination 10.182.0.1 --protocol udp --dport 53 --jump REDIRECT --to-ports 11253 --table nat" output:

2020-06-22T11:45:50.539 DBG nat/service_iptables.go:169              > "/usr/sbin/iptables -D PREROUTING --source 10.182.0.2/24 --destination 10.182.0.1 --protocol tcp --dport 53 --jump REDIRECT --to-ports 11253 --table nat" output:

2020-06-22T11:45:50.546 DBG nat/service_iptables.go:169              > "/usr/sbin/iptables -D FORWARD --source 10.182.0.2/24 --destination 10.0.0.0/8 --jump DROP" output:

2020-06-22T11:45:50.554 DBG nat/service_iptables.go:169              > "/usr/sbin/iptables -D FORWARD --source 10.182.0.2/24 --destination 172.16.0.0/12 --jump DROP" output:

2020-06-22T11:45:50.561 DBG nat/service_iptables.go:169              > "/usr/sbin/iptables -D FORWARD --source 10.182.0.2/24 --destination 192.168.0.0/16 --jump DROP" output:

2020-06-22T11:45:50.568 DBG nat/service_iptables.go:169              > "/usr/sbin/iptables -D FORWARD --source 10.182.0.2/24 --destination 127.0.0.0/8 --jump DROP" output:

2020-06-22T11:45:50.575 DBG nat/service_iptables.go:169              > "/usr/sbin/iptables -D POSTROUTING --source 10.182.0.2/24 ! --destination 10.182.0.2/24 --jump SNAT --to 178.128.83.126 --table nat" output:

2020-06-22T11:45:50.576 INF nat/service_iptables.go:87               > Deleting NAT/Firewall rules... done
2020-06-22T11:45:50.621 DBG services/wireguard/endpoint/kernelspace/client.go:143 > "ip link del dev myst0" output:

2020-06-22T11:45:52.064 DBG session/pingpong/price_calculator.go:67  > Calculated price 2078444. Time component: 72657, data component: 2005787 
2020-06-22T11:45:54.065 DBG session/pingpong/price_calculator.go:67  > Calculated price 2116778. Time component: 72991, data component: 2043787 
2020-06-22T11:45:56.066 DBG session/pingpong/price_calculator.go:67  > Calculated price 2170029. Time component: 73324, data component: 2096705 
2020-06-22T11:45:58.067 DBG session/pingpong/price_calculator.go:67  > Calculated price 2218658. Time component: 73658, data component: 2145000 
2020-06-22T11:46:00.069 DBG session/pingpong/price_calculator.go:67  > Calculated price 2267172. Time component: 73992, data component: 2193180 
2020-06-22T11:46:00.289 DBG session/manager.go:278                   > Received p2p keepalive ping with SessionID=3d3b6223-9dc8-46b0-b7eb-4617de615a98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant