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

TCC 模式, 不能接收到confirm消息 #4

Open
Morzy opened this issue Dec 4, 2024 · 0 comments
Open

TCC 模式, 不能接收到confirm消息 #4

Morzy opened this issue Dec 4, 2024 · 0 comments

Comments

@Morzy
Copy link

Morzy commented Dec 4, 2024

node index 后, 日志只有

calling trans out
TransOutTry
calling trans in
TransInTry

DTM docker 镜像提示, [connect ](connect: connection refused)

2024-12-05 01:20:55 {"level":"error","ts":"2024-12-04T17:20:55.762Z","caller":"dtmsvr/trans_process.go:64","msg":"processInner got error: your http/grpc result should be specified as in:\nhttp://d.dtm.pub/practice/arch.html#proto\nunkown result will be retried: Post "http://localhost:4005/api/TransInConfirm?branch_id=02&gid=GBrA53TLuWkySdE9evDUvX&op=confirm&trans_type=tcc\": dial tcp [::1]:4005: connect: connection refused","stacktrace":"github.com/dtm-labs/dtm/dtmsvr.(*TransGlobal).processInner.func1\n\t/app/dtm/dtmsvr/trans_process.go:64\ngithub.com/dtm-labs/dtm/dtmsvr.(*TransGlobal).processInner\n\t/app/dtm/dtmsvr/trans_process.go:75\ngithub.com/dtm-labs/dtm/dtmsvr.(*TransGlobal).process\n\t/app/dtm/dtmsvr/trans_process.go:46\ngithub.com/dtm-labs/dtm/dtmsvr.(*TransGlobal).Process\n\t/app/dtm/dtmsvr/trans_process.go:23\ngithub.com/dtm-labs/dtm/dtmsvr.CronTransOnce\n\t/app/dtm/dtmsvr/cron.go:37\ngithub.com/dtm-labs/dtm/dtmsvr.CronExpiredTrans\n\t/app/dtm/dtmsvr/cron.go:45"}
2024-12-05 01:20:55 {"level":"error","ts":"2024-12-04T17:20:55.762Z","caller":"dtmsvr/cron.go:77","msg":"----recovered panic your http/grpc result should be specified as in:\nhttp://d.dtm.pub/practice/arch.html#proto\nunkown result will be retried: Post "http://localhost:4005/api/TransInConfirm?branch_id=02&gid=GBrA53TLuWkySdE9evDUvX&op=confirm&trans_type=tcc\": dial tcp [::1]:4005: connect: connection refused\ngoroutine 99 [running]:\nruntime/debug.Stack()\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0x65\ngithub.com/dtm-labs/dtm/dtmsvr.handlePanic(0x0)\n\t/app/dtm/dtmsvr/cron.go:77 +0x45\npanic({0x218a320, 0xc001000220})\n\t/usr/local/go/src/runtime/panic.go:838 +0x207\ngithub.com/dtm-labs/dtm/client/dtmcli/dtmimp.PanicIf(...)\n\t/app/dtm/client/dtmcli/dtmimp/utils.go:75\ngithub.com/dtm-labs/dtm/dtmsvr.CronTransOnce()\n\t/app/dtm/dtmsvr/cron.go:38 +0x187\ngithub.com/dtm-labs/dtm/dtmsvr.CronExpiredTrans(0xffffffffffffffff)\n\t/app/dtm/dtmsvr/cron.go:45 +0x39\ncreated by github.com/dtm-labs/dtm/dtmsvr/entry.Main\n\t/app/dtm/dtmsvr/entry/main.go:62 +0x3e5\n","stacktrace":"github.com/dtm-labs/dtm/dtmsvr.handlePanic\n\t/app/dtm/dtmsvr/cron.go:77\nruntime.gopanic\n\t/usr/local/go/src/runtime/panic.go:838\ngithub.com/dtm-labs/dtm/client/dtmcli/dtmimp.PanicIf\n\t/app/dtm/client/dtmcli/dtmimp/utils.go:75\ngithub.com/dtm-labs/dtm/dtmsvr.CronTransOnce\n\t/app/dtm/dtmsvr/cron.go:38\ngithub.com/dtm-labs/dtm/dtmsvr.CronExpiredTrans\n\t/app/dtm/dtmsvr/cron.go:45"}

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

No branches or pull requests

1 participant