-
Notifications
You must be signed in to change notification settings - Fork 529
Open
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)need/maintainer-inputNeeds input from the current maintainer(s)Needs input from the current maintainer(s)
Description
Checklist
- This is a bug report, not a question. Ask questions on discuss.ipfs.tech.
- I have searched on the issue tracker for my bug.
- I am running the latest kubo version or have an issue updating.
Installation method
docker image
Version
Kubo version: 0.38.2-9fd105a
Repo version: 18
System version: amd64/linux
Golang version: go1.25.3
Config
{
"API": {
"HTTPHeaders": {
"Access-Control-Allow-Headers": [
"Authorization",
"Content-Type"
],
"Access-Control-Allow-Methods": [
"PUT",
"GET",
"POST",
"OPTIONS"
],
"Access-Control-Allow-Origin": [
"http://192.168.1.123:9235",
"http://0.0.0.0:9235"
],
"Access-Control-Expose-Headers": [
"Location"
]
}
},
"Addresses": {
"API": "/ip4/0.0.0.0/tcp/9235",
"Announce": [],
"AppendAnnounce": [],
"Gateway": "/ip4/0.0.0.0/tcp/5680",
"NoAnnounce": [],
"Swarm": [
"/ip4/0.0.0.0/tcp/4001",
"/ip6/::/tcp/4001",
"/ip4/0.0.0.0/udp/4001/webrtc-direct",
"/ip4/0.0.0.0/udp/4001/quic-v1",
"/ip4/0.0.0.0/udp/4001/quic-v1/webtransport",
"/ip6/::/udp/4001/webrtc-direct",
"/ip6/::/udp/4001/quic-v1",
"/ip6/::/udp/4001/quic-v1/webtransport"
]
},
"AutoConf": {},
"AutoNAT": {},
"AutoTLS": {},
"Bitswap": {},
"Bootstrap": [
"auto"
],
"DNS": {
"Resolvers": {
".": "auto"
}
},
"Datastore": {
"BlockKeyCacheSize": null,
"BloomFilterSize": 0,
"GCPeriod": "1h",
"HashOnRead": false,
"Spec": {
"mounts": [
{
"mountpoint": "/blocks",
"path": "blocks",
"prefix": "flatfs.datastore",
"shardFunc": "/repo/flatfs/shard/v1/next-to-last/2",
"sync": false,
"type": "flatfs"
},
{
"compression": "none",
"mountpoint": "/",
"path": "datastore",
"prefix": "leveldb.datastore",
"type": "levelds"
}
],
"type": "mount"
},
"StorageGCWatermark": 90,
"StorageMax": "10GB"
},
"Discovery": {
"MDNS": {
"Enabled": true
}
},
"Experimental": {
"FilestoreEnabled": false,
"Libp2pStreamMounting": false,
"OptimisticProvide": false,
"OptimisticProvideJobsPoolSize": 0,
"P2pHttpProxy": false,
"UrlstoreEnabled": false
},
"Gateway": {
"DeserializedResponses": null,
"DisableHTMLErrors": null,
"ExposeRoutingAPI": null,
"HTTPHeaders": {
"Access-Control-Allow-Origin": [
"http://192.168.1.123:5680",
"http://192.168.1.123:9235"
]
},
"NoDNSLink": false,
"NoFetch": false,
"PublicGateways": {
"192.168.1.123:5680": {
"DeserializedResponses": null,
"InlineDNSLink": null,
"NoDNSLink": false,
"Paths": [
"/ipfs",
"/ipns"
],
"UseSubdomains": false
}
},
"RootRedirect": "http://192.168.1.123:9235/webui/"
},
"HTTPRetrieval": {},
"Identity": {
"PeerID": "12D3KooWL5VzcfaV9UD9Hp9MYZoiPpFLLbfBQYat3U91RZQzxLaW"
},
"Import": {
"BatchMaxNodes": null,
"BatchMaxSize": null,
"CidVersion": null,
"HashFunction": null,
"UnixFSChunker": null,
"UnixFSDirectoryMaxLinks": null,
"UnixFSFileMaxLinks": null,
"UnixFSHAMTDirectoryMaxFanout": null,
"UnixFSHAMTDirectorySizeThreshold": null,
"UnixFSRawLeaves": null
},
"Internal": {},
"Ipns": {
"DelegatedPublishers": [
"auto"
],
"RecordLifetime": "",
"RepublishPeriod": "",
"ResolveCacheSize": 128
},
"Migration": {},
"Mounts": {
"FuseAllowOther": false,
"IPFS": "/ipfs",
"IPNS": "/ipns",
"MFS": "/mfs"
},
"Peering": {
"Peers": null
},
"Pinning": {
"RemoteServices": {}
},
"Plugins": {
"Plugins": null
},
"Provide": {
"DHT": {}
},
"Provider": {},
"Pubsub": {
"DisableSigning": false,
"Router": ""
},
"Reprovider": {},
"Routing": {
"DelegatedRouters": [
"auto"
]
},
"Swarm": {
"AddrFilters": null,
"ConnMgr": {},
"DisableBandwidthMetrics": true,
"DisableNatPortMap": false,
"RelayClient": {},
"RelayService": {},
"ResourceMgr": {},
"Transports": {
"Multiplexers": {},
"Network": {},
"Security": {}
}
},
"Version": {}
}Description
I use an nginx container to forward the host ip and other relevant ip address.
Even when setting the ip address here, it still hardcodes links in the kubo web ui as http://127.0.0.1:/ipfs/
"PublicGateways": {
"192.168.1.123:5680": {
"DeserializedResponses": null,
"InlineDNSLink": null,
"NoDNSLink": false,
"Paths": [
"/ipfs",
"/ipns"
],
"UseSubdomains": false
}
},
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)need/maintainer-inputNeeds input from the current maintainer(s)Needs input from the current maintainer(s)