Go-ipfs: Error in offline name.publish after id

Created on 25 Apr 2018  路  5Comments  路  Source: ipfs/go-ipfs

Version information:

go-ipfs version: 0.4.14-5db3846
Repo version: 6
System version: amd64/darwin
Golang version: go1.10

Type:

Bug

Description:

Only in offline mode, calling name.publish after id causes an error.

$ ipfs daemon --offline &
[1] 47216
$ Initializing daemon...
Swarm not listening, running in offline mode.
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8090
Daemon is ready
$ ipfs id
{
    "ID": "QmahispzgXbQ5ewaxSjdrst8KNLzREhVHdhxZwAUHQWqLb",
    "PublicKey": "CAASpgIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDC4Q6B6burDPTlfIkjlF72Q/G72GT7CDBzlZsGI9XKf3XCC5PQiTBcpvKEnUCoBvquiClWE1yJiM4bu1dH/YR5NDBlx9EQzDDmiVvS909cqokRHxA0NY5t83hs8gthoMt6wn15euG2e6LVohqefq6YiiFWgakxDcRyMclLWKiF2t7U6OhMMSd2YdHp15wcHac13ZmdNKhZ/TBhjeKowl4DjAixxLE0kmcK5MsABeQEA+BHukz425K3929onEriSkG7xkSrd0YwKOx6J2Apub7Df8yhcG1PFoTyfTUD/gxkYNrB2jjqUJaNXrK4QDbaDinBNS3KZUn4SQtmxzj2gi4PAgMBAAE=",
    "Addresses": null,
    "AgentVersion": "go-ipfs/0.4.14/5db3846",
    "ProtocolVersion": "ipfs/0.1.0"
}
$ ipfs name publish zdpuArHMUAYi3VtD3f7iSkXxYK9xo687SoNf5stAQNCMzd77k
Error: private key already loaded
kinbug

Most helpful comment

i have fix it in pr #4980

All 5 comments

use cmd "ipfs name rsolve" cause the same error,and i have find the reason.

please assign this issue to me

@alanshaw

i have fix it in pr #4980

Reopening as needs test.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

magik6k picture magik6k  路  3Comments

JesseWeinstein picture JesseWeinstein  路  4Comments

jonchoi picture jonchoi  路  3Comments

0x6431346e picture 0x6431346e  路  3Comments

djdv picture djdv  路  3Comments