System Call Failure

0

I cannot get greengrass to run properly. I'm using the latest 2.4.0 and have reinstalled. I have a few AWS-only greengrass components as part of my deployment. I am running on a VM/Linux with NAT network connection on a Window's host.

This is my error log:

2021-08-06T21:17:13.055Z [INFO] (main) com.aws.greengrass.util.platforms.Platform: Getting platform instance com.aws.greengrass.util.platforms.unix.linux.LinuxPlatform.. {}
2021-08-06T21:17:13.094Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: No ongoing deployment detected. Proceed as default. {}
2021-08-06T21:17:13.171Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: effective-config-dump-complete. {file=/greengrass/v2/config/effectiveConfig.yaml}
2021-08-06T21:17:13.197Z [INFO] (main) com.aws.greengrass.deployment.DeviceConfiguration: Successfully setup Nucleus launch parameters. {}
2021-08-06T21:17:13.304Z [INFO] (main) com.aws.greengrass.deployment.DeviceConfiguration: Nucleus lifecycle has been initialized successfully. {}
2021-08-06T21:17:13.328Z [INFO] (main) com.aws.greengrass.deployment.DeviceConfiguration: Copy Nucleus artifacts to component store. {destination=/greengrass/v2/packages/artifacts-unarchived/aws.greengrass.Nucleus/2.4.0/aws.greengrass.nucleus, source=/home/darren/GreengrassCore}
2021-08-06T21:17:28.389Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: effective-config-dump-complete. {file=/greengrass/v2/config/effectiveConfig.yaml}
2021-08-06T21:17:28.391Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Waiting for services to shutdown. {}
2021-08-06T21:17:29.221Z [INFO] (main) com.aws.greengrass.util.orchestration.SystemdUtils: systemd-setup. Successfully set up systemd service. {}
2021-08-06T21:17:29.222Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: system-shutdown. {main=null}
2021-08-06T21:17:29.228Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: effective-config-dump-complete. {file=/greengrass/v2/config/effectiveConfig.yaml}
2021-08-06T21:17:29.228Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Waiting for services to shutdown. {}
2021-08-06T21:17:29.229Z [INFO] (Serialized listener processor) com.aws.greengrass.lifecyclemanager.KernelLifecycle: executor-service-shutdown-initiated. {}
2021-08-06T21:17:29.231Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Waiting for executors to shutdown. {}
2021-08-06T21:17:29.231Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: executor-service-shutdown-complete. {executor-terminated=true, scheduled-executor-terminated=true}
2021-08-06T21:17:29.231Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: context-shutdown-initiated. {}
2021-08-06T21:17:29.232Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: context-shutdown-complete. {}
2021-08-06T21:17:31.403Z [INFO] (main) com.aws.greengrass.util.platforms.Platform: Getting platform instance com.aws.greengrass.util.platforms.unix.linux.LinuxPlatform.. {}
2021-08-06T21:17:31.438Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: No ongoing deployment detected. Proceed as default. {}
2021-08-06T21:17:31.507Z [INFO] (main) com.aws.greengrass.config.Configuration: config-loading. Read configuration from a file path. {path=/greengrass/v2/config/config.tlog}
2021-08-06T21:17:31.550Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: effective-config-dump-complete. {file=/greengrass/v2/config/effectiveConfig.yaml}
2021-08-06T21:17:31.641Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: system-start. Launch Nucleus. {configPath=/greengrass/v2/config, rootPath=/greengrass/v2, version=2.4.0}
2021-08-06T21:17:31.803Z [INFO] (main) software.amazon.awssdk.eventstreamrpc.RpcServer: IpcServer started.... {}
2021-08-06T21:17:31.828Z [INFO] (main) com.aws.greengrass.mqttclient.spool.Spool: Spooler has been configured. {maxSizeInBytes=2621440, storageType=Memory, keepQos0WhenOffline=false}
2021-08-06T21:17:31.923Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Found Plugin: DockerApplicationManagerService. {}
2021-08-06T21:17:31.924Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Found Plugin: DeploymentService. {}
2021-08-06T21:17:31.925Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Found Plugin: UpdateSystemPolicyService. {}
2021-08-06T21:17:31.926Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Found Plugin: FleetStatusService. {}
2021-08-06T21:17:31.926Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Found Plugin: TelemetryAgent. {}
2021-08-06T21:17:31.927Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: Found Plugin: TokenExchangeService. {}
2021-08-06T21:17:31.928Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: serviceImplementors: {UpdateSystemPolicyService:class com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService...}. {}
2021-08-06T21:17:31.929Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: Attempt to load service from plugins. {serviceName=aws.greengrass.Nucleus}
2021-08-06T21:17:31.942Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: generic-service-loaded. {serviceName=aws.greengrass.Nucleus}
2021-08-06T21:17:31.944Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: Attempt to load service from plugins. {serviceName=main}
2021-08-06T21:17:31.946Z [INFO] (main) com.aws.greengrass.lifecyclemanager.GenericExternalService: Waiting for the desired state list. {serviceName=main, currentState=NEW}
2021-08-06T21:17:31.949Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: generic-service-loaded. {serviceName=main}
2021-08-06T21:17:31.951Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: Attempt to load service from plugins. {serviceName=DeploymentService}
2021-08-06T21:17:31.953Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: service-loaded. {serviceName=DeploymentService}
2021-08-06T21:17:32.505Z [INFO] (main) com.aws.greengrass.util.GreengrassServiceClientFactory: initialize-greengrass-client. {service-region=us-east-1, service-endpoint=https://greengrass-ats.iot.us-east-1.amazonaws.com:8443}
2021-08-06T21:17:32.550Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: Attempt to load service from plugins. {serviceName=UpdateSystemPolicyService}
2021-08-06T21:17:32.550Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: service-loaded. {serviceName=UpdateSystemPolicyService}
2021-08-06T21:17:32.551Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: Attempt to load service from plugins. {serviceName=TelemetryAgent}
2021-08-06T21:17:32.599Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: service-loaded. {serviceName=TelemetryAgent}
2021-08-06T21:17:32.609Z [INFO] (main) com.aws.greengrass.lifecyclemanager.Kernel: effective-config-dump-complete. {file=/greengrass/v2/config/effectiveConfig.yaml}
2021-08-06T21:17:32.609Z [INFO] (main) com.aws.greengrass.lifecyclemanager.KernelLifecycle: system-start. {main=services.main:NEW}
2021-08-06T21:17:32.611Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=aws.greengrass.Nucleus, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.611Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=aws.greengrass.Nucleus, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.612Z [INFO] (TelemetryAgent-lifecycle) com.aws.greengrass.telemetry.TelemetryAgent: service-report-state. {serviceName=TelemetryAgent, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.612Z [INFO] (TelemetryAgent-lifecycle) com.aws.greengrass.telemetry.TelemetryAgent: service-set-state. {serviceName=TelemetryAgent, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.612Z [INFO] (pool-2-thread-8) com.aws.greengrass.telemetry.TelemetryAgent: service-awaiting-start. waiting for dependencies to start. {serviceName=TelemetryAgent, currentState=INSTALLED}
2021-08-06T21:17:32.612Z [INFO] (pool-2-thread-8) com.aws.greengrass.telemetry.TelemetryAgent: service-starting. {serviceName=TelemetryAgent, currentState=INSTALLED}
2021-08-06T21:17:32.612Z [INFO] (pool-2-thread-8) com.aws.greengrass.telemetry.TelemetryAgent: service-report-state. {serviceName=TelemetryAgent, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.613Z [INFO] (TelemetryAgent-lifecycle) com.aws.greengrass.telemetry.TelemetryAgent: service-set-state. {serviceName=TelemetryAgent, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.614Z [INFO] (DeploymentService-lifecycle) com.aws.greengrass.deployment.DeploymentService: service-report-state. {serviceName=DeploymentService, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.614Z [INFO] (DeploymentService-lifecycle) com.aws.greengrass.deployment.DeploymentService: service-set-state. {serviceName=DeploymentService, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.614Z [INFO] (main-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=main, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.614Z [INFO] (main-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=main, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.615Z [INFO] (pool-2-thread-8) com.aws.greengrass.telemetry.TelemetryAgent: service-report-state. {serviceName=TelemetryAgent, currentState=STARTING, newState=RUNNING}
2021-08-06T21:17:32.615Z [INFO] (TelemetryAgent-lifecycle) com.aws.greengrass.telemetry.TelemetryAgent: service-set-state. {serviceName=TelemetryAgent, currentState=STARTING, newState=RUNNING}
2021-08-06T21:17:32.615Z [INFO] (pool-2-thread-10) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-awaiting-start. waiting for dependencies to start. {serviceName=aws.greengrass.Nucleus, currentState=INSTALLED}
2021-08-06T21:17:32.616Z [INFO] (pool-2-thread-10) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-starting. {serviceName=aws.greengrass.Nucleus, currentState=INSTALLED}
2021-08-06T21:17:32.616Z [INFO] (pool-2-thread-10) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=aws.greengrass.Nucleus, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.616Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=aws.greengrass.Nucleus, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.616Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: Stopping backingTask waiting for dependency ready. {serviceName=aws.greengrass.Nucleus, currentState=STARTING}
2021-08-06T21:17:32.618Z [INFO] (UpdateSystemPolicyService-lifecycle) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-report-state. {serviceName=UpdateSystemPolicyService, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.618Z [INFO] (UpdateSystemPolicyService-lifecycle) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-set-state. {serviceName=UpdateSystemPolicyService, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.619Z [INFO] (pool-2-thread-8) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=aws.greengrass.Nucleus, currentState=STARTING, newState=FINISHED}
2021-08-06T21:17:32.619Z [INFO] (pool-2-thread-8) com.aws.greengrass.lifecyclemanager.GenericExternalService: generic-service-finished. Nothing done. {serviceName=aws.greengrass.Nucleus, currentState=STARTING}
2021-08-06T21:17:32.619Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=aws.greengrass.Nucleus, currentState=STARTING, newState=STOPPING}
2021-08-06T21:17:32.620Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=aws.greengrass.Nucleus, currentState=STARTING, newState=FINISHED}
2021-08-06T21:17:32.620Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=aws.greengrass.Nucleus, currentState=FINISHED, newState=STOPPING}
2021-08-06T21:17:32.620Z [INFO] (pool-2-thread-8) com.aws.greengrass.lifecyclemanager.GenericExternalService: Shutdown initiated. {serviceName=aws.greengrass.Nucleus, currentState=STOPPING}
2021-08-06T21:17:32.620Z [INFO] (pool-2-thread-8) com.aws.greengrass.lifecyclemanager.GenericExternalService: generic-service-shutdown. {serviceName=aws.greengrass.Nucleus, currentState=STOPPING}
2021-08-06T21:17:32.621Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=aws.greengrass.Nucleus, currentState=STOPPING, newState=FINISHED}
2021-08-06T21:17:32.621Z [INFO] (aws.greengrass.Nucleus-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=aws.greengrass.Nucleus, currentState=STOPPING, newState=FINISHED}
2021-08-06T21:17:32.621Z [INFO] (pool-2-thread-14) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-awaiting-start. waiting for dependencies to start. {serviceName=main, currentState=INSTALLED}
2021-08-06T21:17:32.621Z [INFO] (pool-2-thread-13) com.aws.greengrass.deployment.DeploymentService: service-awaiting-start. waiting for dependencies to start. {serviceName=DeploymentService, currentState=INSTALLED}
2021-08-06T21:17:32.621Z [INFO] (pool-2-thread-13) com.aws.greengrass.deployment.DeploymentService: service-starting. {serviceName=DeploymentService, currentState=INSTALLED}
2021-08-06T21:17:32.621Z [INFO] (pool-2-thread-13) com.aws.greengrass.deployment.DeploymentService: service-report-state. {serviceName=DeploymentService, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.621Z [INFO] (DeploymentService-lifecycle) com.aws.greengrass.deployment.DeploymentService: service-set-state. {serviceName=DeploymentService, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.622Z [INFO] (DeploymentService-lifecycle) com.aws.greengrass.deployment.DeploymentService: Stopping backingTask waiting for dependency ready. {serviceName=DeploymentService, currentState=STARTING}
2021-08-06T21:17:32.622Z [INFO] (pool-2-thread-13) com.aws.greengrass.deployment.DeploymentService: Starting up the Deployment Service. {serviceName=DeploymentService, currentState=STARTING}
2021-08-06T21:17:32.622Z [INFO] (pool-2-thread-13) com.aws.greengrass.deployment.DeploymentService: service-report-state. {serviceName=DeploymentService, currentState=STARTING, newState=RUNNING}
2021-08-06T21:17:32.622Z [INFO] (DeploymentService-lifecycle) com.aws.greengrass.deployment.DeploymentService: service-set-state. {serviceName=DeploymentService, currentState=STARTING, newState=RUNNING}
2021-08-06T21:17:32.622Z [INFO] (pool-2-thread-13) com.aws.greengrass.deployment.DeploymentService: Running deployment service. {serviceName=DeploymentService, currentState=RUNNING}
2021-08-06T21:17:32.623Z [INFO] (FleetStatusService-lifecycle) com.aws.greengrass.status.FleetStatusService: service-report-state. {serviceName=FleetStatusService, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.623Z [INFO] (FleetStatusService-lifecycle) com.aws.greengrass.status.FleetStatusService: service-set-state. {serviceName=FleetStatusService, currentState=NEW, newState=INSTALLED}
2021-08-06T21:17:32.623Z [INFO] (pool-2-thread-10) com.aws.greengrass.status.FleetStatusService: service-awaiting-start. waiting for dependencies to start. {serviceName=FleetStatusService, currentState=INSTALLED}
2021-08-06T21:17:32.623Z [INFO] (pool-2-thread-11) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-awaiting-start. waiting for dependencies to start. {serviceName=UpdateSystemPolicyService, currentState=INSTALLED}
2021-08-06T21:17:32.623Z [INFO] (pool-2-thread-10) com.aws.greengrass.status.FleetStatusService: service-starting. {serviceName=FleetStatusService, currentState=INSTALLED}
2021-08-06T21:17:32.623Z [INFO] (pool-2-thread-11) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-starting. {serviceName=UpdateSystemPolicyService, currentState=INSTALLED}
2021-08-06T21:17:32.623Z [INFO] (pool-2-thread-10) com.aws.greengrass.status.FleetStatusService: service-report-state. {serviceName=FleetStatusService, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.623Z [INFO] (pool-2-thread-11) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-report-state. {serviceName=UpdateSystemPolicyService, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.623Z [INFO] (FleetStatusService-lifecycle) com.aws.greengrass.status.FleetStatusService: service-set-state. {serviceName=FleetStatusService, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.624Z [INFO] (UpdateSystemPolicyService-lifecycle) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-set-state. {serviceName=UpdateSystemPolicyService, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.624Z [INFO] (pool-2-thread-10) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-report-state. {serviceName=UpdateSystemPolicyService, currentState=STARTING, newState=RUNNING}
2021-08-06T21:17:32.624Z [INFO] (pool-2-thread-11) com.aws.greengrass.status.FleetStatusService: service-report-state. {serviceName=FleetStatusService, currentState=STARTING, newState=RUNNING}
2021-08-06T21:17:32.624Z [INFO] (UpdateSystemPolicyService-lifecycle) com.aws.greengrass.lifecyclemanager.UpdateSystemPolicyService: service-set-state. {serviceName=UpdateSystemPolicyService, currentState=STARTING, newState=RUNNING}
2021-08-06T21:17:32.624Z [INFO] (FleetStatusService-lifecycle) com.aws.greengrass.status.FleetStatusService: service-set-state. {serviceName=FleetStatusService, currentState=STARTING, newState=RUNNING}
2021-08-06T21:17:32.683Z [INFO] (Serialized listener processor) com.aws.greengrass.util.GreengrassServiceClientFactory: initialize-greengrass-client. {service-region=us-east-1, service-endpoint=https://greengrass-ats.iot.us-east-1.amazonaws.com:8443}
2021-08-06T21:17:32.780Z [INFO] (Serialized listener processor) com.aws.greengrass.util.GreengrassServiceClientFactory: initialize-greengrass-client. {service-region=us-east-1, service-endpoint=https://greengrass-ats.iot.us-east-1.amazonaws.com:8443}
2021-08-06T21:17:32.792Z [INFO] (pool-2-thread-14) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-starting. {serviceName=main, currentState=INSTALLED}
2021-08-06T21:17:32.793Z [INFO] (pool-2-thread-14) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=main, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.793Z [INFO] (main-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=main, currentState=INSTALLED, newState=STARTING}
2021-08-06T21:17:32.794Z [INFO] (pool-2-thread-14) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=main, currentState=STARTING, newState=FINISHED}
2021-08-06T21:17:32.794Z [INFO] (pool-2-thread-14) com.aws.greengrass.lifecyclemanager.GenericExternalService: generic-service-finished. Nothing done. {serviceName=main, currentState=STARTING}
2021-08-06T21:17:32.794Z [INFO] (main-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=main, currentState=STARTING, newState=STOPPING}
2021-08-06T21:17:32.794Z [INFO] (main-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=main, currentState=STARTING, newState=FINISHED}
2021-08-06T21:17:32.794Z [INFO] (main-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=main, currentState=FINISHED, newState=STOPPING}
2021-08-06T21:17:32.795Z [INFO] (pool-2-thread-14) com.aws.greengrass.lifecyclemanager.GenericExternalService: Shutdown initiated. {serviceName=main, currentState=STOPPING}
2021-08-06T21:17:32.795Z [INFO] (pool-2-thread-14) com.aws.greengrass.lifecyclemanager.GenericExternalService: generic-service-shutdown. {serviceName=main, currentState=STOPPING}
2021-08-06T21:17:32.795Z [INFO] (main-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-report-state. {serviceName=main, currentState=STOPPING, newState=FINISHED}
2021-08-06T21:17:32.796Z [INFO] (main-lifecycle) com.aws.greengrass.lifecyclemanager.GenericExternalService: service-set-state. {serviceName=main, currentState=STOPPING, newState=FINISHED}
2021-08-06T21:17:32.818Z [INFO] (pool-2-thread-5) com.aws.greengrass.mqttclient.AwsIotMqttClient: Connecting to AWS IoT Core. {clientId=ubuntu-vm-4}
2021-08-06T21:17:33.002Z [ERROR] (Thread-4) com.aws.greengrass.mqttclient.AwsIotMqttClient: Unable to connect to AWS IoT Core. {clientId=ubuntu-vm-4}
software.amazon.awssdk.crt.mqtt.MqttException: System call failure
at software.amazon.awssdk.crt.mqtt.MqttClientConnection.onConnectionComplete(MqttClientConnection.java:135)

2021-08-06T21:17:33.003Z [ERROR] (Thread-4) com.aws.greengrass.mqttclient.MqttClient: Error subscribing. {topic=$aws/things/ubuntu-vm-4/jobs/$next/namespace-aws-gg-deployment/get/accepted}
java.util.concurrent.CompletionException: software.amazon.awssdk.crt.mqtt.MqttException: System call failure
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:308)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:783)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990)
at software.amazon.awssdk.crt.AsyncCallback$1.onFailure(AsyncCallback.java:27)
at software.amazon.awssdk.crt.mqtt.MqttClientConnection.onConnectionComplete(MqttClientConnection.java:135)
Caused by: software.amazon.awssdk.crt.mqtt.MqttException: System call failure
... 1 more

2021-08-06T21:17:33.003Z [WARN] (pool-2-thread-5) com.aws.greengrass.deployment.IotJobsHelper: No connection available during subscribing to Iot Jobs descriptions topic. Will retry in sometime. {ThingName=ubuntu-vm-4}
software.amazon.awssdk.crt.mqtt.MqttException: System call failure
at software.amazon.awssdk.crt.mqtt.MqttClientConnection.onConnectionComplete(MqttClientConnection.java:135)

DarrenB
asked 3 years ago361 views
1 Answer
0

This issue seemed to go away by switching my VMWare vm to bridged adapter from NAT.

DarrenB
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions