Skip to content

[BUG] Cannot stop my instance (AWS Spot) #209

@felipemarinho97

Description

@felipemarinho97
Stopping instance marinho-g-4-dn-2-x...
2025-05-07 16:13:19.864	ERROR	/dist/src/cli/program.js:36	program
 Error  Failed to stop instance marinho-g-4-dn-2-x, Error: Failed to stop EC2 instance i-093a4dda8d1942597
error stack:
  • program.js	Command.<anonymous>
	/dist/src/cli/program.js:137
  • task_queues	process.processTicksAndRejections
	internal/process/task_queues:105
  • command.js	async Command.parseAsync
	/node_modules/commander/lib/command.js:1104
  • main.js	async main
	/dist/src/cli/main.js:20
2025-05-07 16:13:19.865	ERROR	/dist/src/cli/program.js:36	program	Caused by:

 Error  Failed to stop EC2 instance i-093a4dda8d1942597, RequestExpired: Request has expired.
error stack:
  • aws.js	AwsClient.stopInstance
	/dist/src/tools/aws.js:130
  • task_queues	process.processTicksAndRejections
	internal/process/task_queues:105
  • runner.js	async AwsInstanceRunner.doStop
	/dist/src/providers/aws/runner.js:23
  • runner.js	async AwsInstanceRunner.stop
	/dist/src/core/runner.js:39
  • manager.js	async GenericInstanceManager.stop
	/dist/src/core/manager.js:85
  • program.js	async Command.<anonymous>
	/dist/src/cli/program.js:128
  • command.js	async Command.parseAsync
	/node_modules/commander/lib/command.js:1104
  • main.js	async main
	/dist/src/cli/main.js:20
2025-05-07 16:13:19.869	ERROR	/dist/src/cli/program.js:36	program	Caused by:

 RequestExpired  RequestExpired, client, [object Object], RequestExpired, Request has expired., [object Object]
error stack:
  • index.js	throwDefaultError
	/node_modules/@smithy/smithy-client/dist-cjs/index.js:867
  • index.js
	/node_modules/@smithy/smithy-client/dist-cjs/index.js:876
  • index.js	de_CommandError
	/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js:16505
  • task_queues	process.processTicksAndRejections
	internal/process/task_queues:105
  • index.js
	async /node_modules/@smithy/middleware-serde/dist-cjs/index.js:35
  • index.js
	async /node_modules/@smithy/core/dist-cjs/index.js:167
  • index.js
	async /node_modules/@smithy/middleware-retry/dist-cjs/index.js:321
  • index.js
	async /node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33
  • aws.js	async AwsClient.stopInstance
	/dist/src/tools/aws.js:121
  • runner.js	async AwsInstanceRunner.doStop
	/dist/src/providers/aws/runner.js:23
Oops, something went wrong 😨 Full error is shown above.

The stop command is not working, I am using a spot instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions