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

[Bug]parse message error: invalid default attr's msg Length #1828

Closed
1 of 2 tasks
shiran opened this issue Nov 23, 2021 · 0 comments · Fixed by #1829
Closed
1 of 2 tasks

[Bug]parse message error: invalid default attr's msg Length #1828

shiran opened this issue Nov 23, 2021 · 0 comments · Fixed by #1829
Assignees
Labels
Milestone

Comments

@shiran
Copy link

shiran commented Nov 23, 2021

What happened

The tubemsg go client will report an error when the data is as follows:{15,1,0,0,1,125,71,252,30,71,0,0,0,1,0,206,100,116,61,49,54,51,55,53,57,48,50,52,52,57,51,48,38,109,115,103,85,85,73,68,61,98,97,97,49,52,101,98,53,45,101,57,100,97,45,52,56,55,56,45,98,101,50,100,45,50,56,53,50,52,99,98,54,49,54,49,99,38,99,110,116,61,49,38,109,116,61,112,98,38,78,111,100,101,73,80,61,49,49,46,49,53,52,46,50,48,57,46,49,55,57,38,114,116,61,49,54,51,55,53,57,48,50,52,52,57,51,53,38,109,61,57,38,116,105,100,61,116,95,115,110,103,95,103,100,116,95,117,110,105,111,110,95,100,105,115,112,108,97,121,95,98,101,102,111,114,101,95,114,101,118,105,101,119,95,114,101,116,114,121,38,98,105,100,61,98,95,115,110,103,95,103,100,116,95,117,110,105,111,110,95,100,105,115,112,108,97,121,95,98,101,102,111,114,101,95,114,101,118,105,101,119,0,0,0,108,1,106,184,0,0,0,102,8,255,202,179,10,16,241,136,192,222,246,233,135,16,24,142,223,150,189,16,32,211,161,128,128,80,40,241,139,179,251,247,8,48,250,160,242,193,221,209,4,56,163,1,27,216,64,19,72,157,4,80,1,88,0,154,1,10,49,53,52,55,51,57,49,52,50,55,160,1,11,168,1,219,80,176,1,225,198,238,140,6,184,1,164,162,212,197,176,144,139,247,147,1,192,1,211,205,155,234,14,15,1}

What you expected to happen

Expect to get the correct tdmsg and no error

How to reproduce

Use follow data parse tdmsg structure: {15,1,0,0,1,125,71,252,30,71,0,0,0,1,0,206,100,116,61,49,54,51,55,53,57,48,50,52,52,57,51,48,38,109,115,103,85,85,73,68,61,98,97,97,49,52,101,98,53,45,101,57,100,97,45,52,56,55,56,45,98,101,50,100,45,50,56,53,50,52,99,98,54,49,54,49,99,38,99,110,116,61,49,38,109,116,61,112,98,38,78,111,100,101,73,80,61,49,49,46,49,53,52,46,50,48,57,46,49,55,57,38,114,116,61,49,54,51,55,53,57,48,50,52,52,57,51,53,38,109,61,57,38,116,105,100,61,116,95,115,110,103,95,103,100,116,95,117,110,105,111,110,95,100,105,115,112,108,97,121,95,98,101,102,111,114,101,95,114,101,118,105,101,119,95,114,101,116,114,121,38,98,105,100,61,98,95,115,110,103,95,103,100,116,95,117,110,105,111,110,95,100,105,115,112,108,97,121,95,98,101,102,111,114,101,95,114,101,118,105,101,119,0,0,0,108,1,106,184,0,0,0,102,8,255,202,179,10,16,241,136,192,222,246,233,135,16,24,142,223,150,189,16,32,211,161,128,128,80,40,241,139,179,251,247,8,48,250,160,242,193,221,209,4,56,163,1,27,216,64,19,72,157,4,80,1,88,0,154,1,10,49,53,52,55,51,57,49,52,50,55,160,1,11,168,1,219,80,176,1,225,198,238,140,6,184,1,164,162,212,197,176,144,139,247,147,1,192,1,211,205,155,234,14,15,1}

Environment

No response

InLong version

master

InLong Component

InLong TubeMQ

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@shiran shiran added the type/bug Something is wrong label Nov 23, 2021
@TszKitLo40 TszKitLo40 self-assigned this Nov 23, 2021
@gosonzhang gosonzhang added this to the 0.12.0 milestone Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants