-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue description
Sugar fails to upload to NFT.Storage with error "🛑 Error running command (re-run needed): Invalid nft.storage authentication token.", even though the correct NFT.Storage token is provided.
API methods to upload by NFT.Storage should be updated, I guess.
Relevant log output
{"v":0,"name":"sugar","msg":"Lend me some sugar, I am your neighbor.","level":30,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:37:24.088673Z","target":"sugar","line":124,"file":"src/main.rs"}
{"v":0,"name":"sugar","msg":"Validation complete, your metadata file(s) look good.","level":30,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:37:29.000052Z","target":"sugar_cli::validate::process","line":150,"file":"src/validate/process.rs"}
{"v":0,"name":"sugar","msg":"checkout waiting for idle connection: (\"https\", api.nft.storage)","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.001698Z","target":"hyper::client::pool","line":638,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/pool.rs"}
{"v":0,"name":"sugar","msg":"Http::connect; scheme=Some(\"https\"), host=Some(\"api.nft.storage\"), port=None","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.002168Z","target":"hyper::client::connect::http","line":278,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/connect/http.rs"}
{"v":0,"name":"sugar","msg":"resolving host=\"api.nft.storage\"","level":20,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.002316Z","target":"hyper::client::connect::dns","line":122,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/connect/dns.rs"}
{"v":0,"name":"sugar","msg":"connecting to 104.18.34.117:443","level":20,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.006608Z","target":"hyper::client::connect::http","line":537,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/connect/http.rs"}
{"v":0,"name":"sugar","msg":"connected to 104.18.34.117:443","level":20,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.073977Z","target":"hyper::client::connect::http","line":540,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/connect/http.rs"}
{"v":0,"name":"sugar","msg":"client handshake Http1","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.166255Z","target":"hyper::client::conn","line":1009,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/conn.rs"}
{"v":0,"name":"sugar","msg":"handshake complete, spawning background dispatcher task","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.16633Z","target":"hyper::client::client","line":499,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/client.rs"}
{"v":0,"name":"sugar","msg":"flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Busy }","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.16645Z","target":"hyper::proto::h1::conn","line":732,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"checkout dropped for (\"https\", api.nft.storage)","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.166493Z","target":"hyper::client::pool","line":680,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/pool.rs"}
{"v":0,"name":"sugar","msg":"[ENCODE_HEADERS - START]","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.166612Z","target":"hyper::proto::h1::role","line":107,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/role.rs"}
{"v":0,"name":"sugar","msg":"[ENCODE_HEADERS - EVENT] Client::encode method=GET, body=None","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.166666Z","target":"hyper::proto::h1::role","line":1110,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/role.rs"}
{"v":0,"name":"sugar","msg":"[ENCODE_HEADERS - END]","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.166726Z","target":"hyper::proto::h1::role","line":107,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/role.rs"}
{"v":0,"name":"sugar","msg":"flushed 155 bytes","level":20,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.166813Z","target":"hyper::proto::h1::io","line":342,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/io.rs"}
{"v":0,"name":"sugar","msg":"flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy }","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.166835Z","target":"hyper::proto::h1::conn","line":732,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"Conn::read_head","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.248817Z","target":"hyper::proto::h1::conn","line":191,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"received 398 bytes","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.248958Z","target":"hyper::proto::h1::io","line":269,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/io.rs"}
{"v":0,"name":"sugar","msg":"[PARSE_HEADERS - START]","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249007Z","target":"hyper::proto::h1::role","line":75,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/role.rs"}
{"v":0,"name":"sugar","msg":"[PARSE_HEADERS - EVENT] Response.parse","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249032Z","target":"hyper::proto::h1::role","line":946,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/role.rs","bytes":398}
{"v":0,"name":"sugar","msg":"[PARSE_HEADERS - EVENT] Response.parse Complete(292)","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249061Z","target":"hyper::proto::h1::role","line":955,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/role.rs"}
{"v":0,"name":"sugar","msg":"[PARSE_HEADERS - END]","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249102Z","target":"hyper::proto::h1::role","line":75,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/role.rs"}
{"v":0,"name":"sugar","msg":"parsed 9 headers","level":20,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.24912Z","target":"hyper::proto::h1::io","line":207,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/io.rs"}
{"v":0,"name":"sugar","msg":"incoming body is content-length (106 bytes)","level":20,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249132Z","target":"hyper::proto::h1::conn","line":222,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"decode; state=Length(106)","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249177Z","target":"hyper::proto::h1::decode","line":106,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/decode.rs"}
{"v":0,"name":"sugar","msg":"incoming body completed","level":20,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249193Z","target":"hyper::proto::h1::conn","line":298,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"maybe_notify; read_from_io blocked","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.24924Z","target":"hyper::proto::h1::conn","line":472,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.24927Z","target":"hyper::proto::h1::conn","line":732,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"pool dropped, dropping pooled ((\"https\", api.nft.storage))","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249285Z","target":"hyper::client::pool","line":540,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/client/pool.rs"}
{"v":0,"name":"sugar","msg":"flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249296Z","target":"hyper::proto::h1::conn","line":732,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"client tx closed","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249409Z","target":"hyper::proto::h1::dispatch","line":599,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/dispatch.rs"}
{"v":0,"name":"sugar","msg":"State::close_read()","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249434Z","target":"hyper::proto::h1::conn","line":956,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"State::close_write()","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249447Z","target":"hyper::proto::h1::conn","line":962,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"flushed({role=client}): State { reading: Closed, writing: Closed, keep_alive: Disabled }","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249465Z","target":"hyper::proto::h1::conn","line":732,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}
{"v":0,"name":"sugar","msg":"shut down IO complete","level":10,"hostname":"Ivans-MacBook-Pro.local","pid":75666,"time":"2025-04-13T16:38:29.249593Z","target":"hyper::proto::h1::conn","line":739,"file":"/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/proto/h1/conn.rs"}Priority this issue should have
High (immediate attention needed)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working