Onlyoffice Nextcloud connector cant get files: HTTP 403 Access denied - nextcloud

Environment:
we run Onlyoffice with Docker, my docker-compose.yml file is:
version: "2.0"
services:
Onlyoffice5.2.3.64:
image: 'onlyoffice/documentserver:5.2.3.64'
restart: always
volumes:
- '/etc/selfmade/docker/onlyoffice/5.2.3.64_default.json:/etc/onlyoffice/documentserver/default.json'
ports:
- '80:80'
Any requests are forwarded by our nginx proxy, the proxy delivers https.
The Nextcloud runs on a stand-alone system with an apache2 web server, there are no special deny rules configured. Only .htaccess files are included, they are not modified.
Nextcloud version: 14.0.3
App version: 2.0.4 (installed by Store in Nextcloud)
Action:
Pressing save
Problem:
Onlyoffice5.2.3.64_1 | ==> /var/log/onlyoffice/documentserver/converter/out.log <==
Onlyoffice5.2.3.64_1 | [2018-11-14 10:49:46.970] [ERROR] nodeJS - error downloadFile:url=https://onlyoffice.domain.tld/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.V1-30DUaR5kUHFN3zxuU-oHGmtO9DQE0BtTYAcxVVco;attempt=1;code:undefined;connect:undefined;(id=conv_check_1738130868_docx)
Onlyoffice5.2.3.64_1 | Error: Error response: statusCode:403 ;body:
Onlyoffice5.2.3.64_1 | {"message":"Access denied"}
Onlyoffice5.2.3.64_1 | at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:250:18)
Onlyoffice5.2.3.64_1 | at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:185:22)
Onlyoffice5.2.3.64_1 | at emitTwo (events.js:126:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:214:7)
Onlyoffice5.2.3.64_1 | at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1161:10)
Onlyoffice5.2.3.64_1 | at emitOne (events.js:116:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:211:7)
Onlyoffice5.2.3.64_1 | at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1083:12)
Onlyoffice5.2.3.64_1 | at Object.onceWrapper (events.js:313:30)
Onlyoffice5.2.3.64_1 | at emitNone (events.js:111:20)
Onlyoffice5.2.3.64_1 | [2018-11-14 10:49:48.021] [ERROR] nodeJS - error downloadFile:url=https://onlyoffice.domain.tld/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.V1-30DUaR5kUHFN3zxuU-oHGmtO9DQE0BtTYAcxVVco;attempt=2;code:undefined;connect:undefined;(id=conv_check_1738130868_docx)
Onlyoffice5.2.3.64_1 | Error: Error response: statusCode:403 ;body:
Onlyoffice5.2.3.64_1 | {"message":"Access denied"}
Onlyoffice5.2.3.64_1 | at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:250:18)
Onlyoffice5.2.3.64_1 | at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:185:22)
Onlyoffice5.2.3.64_1 | at emitTwo (events.js:126:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:214:7)
Onlyoffice5.2.3.64_1 | at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1161:10)
Onlyoffice5.2.3.64_1 | at emitOne (events.js:116:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:211:7)
Onlyoffice5.2.3.64_1 | at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1083:12)
Onlyoffice5.2.3.64_1 | at Object.onceWrapper (events.js:313:30)
Onlyoffice5.2.3.64_1 | at emitNone (events.js:111:20)
Onlyoffice5.2.3.64_1 | [2018-11-14 10:49:49.077] [ERROR] nodeJS - error downloadFile:url=https://onlyoffice.domain.tld/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.V1-30DUaR5kUHFN3zxuU-oHGmtO9DQE0BtTYAcxVVco;attempt=3;code:undefined;connect:undefined;(id=conv_check_1738130868_docx)
Onlyoffice5.2.3.64_1 | Error: Error response: statusCode:403 ;body:
Onlyoffice5.2.3.64_1 | {"message":"Access denied"}
Onlyoffice5.2.3.64_1 | at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:250:18)
Onlyoffice5.2.3.64_1 | at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:185:22)
Onlyoffice5.2.3.64_1 | at emitTwo (events.js:126:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:214:7)
Onlyoffice5.2.3.64_1 | at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1161:10)
Onlyoffice5.2.3.64_1 | at emitOne (events.js:116:13)
Onlyoffice5.2.3.64_1 | at Request.emit (events.js:211:7)
Onlyoffice5.2.3.64_1 | at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1083:12)
Onlyoffice5.2.3.64_1 | at Object.onceWrapper (events.js:313:30)
Onlyoffice5.2.3.64_1 | at emitNone (events.js:111:20)
And an ngrep tell me:
T <ip onlyoffice>:80 -> <load balancer>:52070 [AP]
HTTP/1.1 200 OK..Server: nginx..Date: Wed, 14 Nov 2018 10:49:50 GMT..Content-Type: text/xml; charset=UTF-8..Content-Length: 80..Connection: close..Vary: Accept-Encoding..X-Powered-By: Express..ETag: W/"50-z
nhOfxspmYa/tCyRfpwopdInS1U"....<?xml version="1.0" encoding="utf-8"?><FileResult><Error>-4</Error></FileResult>

