whyrusleeping changed the topic of #ipfs to: go-ipfs 0.4.17 is out! Try out all the new features: https://dist.ipfs.io/go-ipfs/v0.4.17 | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS, the InterPlanetary FileSystem: https://github.com/ipfs/ipfs | Logs: https://botbot.me/freenode/ipfs/ | Forums: https://discuss.ipfs.io | Code of Conduct: https://git.io/vVBS0
<swedneck[m]> is there a list of public gateways somewhere? i'd like to add mine to it
}ls{ has quit [Quit: real life interrupt]
<swedneck[m]> thanks!
<swedneck[m]> think adding it to the json file is enough?
<lidel> yup
<swedneck[m]> great
MDude has quit [Read error: No route to host]
MDude has joined #ipfs
reit has quit [Quit: Leaving]
stoopkid has joined #ipfs
reit has joined #ipfs
not-a-dog has quit [Remote host closed the connection]
colatkinson has joined #ipfs
Alpha64 has joined #ipfs
colatkinson has quit [Quit: colatkinson]
lassulus_ has joined #ipfs
user_51 has quit [Ping timeout: 240 seconds]
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
user_51 has joined #ipfs
patientplatypus has joined #ipfs
<patientplatypus> i have questions is anyone in here alive?
<AphelionZ> patientplatypus: i can try to help
<patientplatypus> cool!
<patientplatypus> AphelionZ im trying to figure out how to make a chat application using ipfs
<AphelionZ> cool, im doing something similar, we can compare notes
<patientplatypus> the problem i have right now is that I can save to ipfs from any browser and get a hash back BUT
<patientplatypus> i have no way of sharing that hash so another peer can pull it
<patientplatypus> a dumb dumb workaround is just add a websocket microservice, but thats going to be a pain in the ass
<AphelionZ> well so you could use pubsub for this, just agree on a channel to listen to
<AphelionZ> but of course those messages are being broadcast to the global IPFS network
<patientplatypus> ok...but i havent found an implementation of pubsub that works
<patientplatypus> do you have an example somewhere that youve confirmed works?
<AphelionZ> negative, define "works" tho
<patientplatypus> haha
<patientplatypus> well theres just a lot of broken and incomplete examples of ipfs ive found
<patientplatypus> like they assume that you have a webrtc multiaddress but make no mention of how about going and getting one for example
<AphelionZ> ah i can help with that
<AphelionZ> do you have a go node or only js-ipfs
<patientplatypus> i have go in the backend, and js in the front
<patientplatypus> so i can use either, but i dont know how to use ipfs with go programmatically (as opposed to the daemon)
<AphelionZ> ok so in your .ipfs/config file, show me what you have in the Addresses.Swarm section
<AphelionZ> i literally just did this today haha
<patientplatypus> ok cool one sec
<patientplatypus> this is probably the part we have to alter no?
<patientplatypus> "Addresses": {
<patientplatypus> "/ip4/0.0.0.0/tcp/4001",
<patientplatypus> "Swarm": [
<patientplatypus> "/ip6/::/tcp/4001"
<patientplatypus> ],
<patientplatypus> "Announce": [],
<patientplatypus> "NoAnnounce": [],
<patientplatypus> "API": "/ip4/127.0.0.1/tcp/5001",
<patientplatypus> "Gateway": "/ip4/127.0.0.1/tcp/8080"
<patientplatypus> },
<AphelionZ> add this address to the swarm array: /ip4/0.0.0.0/tcp/4001/ws
<AphelionZ> then in your js-ipfs, add something like the following to your IPFS config
<patientplatypus> but wait hold on - so this is opening a websocket on localhost BUT
<patientplatypus> BUT
<AphelionZ> mm?
<patientplatypus> what if i am distributing this frontend application to many clients
<patientplatypus> ?
<patientplatypus> then localhost will no longer work - you see?
<patientplatypus> this is a problemo
<AphelionZ> well yeah you'll need it on a server eventually
<patientplatypus> or am i totally wrong on this?
<patientplatypus> so how would i change this if i put it on a server - would i ipfs init on the server and then change /ip4/0.0.0.0/tcp/4001/ws to /ip4/<SERVERADDRESS>/tcp/4001/ws ?
<patientplatypus> does that sound right? im just guessing honestly?
<AphelionZ> no, 0.0.0.0 is fine
<AphelionZ> that publicly exposes that port
<AphelionZ> as opposed to 127.0.0.1 which will be localhost-only
<AphelionZ> keep 0.0.0.0, and add the line I said
<patientplatypus> hmmm ok
<AphelionZ> don't overthink this, yet
<AphelionZ> let's just get it working first and then you can break it
<patientplatypus> ok doke lines added
<patientplatypus> thanks for your patience ive been going crazy trying to get this to work
<AphelionZ> ok so restart the daemon and check the logs and make sure it swarms on /ws
stoopkid has quit [Quit: Connection closed for inactivity]
<patientplatypus> ok one sec
<patientplatypus> patientplatypus:~/.ipfs:21:58:02$ipfs daemon
<patientplatypus> Successfully raised file descriptor limit to 2048.
<patientplatypus> Initializing daemon...
<patientplatypus> Swarm listening on /ip4/127.0.0.1/tcp/4001/ws
<patientplatypus> Swarm listening on /ip4/172.16.1.2/tcp/4001/ws
<patientplatypus> Swarm listening on /ip6/::1/tcp/4001
<patientplatypus> Swarm listening on /p2p-circuit/ipfs/QmdC3TgNDvYnJDDJE3sgNjhJNkmsfAvgogKVr4UVifKipM
<patientplatypus> Swarm announcing /ip4/127.0.0.1/tcp/4001/ws
<patientplatypus> Swarm announcing /ip4/172.16.1.2/tcp/4001/ws
<patientplatypus> Swarm announcing /ip6/::1/tcp/4001
<patientplatypus> API server listening on /ip4/127.0.0.1/tcp/5001
<patientplatypus> Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
<patientplatypus> Daemon is ready
<patientplatypus> bing
<patientplatypus> websockets are socketing
<AphelionZ> use a pastebin my man
<AphelionZ> and yes, greag!
<AphelionZ> great*
<patientplatypus> ah sorry k
<AphelionZ> so NOW, in your js... add that address like
<AphelionZ> quite alright
<AphelionZ> the address in MY js looks like:
<AphelionZ> /dns4/example.com/tcp/9091/wss/ipfs/QmU.....
<patientplatypus> errr....
<patientplatypus> that's strange looking
<patientplatypus> is that in the swarm specification?
<AphelionZ> bootstrap
<AphelionZ> yours wouldnt be wss though, it would be ws
<AphelionZ> and it would be an ipv4 multihash, not a dns4
<patientplatypus> ok sorry now im totally lost
<AphelionZ> here I'll PM it hang on
<patientplatypus> thank you very much (i wont steal ur thingz i just want to noze)
<patientplatypus> hehe
<patientplatypus> hi
<AphelionZ> so bootstrap are (as i see them) foundational peers that you connect to first and always to set up your initial peering, I sww swarm peers as more like "user" nodes
<AphelionZ> the addresses are multiaddrs https://github.com/multiformats/multiaddr
<patientplatypus> mmm
<patientplatypus> can i ask ipfs what my multiaddress should be?
<AphelionZ> yes, "ipfs id"
<AphelionZ> and it will give you a list of viable addresses
<AphelionZ> some localhost-only, some not
<patientplatypus> ah
<patientplatypus> private chan a sec?
<AphelionZ> ya
<AphelionZ> so let's close the look
<AphelionZ> loop*
<patientplatypus> k
<AphelionZ> add a viable address to your js config
<patientplatypus> sorry where? in the code or somewhere in ~/.ipfs
<AphelionZ> in your js-ipfs code
<AphelionZ> i thought you had some, was i mistaken?
<patientplatypus> well....
<patientplatypus> 😅
<patientplatypus> let me do that and add it in and see where i get
<patientplatypus> should take a little bit - you don't have to stick around if you dont want
<patientplatypus> thanks for the help!
<AphelionZ> good luck!
<patientplatypus> thanks!
not-a-dog has joined #ipfs
not-a-dog has quit [Ping timeout: 260 seconds]
ilyaigpetrov has joined #ipfs
patientplatypus has quit [Read error: No route to host]
tribrid has quit [Quit: Textual IRC Client: www.textualapp.com]
m3s has quit [Quit: leaving]
m3s has joined #ipfs
stoopkid has joined #ipfs
not-a-dog has joined #ipfs
not-a-dog has quit [Ping timeout: 240 seconds]
colatkinson has joined #ipfs
xentec has quit [Quit: memento mori]
xentec has joined #ipfs
henriquev has quit [Quit: Connection closed for inactivity]
Alpha64 has quit [Read error: Connection reset by peer]
xentec has quit [Quit: memento mori]
xentec has joined #ipfs
toxync01 has quit [Ping timeout: 245 seconds]
toxync01 has joined #ipfs
TripFandango has quit [Remote host closed the connection]
dimitarvp has quit [Quit: Bye]
TripFandango has joined #ipfs
colatkinson has quit [Ping timeout: 252 seconds]
rendar has joined #ipfs
joocain2 has quit [Remote host closed the connection]
joocain2 has joined #ipfs
not-a-dog has joined #ipfs
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
not-a-dog has quit [Ping timeout: 240 seconds]
elkalamar has joined #ipfs
}ls{ has joined #ipfs
Steverman has joined #ipfs
toxync01 has quit [Quit: ZNC 1.7.0 - https://znc.in]
toxync01 has joined #ipfs
not-a-dog has joined #ipfs
not-a-dog has quit [Ping timeout: 240 seconds]
Encrypt has joined #ipfs
jcgruenhage has quit [Read error: Connection reset by peer]
mkg20001 has quit [Read error: Connection reset by peer]
Kolonka[m] has quit [Remote host closed the connection]
turt2live has quit [Read error: Connection reset by peer]
simbergm has quit [Read error: Connection reset by peer]
k0mpjut0r has quit [Read error: Connection reset by peer]
peddie1 has quit [Read error: Connection reset by peer]
mitfree[m] has quit [Read error: Connection reset by peer]
Fuseteam has quit [Remote host closed the connection]
swedneck[m] has quit [Remote host closed the connection]
stebalien has quit [Read error: Connection reset by peer]
lordpipe has quit [Remote host closed the connection]
dcallagh has quit [Remote host closed the connection]
mindhog[m] has quit [Remote host closed the connection]
betz[m] has quit [Write error: Connection reset by peer]
lordpipe has joined #ipfs
mkg20001 has joined #ipfs
dcallagh has joined #ipfs
simbergm has joined #ipfs
jcgruenhage has joined #ipfs
turt2live has joined #ipfs
peddie1 has joined #ipfs
mindhog[m] has joined #ipfs
Fuseteam has joined #ipfs
k0mpjut0r has joined #ipfs
swedneck[m] has joined #ipfs
mitfree[m] has joined #ipfs
stebalien has joined #ipfs
betz[m] has joined #ipfs
Encrypt has quit [Quit: Quit]
lnostdal has quit [Ping timeout: 245 seconds]
plexigras has joined #ipfs
lnostdal has joined #ipfs
lnostdal has quit [Ping timeout: 252 seconds]
not-a-dog has joined #ipfs
malaclyps has quit [Read error: Connection reset by peer]
malaclyps has joined #ipfs
not-a-dog has quit [Ping timeout: 260 seconds]
lnostdal has joined #ipfs
lnostdal has quit [Ping timeout: 252 seconds]
lnostdal has joined #ipfs
lnostdal has quit [Ping timeout: 252 seconds]
lnostdal has joined #ipfs
Encrypt has joined #ipfs
not-a-dog has joined #ipfs
stoopkid has quit [Quit: Connection closed for inactivity]
elkalamar has quit [Ping timeout: 252 seconds]
lnostdal has quit [Ping timeout: 245 seconds]
reit has quit [Quit: Leaving]
lnostdal has joined #ipfs
patientplatypus has joined #ipfs
Fessus has quit [Remote host closed the connection]
<patientplatypus> anyone alive in here
Fessus has joined #ipfs
patientplatypus has quit [Remote host closed the connection]
reit has joined #ipfs
not-a-dog has quit [Remote host closed the connection]
not-a-dog has joined #ipfs
goiko has joined #ipfs
dolphy has joined #ipfs
patientplatypus has joined #ipfs
not-a-dog has quit [Remote host closed the connection]
Alpha64 has joined #ipfs
djdv has quit [Quit: brb hardware bugs]
discopatrick has joined #ipfs
slovenia has joined #ipfs
slovenia has quit [Quit: Leaving]
goiko has quit [Ping timeout: 252 seconds]
slovenia has joined #ipfs
MDude has quit [Ping timeout: 252 seconds]
MDude has joined #ipfs
slovenia has quit [Quit: Leaving]
slovenia has joined #ipfs
slovenia has quit [Remote host closed the connection]
slovenia has joined #ipfs
slovenia has quit [Client Quit]
slovenia has joined #ipfs
djdv has joined #ipfs
<patientplatypus> stack overflow question if anyone has any ideas: https://stackoverflow.com/questions/52130383/ipfs-swarm-address-malformed
patientplatypus has quit [Remote host closed the connection]
slovenia has quit [Quit: Leaving]
slovenia has joined #ipfs
slovenia has quit [Quit: Leaving]
Encrypt has quit [Quit: Quit]
dimitarvp has joined #ipfs
olizilla has quit [*.net *.split]
dimitarvp has quit [Client Quit]
olizilla has joined #ipfs
dimitarvp has joined #ipfs
lgierth has quit [Quit: WeeChat 1.4]
lgierth has joined #ipfs
patientplatypus has joined #ipfs
fireglow has quit [Quit: Gnothi seauton; Veritas vos liberabit]
fireglow has joined #ipfs
Tuxkowo has quit [*.net *.split]
zopsi has quit [*.net *.split]
Taoki has quit [*.net *.split]
fraxed has quit [*.net *.split]
paolof has quit [*.net *.split]
probono_ has quit [*.net *.split]
omnigoat has quit [*.net *.split]
jacobheun has quit [*.net *.split]
oleavr has quit [*.net *.split]
pedrot has quit [*.net *.split]
jbenet has quit [*.net *.split]
mgoelzer has quit [*.net *.split]
bigs has quit [*.net *.split]
linear has quit [*.net *.split]
cnomad has quit [*.net *.split]
<AphelionZ> patientplatypus: I can keep trying to help
<patientplatypus> oh hi AphelionZ
<patientplatypus> did i do something wrong
discopatrick has quit [Quit: Connection closed for inactivity]
cnomad has joined #ipfs
<AphelionZ> i dunno yet :D
<AphelionZ> maybe I gave you bad advice, we'll see
paolof has joined #ipfs
zopsi has joined #ipfs
<patientplatypus> :P
rendar has quit []
fractex has joined #ipfs
<lidel> patientplatypus, is 'QmdC3TgNDvYnJDDJE3sgNjhJNkmsfAvgogKVr4UVifKipM' ipfs id of your js-ipfs node or the go-ipfs one ?
<AphelionZ> hey folks what is the practical difference between running https://github.com/libp2p/js-libp2p-websocket-star-rendezvous alone and running a full-service IPFS node
<patientplatypus> @lidel how do i tell
<AphelionZ> does the latter encapsulate the former or are they fundamentally different
<lidel> patientplatypus, ipfs id
<patientplatypus> @lidel go-ipfs... i dont think i have js-ipfs installed. however i thought that was just what it was compiled in and it didnt matter what version you had.
<AphelionZ> patientplatypus: if you are using IPFS in the browser it's js-ipfs
tribrid has joined #ipfs
<patientplatypus> so do i need to delete and reinstall ipfs but use js-ipfs this time?
<lidel> patientplatypus, honestly I have trouble to understand twhat is your goal
<patientplatypus> chat application using pubsub in the frontend
<patientplatypus> pretty straightforward
malaclyps has quit [Ping timeout: 246 seconds]
<lidel> patientplatypus, you dont need go-ipfs for that, you need to enable pubsub in js-ipfs's constructor and then maybe websocket signaling via websocket-star
<lidel> should be enough to start coding
<patientplatypus> @lidel so, the command line daemon is written in go, but im installing the js-ipfs through npm in my frontside application. See here: https://github.com/ipfs/js-ipfs and here: https://dist.ipfs.io/#go-ipfs (notice there is no js-ipfs daemon tool).
<patientplatypus> and i think i have the things you are talking about in my SO (https://stackoverflow.com/questions/52130383/ipfs-swarm-address-malformed)
<lidel> patientplatypus, how are you running it? bundling via webpack?
<lidel> or running in node?
<patientplatypus> in vue.js with webpack but i dont think that should matter
malaclyps has joined #ipfs
<lidel> patientplatypus, i know there were issues with default minifier in webpack and js-ipfs, but before we go that road, what actually does not work?
<lidel> if we removed the need for go-ipfs, whats left to fix? :)
<patientplatypus> im not sure i follow - i have to have go-ipfs as its the daemon
<patientplatypus> confused
<lidel> why?
<lidel> js-ipfs is a regular node
<lidel> for chat its all you need
<lidel> :)
<lidel> in production you may want to run own signaling server and/or relay, but for now i would not think about that and focus on the app itself
Guest43893 has joined #ipfs
<lidel> patientplatypus, question: how did you check if connection to your local go-ipfs node failed? was there an error or was it just not present in output of js call ipfs.swarm.peers(..)?
teej has joined #ipfs
Fuseteam has quit [Read error: Connection reset by peer]
simbergm has quit [Remote host closed the connection]
mkg20001 has quit [Read error: Connection reset by peer]
betz[m] has quit [Remote host closed the connection]
swedneck[m] has quit [Read error: Connection reset by peer]
lordpipe has quit [Remote host closed the connection]
mitfree[m] has quit [Remote host closed the connection]
turt2live has quit [Read error: Connection reset by peer]
mindhog[m] has quit [Read error: Connection reset by peer]
stebalien has quit [Read error: Connection reset by peer]
peddie1 has quit [Read error: Connection reset by peer]
dcallagh has quit [Read error: Connection reset by peer]
jcgruenhage has quit [Read error: Connection reset by peer]
k0mpjut0r has quit [Write error: Connection reset by peer]
Nukien has quit [Ping timeout: 260 seconds]
Nukien has joined #ipfs
<lidel> cool :) patientplatypus:by default there are 8 bootstrap servers, error you see means one of them is probably down, its ok to ignore it as long other ones work
<patientplatypus> ahhhhh i see
<patientplatypus> wellll.....my other problems still stand can't get it to work yet unfortunately
<patientplatypus> boooo
<lidel> patientplatypus, i wonder why two tabs can't see each other, maybe because you use the same repo (and peerid?) in both of them?
<lidel> try testing using two different browsers (eg. firefox and chrome)
<patientplatypus> same problem im afraid
<patientplatypus> ive been doing that as well
<lidel> I need to run, but some options to try: enable webrtc, replace rendezvous star with circuit relay (https://github.com/ipfs/js-ipfs/tree/master/examples/circuit-relaying) provided by local go-ipfs
<lidel> :)
dcallagh has joined #ipfs
lordpipe has joined #ipfs
mkg20001 has joined #ipfs
simbergm has joined #ipfs
jcgruenhage has joined #ipfs
peddie1 has joined #ipfs
turt2live has joined #ipfs
mindhog[m] has joined #ipfs
Fuseteam has joined #ipfs
k0mpjut0r has joined #ipfs
mitfree[m] has joined #ipfs
swedneck[m] has joined #ipfs
stebalien has joined #ipfs
betz[m] has joined #ipfs
corvinux has joined #ipfs
corvinux has quit [Quit: Leaving]
patientplatypus has quit [Remote host closed the connection]
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
<swedneck[m]> well pointing the dns record to the directory above riot fixes it, but then you're not taken directly to riot..
Alpha64 has quit [Read error: Connection reset by peer]
Jesin has quit [Quit: Leaving]
Jesin has joined #ipfs
tribrid has quit [Quit: Textual IRC Client: www.textualapp.com]
Mateon3 has joined #ipfs
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
emunand has joined #ipfs
plexigras has quit [Ping timeout: 252 seconds]
teej has quit [Quit: Connection closed for inactivity]
user_51 has quit [Ping timeout: 240 seconds]
user_51 has joined #ipfs
Guest43893 has quit [Ping timeout: 245 seconds]
lemonpepper24 has quit [Ping timeout: 252 seconds]
patagonicus42 has quit [Ping timeout: 260 seconds]
moonman_ has joined #ipfs
moonman_ has quit [Ping timeout: 246 seconds]
m3s has quit [Remote host closed the connection]
patagonicus42 has joined #ipfs