Remote Reads may not be working with latest CLI
bug
**Description**
I tried updating to 0.3.0, and saw an issue using `mcap info` to read a .mcap file stored in s3.
- Version: 0.3.0
- Platform: ubuntu 22.04
**Steps To Reproduce**
`mcap info -vv s3://<my_bucket_that_i_shouldnt_share>/data.mcap`
This fails with the following error:
```
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
[DEBUG] starting new connection: http://169.254.169.254/
Error: failed to read s3://<REDACTED>/data.mcap
Failed while fetching range from: Generic S3 error: Error performing PUT http://169.254.169.254/latest/api/token in 18.351388767s, after 10 retries, max_retries: 10, retry_timeout: 180s - HTTP error: error sending request
```
However, when I run that same command after downloading v0.0.62 of the CLI, it works without issue.
<!--- Include the minimum possible code or example data to reproduce the problem. -->
**Expected Behavior**
No strange timeouts / oddness when accessing remote files using the newest MCAP CLI tool.
11 条评论