'/etc/selfmade/docker/onlyoffice/5.2.3.64_default.json:/etc/onlyoffice/documentserver/default.json'
Please also map /etc/onlyoffice/documentserver/local.json
It should contain your secret key, as the value from local.json will overwrite the value from default.json

Related

com.android.ddmlib.InstallException: An established connection was aborted by the software in host machine

I am getting this error while trying to test a React Native project on a physical device (Redmi Note 10) using yarn from VSCode terminal.
Note 1: Previous versions of the app has been tested numerous times on the same device before, successfully.
Note 2: The current version of the app is running (read: yielding expected results while testing) on a different device (Samsung Galaxy 21A).
Here's the error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:installDebug'.
> java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: An established connection was aborted by the software in your host machine
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m 7s
at makeError ([app_folder]\node_modules\execa\index.js:174:9)
at [app_folder]\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async runOnAllDevices ([app_folder]\node_modules\#react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction ([app_folder]\node_modules\#react-native-community\cli\build\index.js:192:9)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Here's the partial stack trace:
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
[Device]: Error during Sync: An established connection was aborted by the software in your host machine
Unable to install [app_folder]\android\app\build\outputs\apk\debug\app-debug.apk
com.android.ddmlib.InstallException: An established connection was aborted by the software in your host machine
at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1150)
at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1112)
at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1101)
at com.android.build.gradle.internal.testing.ConnectedDevice.installPackage(ConnectedDevice.java:127)
at com.android.build.gradle.internal.tasks.InstallVariantTask.install(InstallVariantTask.java:159)
at com.android.build.gradle.internal.tasks.InstallVariantTask.lambda$doTaskAction$1(InstallVariantTask.java:96)
at com.android.builder.testing.api.DeviceProvider.use(DeviceProvider.java:53)
at com.android.build.gradle.internal.tasks.InstallVariantTask.doTaskAction(InstallVariantTask.java:91)
at com.android.build.gradle.internal.tasks.NonIncrementalTask$taskAction$$inlined$recordTaskAction$1.invoke(BaseTask.kt:63)
at com.android.build.gradle.internal.tasks.Blocks.recordSpan(Blocks.java:51)
at com.android.build.gradle.internal.tasks.NonIncrementalTask.taskAction(NonIncrementalTask.kt:94)
at java.base#11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base#11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base#11.0.8/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base#11.0.8/java.lang.reflect.Method.invoke(Method.java:566)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.TaskExecution$2.run(TaskExecution.java:239)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:224)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:207)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:190)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:168)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:61)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:42)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:188)
at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)
at org.gradle.internal.Either$Right.fold(Either.java:175)
at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:38)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:27)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:109)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)
at java.base#11.0.8/java.util.Optional.orElseGet(Optional.java:369)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:89)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:93)
at java.base#11.0.8/java.util.Optional.orElseGet(Optional.java:369)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:93)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.withWorkspace(TaskExecution.java:284)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:142)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:131)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77) at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:402)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:389)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:382)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:368)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at java.base#11.0.8/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base#11.0.8/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:61)
at java.base#11.0.8/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
at java.base/sun.nio.ch.SocketDispatcher.write0(Native Method)
at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)
at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)
at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)
at com.android.ddmlib.AdbHelper.write(AdbHelper.java:1126)
at com.android.ddmlib.SyncService.doPushFile(SyncService.java:711)
at com.android.ddmlib.SyncService.pushFile(SyncService.java:427)
at com.android.ddmlib.internal.DeviceImpl.syncPackageToDevice(DeviceImpl.java:1234)
at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1134)
... 134 more

