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

ERROR: invalid byte sequence for encoding "UTF8": 0x00 #1

Open
baigreen opened this issue Jan 25, 2021 · 1 comment
Open

ERROR: invalid byte sequence for encoding "UTF8": 0x00 #1

baigreen opened this issue Jan 25, 2021 · 1 comment

Comments

@baigreen
Copy link

baigreen commented Jan 25, 2021

I think the problem due to the string ""key":"\u0000�initialized"".
here is the logs.

fabric version : 2.2.1

2021/01/25 03:42:23
INSERT INTO "transaction" ("channel_id","block_num","tx_num","tx_hash","chaincode_name","tx_type","tx_filter","tx_response","read_set","write_set","read_key_list","write_key_list","chaincode_function","chaincode_function_parameters","create_msp_id","endorser_msp_id","endorser_signature","created_at","updated_at") VALUES (1,6,0,'9d76aa6269a186f424b1839530cea3fa8a9f2af34dcfba975d15dc97524b1e0f','sacc','ENDORSER_TRANSACTION',10,200,'[{"namespace":"sacc","set":[{"key":"\u0000�initialized","Version":{"block_num":4,"tx_num":0}}]}]','[{"namespace":"sacc","set":[{"key":"b","is_delete":false,"value":"2exit00"}]}]',NULL,NULL,'set','b,2exit00','Org1MSP','Org1MSP,Org1MSP','[{"cerficate":"-----BEGIN CERTIFICATE-----\nMIICEDCCAbegAwIBAgIRAP6HsIHsA6vSJHsNwraWujQwCgYIKoZIzj0EAwIwZzEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xEzARBgNVBAoTCm9yZzEuYmsuY24xFjAUBgNVBAMTDWNhLm9yZzEu\nYmsuY24wHhcNMjEwMTIyMDE1NTAwWhcNMzEwMTIwMDE1NTAwWjBeMQswCQYDVQQG\nEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNj\nbzENMAsGA1UECxMEcGVlcjETMBEGA1UEAxMKcGVlcjAtb3JnMTBZMBMGByqGSM49\nAgEGCCqGSM49AwEHA0IABCjY+hiQh4yaqWgu29NxPm7uVth2lTYhILuf0+FKROl5\nohLQiNravHlgrQRD2cdB1ZWNxjxnoOkaMl5DyaOKtByjTTBLMA4GA1UdDwEB/wQE\nAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIHAr+Ejw8J64oLI0yEnqIwK0\n8Agf26JFtS3EhgLySCWWMAoGCCqGSM49BAMCA0cAMEQCIFXbiO/a7FZ+G1jJwDs1\nzgS/gFYVauN/g6mf62kQ/FTpAiAJ/gvIUn+Lon8R1vLMkBW7jCqPYRhdFNCv0QG9\nFJRyUQ==\n-----END CERTIFICATE-----\n","msp_id":"Org1MSP","signature":"3045022100e5d912ee49d84bdef6ac408d3e6acb7c9a9127499dc1d73510d94e466a42021b022000ead8e779a2b82738207f97a33b1f6fc1094fc778e9641fb80aa86c444f10c1"},{"cerficate":"-----BEGIN CERTIFICATE-----\nMIICEDCCAbegAwIBAgIRAP6HsIHsA6vSJHsNwraWujQwCgYIKoZIzj0EAwIwZzEL\nMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG\ncmFuY2lzY28xEzARBgNVBAoTCm9yZzEuYmsuY24xFjAUBgNVBAMTDWNhLm9yZzEu\nYmsuY24wHhcNMjEwMTIyMDE1NTAwWhcNMzEwMTIwMDE1NTAwWjBeMQswCQYDVQQG\nEwJVUzETMBEGA1
UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNj\nbzENMAsGA1UECxMEcGVlcjETMBEGA1UEAxMKcGVlcjAtb3JnMTBZMBMGByqGSM49\nAgEGCCqGSM49AwEHA0IABCjY+hiQh4yaqWgu29NxPm7uVth2lTYhILuf0+FKROl5\nohLQiNravHlgrQRD2cdB1ZWNxjxnoOkaMl5DyaOKtByjTTBLMA4GA1UdDwEB/wQE\nAwIHgDAMBgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIHAr+Ejw8J64oLI0yEnqIwK0\n8Agf26JFtS3EhgLySCWWMAoGCCqGSM49BAMCA0cAMEQCIFXbiO/a7FZ+G1jJwDs1\nzgS/gFYVauN/g6mf62kQ/FTpAiAJ/gvIUn+Lon8R1vLMkBW7jCqPYRhdFNCv0QG9\nFJRyUQ==\n-----END CERTIFICATE-----\n","msp_id":"Org1MSP","signature":"3045022100e95efd53a30c00989e70c95a98f492d1dad149dd1819359a902a66ebebb9562f022020b212943fc32ad95b1dc51d9901297374805767916d1b378a7fcd3c82cabe03"}]','2021-01-25 03:15:20','2021-01-25 03:42:23.059') RETURNING "id"

@wjbbig
Copy link
Collaborator

wjbbig commented Jan 28, 2021

The latest update has fixed the problem. Please check it.

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

2 participants