goreplay icon indicating copy to clipboard operation
goreplay copied to clipboard

Java Middleware decode fail

Open 1528992118 opened this issue 3 years ago • 1 comments

Hello, I have encountered a problem. When using Java middleware as a custom filter for gorpaly, I encountered an error from gorpaly. The specific error is as follows:

[DEBUG][elapsed 155.795µs]: [MIDDLEWARE] command["java -Dgoreplay.config.skipKeyTenantCheck=true -Djasypt.encryptor.password=******* -Dapollo.meta=http://middleware-apollo-configservice.middleware:8080 -Dapollo.bootstrap.namespaces=hpc-group.redis,hpc-group.public-redis -Denv=hpc-uat-9 -Dapollo.cluster=hpc-uat-9 -jar goreplay-java.jar"] failed to decode err: "encoding/hex: invalid byte: U+001B"

I don't quite understand this error. Is it a problem with goreplay processing the output stream of Java middleware? Can this error be ignored? The main purpose of using Java middleware now is to filter out some requests that do not require attention and add an additional HTTP header

1528992118 avatar Jun 05 '23 14:06 1528992118

I have solved this problem , because Java middleware uses a third-party library, which may result in additional output during runtime and requires control over the output of the third-party library

1528992118 avatar Jun 06 '23 15:06 1528992118