sst / ion

❍ — a new engine for SST
https://ion.sst.dev
MIT License
1.09k stars 126 forks source link

Bug: sst secret set stuck #553

Open NotLuksus opened 2 weeks ago

NotLuksus commented 2 weeks ago

When running sst secret set SECRET_NAME VALUE it gets stuck Logs:

time=2024-06-13T16:19:30.653+02:00 level=INFO msg="loaded config" app=rapidnotes stage=notluksus
time=2024-06-13T16:19:30.653+02:00 level=INFO msg="INFO getting data key=secret app=rapidnotes stage=notluksus"
time=2024-06-13T16:19:30.828+02:00 level=INFO msg="INFO getting passphrase app=rapidnotes stage=notluksus"
time=2024-06-13T16:19:30.951+02:00 level=INFO msg="INFO putting secrets app=rapidnotes stage=notluksus"
time=2024-06-13T16:19:30.951+02:00 level=INFO msg="INFO putting data key=secret app=rapidnotes stage=notluksus"
time=2024-06-13T16:19:30.951+02:00 level=INFO msg="INFO getting passphrase app=rapidnotes stage=notluksus"

I doesn't let me Control + C the process so I have to actually terminate my console window to stop it.

Things I tried: Change AWS region Reset the entire sst state Remove all old secrets

Nothing seemed to work

This is on the latest version of ION

NotLuksus commented 2 weeks ago

Also see my message on Discord for this: https://discord.com/channels/983865673656705025/1177071497974648952/1248909379252523018

jayair commented 1 week ago

Might've missed on Discord if you already answered but did you try it with the --verbose flag?

NotLuksus commented 1 week ago

This is with the verbose flag

jayair commented 1 week ago

OS?

Do other sst commands work?

NotLuksus commented 1 week ago

Mac OS Sonoma 14.4 Yeah, everything else works

jayair commented 6 days ago

@thdxr What else do we need to debug this?

thdxr commented 5 days ago

does sst secret list work? and does it have the updated value even though it hung?

NotLuksus commented 4 days ago

I upgraded to the latest version and no it seems to be working again, no idea what caused this, probably fine to close