goreplay
goreplay copied to clipboard
Java Middleware decode fail
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
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