MoonBox icon indicating copy to clipboard operation
MoonBox copied to clipboard

月光宝盒:无侵入的流量录制与回放平台 A server-side traffic capture and replay platform with noninvasive

Results 30 MoonBox issues
Sort by recently updated
recently updated
newest added

反序列化失败类:com.baomidou.mybatisplus.core.conditions.segments.MergeSegments 异常栈: ``` com.alibaba.jvm.sandbox.repeater.plugin.core.serialize.SerializeException: [Error-1002]-hessian-deserialize-error at com.alibaba.jvm.sandbox.repeater.plugin.core.serialize.HessianSerializer.deserialize(HessianSerializer.java:67) at com.alibaba.jvm.sandbox.repeater.plugin.core.serialize.AbstractSerializerAdapter.deserialize(AbstractSerializerAdapter.java:56) at com.alibaba.jvm.sandbox.repeater.plugin.core.wrapper.SerializerWrapper.inTimeDeserialize(SerializerWrapper.java:169) at com.vivo.jvm.sandbox.moonbox.module.MoonboxRepeaterTask.convertWrapperAndMeta(MoonboxRepeaterTask.java:198) at com.vivo.jvm.sandbox.moonbox.module.MoonboxRepeaterTask.lambda$pullAndDispatch$1(MoonboxRepeaterTask.java:124) at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: com.caucho.hessian.io.HessianFieldException: com.baomidou.mybatisplus.core.conditions.segments.MergeSegments.groupBy: expected list at...

![image](https://github.com/vivo/MoonBox/assets/17755710/a3b44224-3af1-4d73-b136-8e7ed8c3f9c1) 运行报错提示0 tar (child): sandboxDownLoad.tar: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable:...

使用时发现,guava-cache 插件在录制流量时会有序列化问题, invokeType:GUAVA_CACHE, invocation:Invocation{uri=GUAVA_CACHE://com.google.common.cache.LocalCache$LocalLoadingCache/get(com.datastax.driver.core.CodecRegistry.CacheKey)} 具体错误日志如下: [http-nio-8080-exec-9] ERROR com.alibaba.jvm.sandbox.repeater.plugin.core.impl.api.DefaultInvocationListener - Error occurred serialize, stack:[{"className":"com.datastax.driver.core.CodecRegistry","fileName":"CodecRegistry.java","lineNumber":571,"methodName":"lookupCodec","nativeMethod":false},{"className":"com.datastax.driver.core.CodecRegistry","fileName":"CodecRegistry.java","lineNumber":495,"methodName":"codecFor","nativeMethod":false},{"className":"com.datastax.driver.core.AbstractGettableByIndexData","fileName":"AbstractGettableByIndexData.java","lineNumber":68,"methodName":"codecFor","nativeMethod":false},{"className":"com.datastax.driver.core.AbstractGettableByIndexData","fileName":"AbstractGettableByIndexData.java","lineNumber":307,"methodName":"getObject","nativeMethod":false},{"className":"com.datastax.driver.core.AbstractGettableData","fileName":"AbstractGettableData.java","lineNumber":29,"methodName":"getObject","nativeMethod":false},{"className":"com.sun.proxy.$Proxy249","lineNumber":-1,"methodName":"findById","nativeMethod":false},{"className":"com.sun.proxy.$Proxy249","lineNumber":-1,"methodName":"findById","nativeMethod":false},{"className":"com.xxxx.impl.ReleaseConfigServiceImpl","fileName":"ReleaseConfigServiceImpl.java","lineNumber":206,"methodName":"isFeatureReleasedByCountry","nativeMethod":false},{"className":"com.xxxx.ReleaseConfigServiceImpl","fileName":"ReleaseConfigServiceImpl.java","lineNumber":178,"methodName":"isFeatureReleased","nativeMethod":false},{"className":"com.xxxxx.ReleaseConfigServiceImpl","fileName":"ReleaseConfigServiceImpl.java","lineNumber":62,"methodName":"isDeviceTrialReleased","nativeMethod":false},{"className":"com.xxxxxx.DeviceServiceImpl","fileName":"DeviceServiceImpl.java","lineNumber":389,"methodName":"isTrialQualified","nativeMethod":false},{"className":"com.xxxxxx","fileName":"xxxxx.java","lineNumber":90,"methodName":"fillDeviceTrialInfo","nativeMethod":false},{"className":"com.xxxxxx","fileName":"xxxxxl.java","lineNumber":234,"methodName":"getDevicePackagesByAccount","nativeMethod":false},{"className":"com.xxxxxxxx","fileName":"xxxxx.java","lineNumber":80,"methodName":"getDevicesWithxxxxBatch$original$60vOZtcD","nativeMethod":false},{"className":"com.xxxxxx","fileName":"xxxx.java","lineNumber":-1,"methodName":"getDevicesWithxxxxBatch$original$60vOZtcD$accessor$0wV7a63B","nativeMethod":false},{"className":"com.xxxxxxx$auxiliary$kM2lAGUe","lineNumber":-1,"methodName":"call","nativeMethod":false},{"className":"com.xxxxxxx","fileName":"DevicePackageControllerV2.java","lineNumber":-1,"methodName":"getDevicesWithxxxxxBatch","nativeMethod":false},{"className":"com.xxxxxxxx","fileName":"AuthenticationAspect.java","lineNumber":78,"methodName":"handleAuthentication","nativeMethod":false},{"className":"com.xxxxxxxx","fileName":"HttpRequestLogFilter.java","lineNumber":68,"methodName":"doFilterInternal","nativeMethod":false},{"className":"java.lang.Thread","fileName":"Thread.java","lineNumber":750,"methodName":"run","nativeMethod":false}], reqTypes:[com.datastax.driver.core.CodecRegistry.CacheKey], respType: com.datastax.driver.core.TypeCodec.MapCodec com.alibaba.jvm.sandbox.repeater.plugin.core.serialize.SerializeException: [Error-1001]-hessian-serialize-error 请问这个现在应该需要怎么修复

jvm-sandbox已经多次更新,修复了bug和优化。但是项目中的sandbox 带传参-T 这个版本,在sandbox中没找到对应的版本。 moonbox的sandbox是否为二次开发?如果是,是否可提供源码用于升级sandbox版本?

下载了1.2.0 tag 版本的代码,在本地执行 mvn clean install 的时候报错如下: Non-resolvable parent POM for com.vivo.jvm.sandbox:tars-plugin:[unknown-version]: Could not find artifact com.vivo.jvm.sandbox:repeater-plugins:pom:1.0.0-SNAPSHOT 请问,parent 里的这个 plugins 要怎么生成?

error: moonbox-elasticsearch | Invalid -Xlog option '-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m', see error log for details. moonbox-elasticsearch | Error: Could not create the Java Virtual Machine. moonbox-elasticsearch | Error: A fatal exception has occurred....

help wanted

录制接口,header中存在Content-Length 24 回放接口,抛异常:

help wanted

直接使用 jvm-sandbox-repeater 的时候,发现其对dubbo 的录制,依赖于 Filter 的 onResponse 这个钩子方法。但是 dubbo 2.6 版本中没有这个方法,所以录制会失败。 请问 moonbox 可以录制 dubbo 2.6 吗?我看它对 dubbo 的录制实现和 repeater 的还是有挺多不一样的地方,尚不了解其应用范围。 请了解的小伙伴告知下哈

按照 docker 部署手册安装了moonbox, 在试用上传agent 的功能时,直接用代码工程目录下 local-agent 下的dand-stagble-bin.tar 上传替换 sandbox-agent,前端显示报错如下: rror: 413 Request Entity Too Large 413 Request Entity Too Large nginx/1.25.3

module在加载的时候,会报下面的错,有没有人遇到过 10:31:40.164 [moonbox-thread-pool-1] INFO com.vivo.jvm.sandbox.moonbox.module.MoonboxModule - start to initialize repeater plugin type:APACHE_HTTP_CLIENT,taskRunId:rc_id_11598b6960082f0433533c471a8b98e7 10:31:40.164 [moonbox-thread-pool-1] INFO com.vivo.jvm.sandbox.moonbox.module.MoonboxModule - enable plugin apache-http-client success 10:31:40.320 [moonbox-thread-pool-1] INFO com.alibaba.jvm.sandbox.core.manager.impl.DefaultModuleEventWatcher - watch=1009 in module=moonbox found...