Facing problem while running api in Mule 3

STILL NOT SOLVED, DOES ANYONE KNOW HOW TO SOLVE IT. the application must be running in mule 3.9.1. thanks everyone
I did a RAML design in anypoint studio and that works fine with runtime 4.3.
However, this same design must also run in runtime 3.9.1. I made some changes so the apikit in 3.9.1 can creates the implementation flow, so far so good.
The issue is when I try to run the project (without any further implementations) I get an error:
Raml parser uncaught exception
How can I fix this? I tried with the same raml design in version 3.9.3 and it works fine on that.
Below I will add the errors console:
Caused by: java.lang.NullPointerException
at org.mule.modules.oauth2.provider.service.StoreCleaningService.dispose(StoreCleaningService.java:84) ~[mule-module-security-oauth2-provider-1.7.5.jar:?]
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202]
at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:230) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
... 36 more
INFO 2022-07-06 13:41:55,161 [main] org.mule.config.spring.MuleArtifactContext: Closing org.mule.config.spring.MuleArtifactContext#59371066: startup date [Wed Jul 06 13:41:52 CEST 2022]; root of context hierarchy
ERROR 2022-07-06 13:41:55,161 [main] org.mule.module.launcher.application.DefaultMuleApplication: null
org.mule.module.apikit.exception.ApikitRuntimeException: Invalid API descriptor -- errors found: 1
Raml parser uncaught exception: org.raml.yagi.framework.nodes.StringNodeImpl cannot be cast to org.raml.yagi.framework.nodes.KeyValueNode
at org.mule.module.apikit.parser.ParserWrapperV2.validate(ParserWrapperV2.java:73) ~[mule-module-apikit-3.9.1.jar:?]
at org.mule.module.apikit.ParserService.validateRaml(ParserService.java:86) ~[mule-module-apikit-3.9.1.jar:?]
at org.mule.module.apikit.AbstractConfiguration.initialise(AbstractConfiguration.java:112) ~[mule-module-apikit-3.9.1.jar:?]
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202]
at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:230) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.phases.MuleContextInitialisePhase.applyLifecycle(MuleContextInitialisePhase.java:71) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:108) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:78) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:146) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:134) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.registry.AbstractRegistry.fireLifecycle(AbstractRegistry.java:150) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:116) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:177) ~[mule-module-spring-config-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:100) ~[mule-module-spring-config-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:155) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:135) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:172) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.9.1.jar:?]
INFO 2022-07-06 13:41:55,171 [main] org.mule.module.launcher.application.DefaultMuleApplication: App 'test-3.9.1' never started, nothing to dispose of
INFO StatusLogger Found logging config for application 'test-3.9.1' at 'file:/C:/Local/mule3-workspace/.mule/apps/test-3.9.1/classes/log4j2.xml'
INFO StatusLogger Log4j appears to be running in a Servlet environment, but there's no log4j-web module available. If you want better web container support, please add the log4j-web JAR to your web archive or server lib directory.
#4e25154f,component=Loggers,name=,subtype=RingBuffer, org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader#4e25154f,component=Loggers,name=org.mule,subtype=RingBuffer, org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader#4e25154f,component=Loggers,name=org.jetel,subtype=RingBuffer, org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader#4e25154f,component=Loggers,name=Tracking,subtype=RingBuffer, org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader#4e25154f,component=Loggers,name=com.mulesoft,subtype=RingBuffer, org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader#4e25154f,component=Loggers,name=org.springframework.beans.factory,subtype=RingBuffer, org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader#4e25154f,component=Loggers,name=org.apache,subtype=RingBuffer, org.apache.logging.log4j2:type=sun.misc.Launcher$AppClassLoader#4e25154f,component=Loggers,name=org.apache.cxf,subtype=RingBuffer]
TRACE StatusLogger Using DummyNanoClock for nanosecond timestamps.
DEBUG StatusLogger Reconfiguration complete for context[name=test-3.9.1] at URI C:\Local\mule3-workspace\.mule\apps\test-3.9.1\classes\log4j2.xml (org.mule.module.launcher.log4j2.MuleLoggerContext#4458ecb8) with optional ClassLoader: null
DEBUG StatusLogger Shutdown hook enabled. Registering a new one.
DEBUG StatusLogger LoggerContext[name=test-3.9.1, org.mule.module.launcher.log4j2.MuleLoggerContext#4458ecb8] started OK.
ERROR 2022-07-06 13:41:55,755 [main] org.mule.module.launcher.DefaultArchiveDeployer:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Failed to deploy artifact 'test-3.9.1', see below +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
org.mule.module.launcher.DeploymentInitException: ApikitRuntimeException: Invalid API descriptor -- errors found: 1
Raml parser uncaught exception: org.raml.yagi.framework.nodes.StringNodeImpl cannot be cast to org.raml.yagi.framework.nodes.KeyValueNode
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:220) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:64) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:137) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.artifact.ArtifactWrapper.init(ArtifactWrapper.java:59) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:72) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:283) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:155) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:135) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:172) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.9.1.jar:?]
Caused by: org.mule.api.config.ConfigurationException: Failed to invoke lifecycle phase "initialise" on object: org.mule.module.apikit.Configuration#3fda8dae (org.mule.api.lifecycle.InitialisationException) (org.mule.api.config.ConfigurationException)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:210) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
... 15 more
Caused by: org.mule.api.config.ConfigurationException: Failed to invoke lifecycle phase "initialise" on object: org.mule.module.apikit.Configuration#3fda8dae (org.mule.api.lifecycle.InitialisationException)
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:102) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:210) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
... 15 more
Caused by: org.mule.api.lifecycle.InitialisationException: Failed to invoke lifecycle phase "initialise" on object: org.mule.module.apikit.Configuration#3fda8dae
at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:126) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:177) ~[mule-module-spring-config-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:100) ~[mule-module-spring-config-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:210) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
... 15 more
Caused by: org.mule.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "initialise" on object: org.mule.module.apikit.Configuration#3fda8dae
at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:243) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.phases.MuleContextInitialisePhase.applyLifecycle(MuleContextInitialisePhase.java:71) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:108) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:78) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:146) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:134) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.registry.AbstractRegistry.fireLifecycle(AbstractRegistry.java:150) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:116) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:177) ~[mule-module-spring-config-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:100) ~[mule-module-spring-config-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:102) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:54) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:210) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
... 15 more
Caused by: org.mule.module.apikit.exception.ApikitRuntimeException: Invalid API descriptor -- errors found: 1
Raml parser uncaught exception: org.raml.yagi.framework.nodes.StringNodeImpl cannot be cast to org.raml.yagi.framework.nodes.KeyValueNode
at org.mule.module.apikit.parser.ParserWrapperV2.validate(ParserWrapperV2.java:73) ~[mule-module-apikit-3.9.1.jar:?]
at org.mule.module.apikit.ParserService.validateRaml(ParserService.java:86) ~[mule-module-apikit-3.9.1.jar:?]
at org.mule.module.apikit.AbstractConfiguration.initialise(AbstractConfiguration.java:112) ~[mule-module-apikit-3.9.1.jar:?]
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202]
at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:230) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.phases.MuleContextInitialisePhase.applyLifecycle(MuleContextInitialisePhase.java:71) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:108) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:78) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:146) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:134) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.registry.AbstractRegistry.fireLifecycle(AbstractRegistry.java:150) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:116) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:177) ~[mule-module-spring-config-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:100) ~[mule-module-spring-config-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AutoConfigurationBuilder.autoConfigure(AutoConfigurationBuilder.java:102) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AutoConfigurationBuilder.doConfigure(AutoConfigurationBuilder.java:54) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) ~[mule-core-3.9.1-20220127.jar:3.9.1-20220127]
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:210) ~[mule-module-launcher-3.9.1-20220127.jar:3.9.1-20220127]
... 15 more
INFO 2022-07-06 13:41:55,755 [main] org.mule.module.launcher.DeploymentDirectoryWatcher:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Mule is up and kicking (every 5000ms) +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
INFO 2022-07-06 13:41:55,762 [main] org.mule.module.launcher.StartupSummaryDeploymentListener:
**********************************************************************
* - - + DOMAIN + - - * - - + STATUS + - - *
**********************************************************************
* default * DEPLOYED *
**********************************************************************
*******************************************************************************************************
* - - + APPLICATION + - - * - - + DOMAIN + - - * - - + STATUS + - - *
*******************************************************************************************************
* test-3.9.1 * default * FAILED *
*******************************************************************************************************
DEBUG StatusLogger Stopping LoggerContext[name=test-3.9.1, org.mule.module.launcher.log4j2.MuleLoggerContext#589fb74d]...
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=test-3.9.1]
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=test-3.9.1,component=StatusLogger]
TRACE StatusLogger Unregistering 1 MBeans: [org.apache.logging.log4j2:type=test-3.9.1,component=ContextSelector]
TRACE StatusLogger Unregistering 10 MBeans: [org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=Tracking, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.apache, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.springframework.beans.factory, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.apache.cxf, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.jetel, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=com.mulesoft.mule.transport.jdbc, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.mule, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=com.mulesoft, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.mule.module.http.internal.HttpMessageLogger]
TRACE StatusLogger Unregistering 2 MBeans: [org.apache.logging.log4j2:type=test-3.9.1,component=Appenders,name=Forced-Console, org.apache.logging.log4j2:type=test-3.9.1,component=Appenders,name=file]
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=test-3.9.1,component=AsyncAppenders,name=*'
TRACE StatusLogger Unregistering but no MBeans found matching 'org.apache.logging.log4j2:type=test-3.9.1,component=AsyncLoggerRingBuffer'
TRACE StatusLogger Unregistering 10 MBeans: [org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=Tracking,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=com.mulesoft,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.jetel,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.springframework.beans.factory,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.mule,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.apache.cxf,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.mule.module.http.internal.HttpMessageLogger,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=org.apache,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=com.mulesoft.mule.transport.jdbc,subtype=RingBuffer, org.apache.logging.log4j2:type=test-3.9.1,component=Loggers,name=,subtype=RingBuffer]
DEBUG StatusLogger PluginManager 'Converter' found 44 plugins
TRACE StatusLogger XmlConfiguration notifying ReliabilityStrategies that appenders will be stopped.
TRACE StatusLogger XmlConfiguration stopping remaining Appenders.
DEBUG StatusLogger Shutting down RollingFileManager C:\Local\mule3-workspace\.mule\logs\test-3.9.1.log
DEBUG StatusLogger Shutting down RollingFileManager C:\Local\mule3-workspace\.mule\logs\test-3.9.1.log
DEBUG StatusLogger All asynchronous threads have terminated
DEBUG StatusLogger RollingFileManager shutdown completed with status true
DEBUG StatusLogger Shut down RollingFileManager C:\Local\mule3-workspace\.mule\logs\test-3.9.1.log, all resources released: true
DEBUG StatusLogger Appender file stopped with status true
DEBUG StatusLogger Appender Forced-Console stopped with status true
TRACE StatusLogger XmlConfiguration stopped 2 remaining Appenders.
TRACE StatusLogger XmlConfiguration cleaning Appenders from 11 LoggerConfigs.
DEBUG StatusLogger Stopped XmlConfiguration[location=C:\Local\mule3-workspace\.mule\apps\test-3.9.1\classes\log4j2.xml] OK
DEBUG StatusLogger Stopped LoggerContext[name=test-3.9.1, org.mule.module.launcher.log4j2.MuleLoggerContext#4458ecb8] with status true
Update about the issue, so even after updating the apikit module in the pom and manually to 3.9.3 it's still showing in the error logs the next;
After updating the apikit in the pom I saw that it still not using the new version;
Caused by: org.mule.module.apikit.exception.ApikitRuntimeException: Invalid API descriptor -- errors found: 1
Raml parser uncaught exception: org.raml.yagi.framework.nodes.StringNodeImpl cannot be cast to org.raml.yagi.framework.nodes.KeyValueNode
at org.mule.module.apikit.parser.ParserWrapperV2.validate(ParserWrapperV2.java:73) ~[mule-module-apikit-3.9.1.jar:?].
The RAML parser for Mule 3 is not as modern as the one for Mule 4. There are also bugs that are fixed in later versions/releases for any given version.
You can use a newer version of APIKit as long as it is compatible with the Mule version. Mule 4 releases of APIKit are not compatible with Mule 3. However if the RAML is working for APIKit 3.9.3 you could use it with Mule 3.9.1, as its release notes say it is compatible with Mule 3.9.1.

Getting an error at async remove(item) after upgrading to Angular 9

I am getting an error while npm install don't know how to fix this. Please help.
node --version
v10.16.3
[ERROR] C:\Development\Angular9Upgrade\chp\frontend\src\main\frontend\node_modules\chokidar\index.js:151
[ERROR] async remove(item) {
[ERROR] ^^^^^^
[ERROR] SyntaxError: Unexpected identifier
[ERROR] at Object.exports.runInThisContext (vm.js:76:16)
[ERROR] at Module._compile (module.js:542:28)
[ERROR] at Object.Module._extensions..js (module.js:579:10)
[ERROR] at Module.load (module.js:487:32)
[ERROR] at tryModuleLoad (module.js:446:12)
[ERROR] at Function.Module._load (module.js:438:3)
[ERROR] at Module.require (module.js:497:17)
[ERROR] at require (internal/module.js:20:19)

ReactNative android Error: Timeout of 120000ms exceeded

I am getting error in ReactNative android while testing with detox. The error is, "Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves."
React-Native : 0.57.7
Detox test works fine with iOS without any issues but getting timeout error while running with Android. Not sure where should i check about this.
node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration android.emu.debug --loglevel verbose --grep :ios: --invert --artifacts-location "artifacts/android.emu.debug.2019-04-10 10-27-45Z"
detox[30977] INFO: [DetoxServer.js] server listening on localhost:51629...
detox[30977] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:51629
detox[30977] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
detox[30977] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
detox[30977] DEBUG: [exec.js/EXEC_CMD, #0] /Users/iphone/Library/Android/sdk/emulator/emulator -list-avds --verbose
detox[30977] DEBUG: [exec.js/EXEC_CMD, #1] /Users/iphone/Library/Android/sdk/platform-tools/adb devices
detox[30977] DEBUG: [exec.js/EXEC_CMD, #2] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "getprop dev.bootcomplete"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #3] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "getprop ro.build.version.sdk"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #4] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
detox[30977] DEBUG: [exec.js/EXEC_CMD, #5] /Users/iphone/Library/Android/sdk/build-tools/28.0.3/aapt dump badging "/Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/debug/app-debug.apk" | grep -e "package: name="
detox[30977] DEBUG: [exec.js/EXEC_CMD, #6] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list packages com.plugindemoapp"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #7] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall com.plugindemoapp
detox[30977] DEBUG: [exec.js/EXEC_CMD, #8] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list packages com.plugindemoapp.test"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #9] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall com.plugindemoapp.test
detox[30977] DEBUG: [exec.js/EXEC_CMD, #10] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -r -g -t /Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/debug/app-debug.apk
detox[30977] DEBUG: [exec.js/EXEC_CMD, #11] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -r -g -t /Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
detox[30977] DEBUG: [exec.js/EXEC_CMD, #12] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list instrumentation"
detox[30977] DEBUG: [exec.js/SPAWN_CMD, #13] [pid=30994] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r "-e detoxServer ws://localhost:51629 -e detoxSessionId c4ef8798-0ec8-3517-0a6f-56bb03181111" -e debug false com.plugindemoapp.test/android.support.test.runner.AndroidJUnitRunner
detox[30977] DEBUG: [exec.js/EXEC_CMD, #14] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14] "/Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""" failed with code = 1, stdout and stderr:
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14]
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14]
detox[30977] DEBUG: [exec.js/EXEC_CMD, #15] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15] "/Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""" failed with code = 1, stdout and stderr:
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15]
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15]
detox[30977] DEBUG: [exec.js/EXEC_CMD, #16] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111)
detox[30977] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 30994]: /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:51629 -e detoxSessionId c4ef8798-0ec8-3517-0a6f-56bb03181111 -e debug false com.plugindemoapp.test/android.support.test.runner.AndroidJUnitRunner
1) "before all" hook
0 passing (2m)
1 failing
1) "before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
0 passing (2m)
1 failing
1) "before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
detox[30977] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
child_process.js:656
throw err;
^
Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration android.emu.debug --loglevel verbose --grep :ios: --invert --artifacts-location "artifacts/android.emu.debug.2019-04-10 10-27-45Z"
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:653:13)
at runMocha (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:143:6)
at run (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:85:7)
at Object.<anonymous> (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:233:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)

visual studio not inputting URL into browser after driver.get(URL) because 'URL must be a string'

Inputting the code below in Visual Studio, typing "node index.js" into the Terminal Output gives me:
"WebDriverError: unknown error: 'url' must be a string"
-have tried just using driver.get(URL); and typing into the Terminal Output "Set URL=http://port-80-6p76k7hj7t.treehouse-app.com/ node index.js" which returns an error message of "A positional parameter cannot be found that accepts argument 'index.js'"
-have tried \ and // for the URL
This is the code that i'm using:
require('chromedriver');
const selenium = require('selenium-webdriver');
const By = selenium.By;
const driver = new selenium.Builder().forBrowser("chrome").build();
driver.get("https://port-80-6p76k7hj7t.treehouse-app.com/");
const locators = { inviteeForm: By.id("registrar"), inviteeNameField: By.name("name") };
function addInvitee(name) { driver.findElement(locators.inviteeNameField).sendKeys(name); driver.findElement(locators.inviteeForm).sub(); }
add invitee("Kevin Smith");
add invitee("Joe Smith");
Error i'm getting is:
[ERROR] node : C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\promise.js:2626
[ERROR] At line:1 char:1
[ERROR] + node index.js
[ERROR] + ~~~~~~~~~~~~~
[ERROR] + CategoryInfo : NotSpecified: (C:\users\kevin....promise.js:2626:String) [], RemoteException
[ERROR] + FullyQualifiedErrorId : NativeCommandError
[ERROR]
[ERROR] throw error;
[ERROR] ^
[ERROR]
[ERROR] WebDriverError: unknown error: 'url' must be a string
[ERROR] (Session info: chrome=68.0.3440.106)
[ERROR] (Driver info: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=Windows NT 10.0.17134 x86_64)
[ERROR] at Object.checkLegacyResponse (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\error.js:546:15)
[ERROR] at parseHttpResponse (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\http.js:509:13)
[ERROR] at doSend.then.response (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\http.js:441:30)
[ERROR] at process._tickCallback (internal/process/next_tick.js:68:7)
[ERROR] From: Task: WebDriver.navigate().to(undefined)
[ERROR] at thenableWebDriverProxy.schedule (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:807:17)
[ERROR] at Navigation.to (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:1133:25)
[ERROR] at thenableWebDriverProxy.get (C:\users\kevin.yu\selenium-basics\node_modules\selenium-webdriver\lib\webdriver.js:988:28)
[ERROR] at Object.<anonymous> (C:\users\kevin.yu\selenium-basics\node_modules\index.js:12:8)
[ERROR] at Module._compile (internal/modules/cjs/loader.js:689:30)
[ERROR] at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
[ERROR] at Module.load (internal/modules/cjs/loader.js:599:32)
[ERROR] at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
[ERROR] at Function.Module._load (internal/modules/cjs/loader.js:530:3)
[ERROR] at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
[ERROR]
I am permanently stuck, please send help!
Thanks in advance!