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

MongoDB Error #356

Open
Willi4mDev opened this issue May 23, 2024 · 0 comments
Open

MongoDB Error #356

Willi4mDev opened this issue May 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Willi4mDev
Copy link

Describe the bug
Impossible to use mongodb storage type because can't store data

To Reproduce
Steps to reproduce the behavior:

  1. Install eco
  2. Setup mongodb
  3. Connect to server
  4. The error occur

Expected behavior
No error and data save/load correctly

Screenshots
[16:43:17 WARN]: Exception in thread "DefaultDispatcher-worker-1" com.willfp.eco.libs.mongodb.MongoWriteException: Write operation error on server 172.18.0.1:27017. Write error: WriteError{code=11000, message='E11000 duplicate key error collection: ecomongo.uuidprofile index: _id_ dup key: { _id: "2bf85faa-31e9-4a3c-b3b2-7796020d2060" }', details={}}. [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.reactivestreams.client.internal.MongoOperationPublisher.lambda$createSingleWriteRequestMono$27(MongoOperationPublisher.java:475) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.Mono.lambda$onErrorMap$27(Mono.java:3749) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.Mono.lambda$onErrorResume$29(Mono.java:3839) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.MonoNext$NextSubscriber.onError(MonoNext.java:93) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.MonoNext$NextSubscriber.onError(MonoNext.java:93) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.MonoFlatMap$FlatMapMain.secondError(MonoFlatMap.java:241) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.MonoFlatMap$FlatMapInner.onError(MonoFlatMap.java:315) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber.onError(MonoPeekTerminal.java:258) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:201) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.reactivestreams.client.internal.MongoOperationPublisher.lambda$sinkToCallback$33(MongoOperationPublisher.java:520) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.reactivestreams.client.internal.OperationExecutorImpl.lambda$execute$9(OperationExecutorImpl.java:126) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:47) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.operation.AsyncOperationHelper.lambda$exceptionTransformingCallback$17(AsyncOperationHelper.java:330) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.AsyncCallbackSupplier.lambda$whenComplete$1(AsyncCallbackSupplier.java:97) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.RetryingAsyncCallbackSupplier$RetryingCallback.onResult(RetryingAsyncCallbackSupplier.java:118) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:47) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.AsyncCallbackSupplier.lambda$whenComplete$1(AsyncCallbackSupplier.java:97) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:47) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.AsyncCallbackSupplier.lambda$whenComplete$1(AsyncCallbackSupplier.java:97) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.operation.MixedBulkWriteOperation.lambda$executeBulkWriteBatchAsync$9(MixedBulkWriteOperation.java:349) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.AsyncCallbackLoop$LoopingCallback.onResult(AsyncCallbackLoop.java:85) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.AsyncCallbackLoop$LoopingCallback.onResult(AsyncCallbackLoop.java:62) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.LoopState.breakAndCompleteIf(LoopState.java:113) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.operation.MixedBulkWriteOperation.lambda$executeBulkWriteBatchAsync$8(MixedBulkWriteOperation.java:300) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.AsyncCallbackLoop$LoopingCallback.onResult(AsyncCallbackLoop.java:83) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.function.AsyncCallbackLoop$LoopingCallback.onResult(AsyncCallbackLoop.java:62) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.operation.MixedBulkWriteOperation.lambda$executeBulkWriteBatchAsync$7(MixedBulkWriteOperation.java:322) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:47) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor.lambda$executeAsync$0(DefaultServer.java:249) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:47) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.CommandProtocolImpl.lambda$executeAsync$0(CommandProtocolImpl.java:88) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.lambda$sendAndReceiveAsync$1(DefaultConnectionPool.java:774) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.UsageTrackingInternalConnection.lambda$sendAndReceiveAsync$1(UsageTrackingInternalConnection.java:150) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:47) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection.lambda$sendCommandMessageAsync$0(InternalStreamConnection.java:532) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback$MessageCallback.onResult(InternalStreamConnection.java:826) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback$MessageCallback.onResult(InternalStreamConnection.java:789) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection$3.completed(InternalStreamConnection.java:648) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection$3.completed(InternalStreamConnection.java:645) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.AsynchronousChannelStream$BasicCompletionHandler.completed(AsynchronousChannelStream.java:245) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.AsynchronousChannelStream$BasicCompletionHandler.completed(AsynchronousChannelStream.java:228) [16:43:17 WARN]: at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) [16:43:17 WARN]: at java.base/sun.nio.ch.Invoker.invokeDirect(Invoker.java:160) [16:43:17 WARN]: at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:573) [16:43:17 WARN]: at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276) [16:43:17 WARN]: at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.AsynchronousSocketChannelStream$AsynchronousSocketChannelAdapter.read(AsynchronousSocketChannelStream.java:144) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.AsynchronousChannelStream.readAsync(AsynchronousChannelStream.java:122) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.AsynchronousChannelStream.readAsync(AsynchronousChannelStream.java:111) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection.readAsync(InternalStreamConnection.java:645) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection.access$600(InternalStreamConnection.java:93) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:779) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:763) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection$3.completed(InternalStreamConnection.java:648) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.InternalStreamConnection$3.completed(InternalStreamConnection.java:645) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.AsynchronousChannelStream$BasicCompletionHandler.completed(AsynchronousChannelStream.java:245) [16:43:17 WARN]: at eco-6.70.1-all.jar//com.willfp.eco.libs.mongodb.internal.connection.AsynchronousChannelStream$BasicCompletionHandler.completed(AsynchronousChannelStream.java:228) [16:43:17 WARN]: at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) [16:43:17 WARN]: at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:447) [16:43:17 WARN]: at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:195) [16:43:17 WARN]: at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:217) [16:43:17 WARN]: at java.base/sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:306) [16:43:17 WARN]: at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) [16:43:17 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [16:43:17 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [16:43:17 WARN]: at java.base/java.lang.Thread.run(Thread.java:840) [16:43:17 WARN]: Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@5a822556, Dispatchers.IO]

Server Information (please complete the following information):

  • Version: Paper version git-Paper-496 (MC: 1.20.4)
  • Version of plugin and eco: 6.70.1 (and tried with 6.69.2
@Willi4mDev Willi4mDev added the bug Something isn't working label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant