Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to post CAR file. #2275

Open
legowerewolf opened this issue Jun 9, 2023 · 0 comments
Open

Unable to post CAR file. #2275

legowerewolf opened this issue Jun 9, 2023 · 0 comments
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@legowerewolf
Copy link

> curl https://api.web3.storage/car --oauth2-bearer $token --data-binary @./archive.car --verbose
*   Trying [2606:4700::6812:a7e]:443...
* Connected to api.web3.storage (2606:4700::6812:a7e) port 443 (#0)
* schannel: disabled automatic use of client certificate
* ALPN: offers http/1.1
* ALPN: server accepted http/1.1
* using HTTP/1.1
* Server auth using Bearer with user ''
> POST /car HTTP/1.1
> Host: api.web3.storage
> Authorization: Bearer [redacted]
> User-Agent: curl/8.0.1
> Accept: */*
> Content-Length: 1072
> Content-Type: application/x-www-form-urlencoded
>
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
< HTTP/1.1 500 Internal Server Error
< Date: Fri, 09 Jun 2023 18:13:07 GMT
< Content-Type: application/json;charset=UTF-8
< Content-Length: 74
< Connection: keep-alive
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: Link, Count, Page, Size
< Server: cloudflare
< CF-RAY: 7d4b58c059e8a21a-YYZ
<
{"code":"HTTP_ERROR","message":"CBOR decode error: tag not supported (3)"}
* Connection #0 to host api.web3.storage left intact

archive.car wrapped in archive.zip because GH doesn't like .car format

archive.car produced with ipfs dag export QmWiq6zk6v2RWjszULHKKeG9WFBKsnjvkd35hTKJGeJwFv > archive.car

@legowerewolf legowerewolf added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

1 participant