sst / sst

Build full-stack apps on your own infrastructure.
https://sst.dev
MIT License
24.04k stars 1.85k forks source link

Failed to run sst dev in China #5887

Closed haoyuant closed 4 weeks ago

haoyuant commented 4 weeks ago

I am working remotely from China recently, already set up VPN and can access google, aws and npm from the MacOS terminal, the connection speed seems to be fast enough. But I don't know why when it comes to sst dev, it is very slow and always throws errors after spending more than 10 minutes on PUBLISH_ASSETS_IN_PROGRESS.

SST v2.43.6  ready!

➜  App:     xxx
   Stage:   haoyuant
   Console: https://console.sst.dev/local/xxx

⠇  Checking for changesDeploying ROS Frontend Stack
⠙  CostCalculatorStack PUBLISH_ASSETS_IN_PROGRESS
⠸  CostCalculatorStack PUBLISH_ASSETS_IN_PROGRESS
⠇  CostCalculatorStack PUBLISH_ASSETS_IN_PROGRESS
|  CostCalculatorStack PUBLISH_ASSETS_COMPLETE 
⠋  Deploying...

✖  Errors
   xxx UPDATE_FAILED
   stack: Failed to publish one or more assets. See the error messages above for more information.
   xxxFrontendStack DEPENDENCY_FAILED
haoyuant commented 4 weeks ago

resolved by using the tun mode.