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

Can't pin but I can see object #2388

Closed
yangwao opened this issue Feb 22, 2016 · 8 comments
Closed

Can't pin but I can see object #2388

yangwao opened this issue Feb 22, 2016 · 8 comments
Labels
need/verification This issue needs verification

Comments

@yangwao
Copy link
Member

yangwao commented Feb 22, 2016

Idk if it's 0.4.0 upcoming release related, but here is pastebin
https://ipfs.io/ipfs/QmREhQoprhJwSM2gtgMMbDDn1k5yq1a3oYCfqWeBqzJH1k/paste

I can do

root@markone:~# ipfs object stat Qme1cJCtfWN2m4ZRvRqe6bnD7unrjFznpVYbYvLwTDoXUF
NumLinks: 6
BlockSize: 322
LinksSize: 320
DataSize: 2
CumulativeSize: 16603890

but I could not
root@markone:~# ipfs pin add Qme1cJCtfWN2m4ZRvRqe6bnD7unrjFznpVYbYvLwTDoXUF

both host are online, but previously been in one network. But later been also restarted. Any idea?

@jbenet
Copy link
Member

jbenet commented Feb 22, 2016

@yangwao if you can repro a test with sharness, that's even better.

@yangwao
Copy link
Member Author

yangwao commented Feb 28, 2016

@jbenet what is sharness?

@dignifiedquire
Copy link
Member

@yangwao he means a test that can be added to the repo reproducing this issue

@yangwao
Copy link
Member Author

yangwao commented Feb 28, 2016

No idea how to do it, where I can see some manual?
I think I found some network glitch, can't reproduce now. And very likely can be related to #2413 :)

@RichardLitt
Copy link
Member

Subscribing. I also would like to know more about sharness testing.

@yangwao
Copy link
Member Author

yangwao commented Feb 29, 2016

Another case. Same scenario. I've canceled pinning after half-hour.

root@markone:~# ipfs pin add QmQ9UzmQGZVL9JzbUoNYp7hVVQcruuwSgH4Amok2yYLXoY
^C
Error: request canceled
root@markone:~# ipfs object stat QmQ9UzmQGZVL9JzbUoNYp7hVVQcruuwSgH4Amok2yYLXoY
NumLinks: 12
BlockSize: 599
LinksSize: 597
DataSize: 2
CumulativeSize: 18402013
root@markone:~# ipfs object links QmQ9UzmQGZVL9JzbUoNYp7hVVQcruuwSgH4Amok2yYLXoY
QmRwaLviHANz1fAjPsKwfjPgTodFmd4kgHr7fDDAyvb14K 3267     404.html
Qmbah8citaTkhkDx4w9SM13HFJiCF4uEj3hiqRqoKo6qKc 41590    css
QmS4prQ7xh3wZwcrdV8WxzeXEoqaCitkW1CAyzF5J49aTk 192430   fonts
QmZ6igQDpcqMSgLoERyDnLRms7TF2gzexzfJ3fhFLJLLcq 886791   images
QmShxggBkRR8BkPqH7sZQ9Z2ddWpbKiXPb2N9nwQHsubuZ 16983445 img
QmeCo2HBAY4jHfrGN8xoiuFdaUxmVrptyU52uSVQPLhqoR 20205    index.html
QmTE5t7VAzYNKKaJns39ak7XzqYMVMxR9cKBKdbmHxDLcj 24107    index.xml
QmTX8TehtAZfMkNZdjSagYtssnms58xCqsuvurnWkyCnh6 91622    js
QmVc2zUcSULdhEAJ2iKQ7ZDtw6svPpMJt4Vt3siELpiyV7 305      page
QmQphFtvz4izn6avH3Gzy3H4BTZEyHL3JKf8DbivUraTMr 66874    post
Qmau2Uf7xtFuTwv9SbZSokuv4Y6HvTyGH5T195W2Bk3xPa 362      sitemap.xml
QmP72jKYVns9SCFoYhm4Ls7aAKtr4r8fAgp7i5byoA4DEL 90416    tags
root@markone:~# ipfs get QmeCo2HBAY4jHfrGN8xoiuFdaUxmVrptyU52uSVQPLhqoR
Saving file(s) to QmeCo2HBAY4jHfrGN8xoiuFdaUxmVrptyU52uSVQPLhqoR
21.50 KB 0
root@markone:~# ipfs id
{
    "ID": "QmbM5BFMH1X1DLN7anKQHE3p7hWC56e5S1dx96kXfLCpaw",
    "PublicKey": "CAASpgIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCWcdLGUPIuA1gajxFnv62gH53Y9nwCzYm8TO/f4awNi9c9A6Oxh60o9nyxdRizHZOgr2qMnN5sWy49kbAI4A49XIjhjNgVhonLW+JeDLSFn8NOINYgZyTbEcMa8sEcsDrtRKR2N7IFfyhi8dPsGzz+EyPFAwBDfSHEyzTqC92uev8lXDpxtowImFU2KIN1WpGV//us46Udnj7a4ng1pi2ihenchCthUaMLF15BnaKRza4apowQfw1KIKDhaeBhqJ9Mh54iVezBfEEwsBwglVjd+lgfJ/Wbo2PQStet2n0PE6it8gfzsJ72KpOE2eqSawal9WfNsvKmYoVOFKAq0HgbAgMBAAE=",
    "Addresses": [
        "/ip4/127.0.0.1/tcp/4001/ipfs/QmbM5BFMH1X1DLN7anKQHE3p7hWC56e5S1dx96kXfLCpaw",
        "/ip4/192.168.13.215/tcp/4001/ipfs/QmbM5BFMH1X1DLN7anKQHE3p7hWC56e5S1dx96kXfLCpaw",
        "/ip6/::1/tcp/4001/ipfs/QmbM5BFMH1X1DLN7anKQHE3p7hWC56e5S1dx96kXfLCpaw"
    ],
    "AgentVersion": "go-libp2p/0.1.0",
    "ProtocolVersion": "ipfs/0.1.0"
}
root@markone:~# ipfs swarm peers|wc -l
58

@whyrusleeping
Copy link
Member

@yangwao is this still an issue? A lot has been improved since this was reported

@whyrusleeping whyrusleeping added the need/verification This issue needs verification label Aug 23, 2016
@Stebalien
Copy link
Member

In an effort to clean up the issue tracker a bit, I'm going to assume this has been fixed and close it (we've fixed a lot of bugs that could have caused this). If not, please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/verification This issue needs verification
Projects
None yet
Development

No branches or pull requests

6 participants