<emunand[m]>
oh yeah, and a way to turn off the daemon through the command line
<emunand[m]>
like for example: "ipfs daemon shutdown"
<SchrodingersScat>
whyrusleeping: I've never used github before, did I do it right?
<emunand[m]>
could be useful to stop ipfs when it is running in the background for average users and can help the person who ported ipfs to android to stop the daemon whenever you want
<whyrusleeping>
SchrodingersScat: LGTM
<SchrodingersScat>
lgtm?
<whyrusleeping>
emunand[m]: oh yeah, that would be good
<whyrusleeping>
looks good to me
<SchrodingersScat>
great
traverseda has joined #ipfs
jleon has joined #ipfs
jleon has quit [Client Quit]
athan has quit [Remote host closed the connection]
stevenaleach has quit [Remote host closed the connection]
<musoke[m]>
whyrusleeping: looks good!
<musoke[m]>
I see that rust is in progress... where would i look for the latest? was thinking that kad might be a fun project to learn rust
<whyrusleeping>
good question... i'm not sure where thats happening at
<musoke[m]>
maybe dignifiedquire would know, looks like they did multihash and multiaddr
<whyrusleeping>
he should be awake in a few hours
aeternity has joined #ipfs
anewuser has quit [Quit: anewuser]
toppler has joined #ipfs
<toppler>
Apologies for the dumb question. Is content served out of https://ipfs.io still all coming out of the one server, or is there some magic JS that lets me get content peer-to-peer?
Foxcool has joined #ipfs
asyncsec has quit [Quit: asyncsec]
Foxcool_ has joined #ipfs
Foxcool has quit [Read error: Connection reset by peer]
Foxcool_ has quit [Ping timeout: 240 seconds]
Foxcool_ has joined #ipfs
<kythyria[m]>
That's a gateway, afaik, not hosting a JS IPFS client.
<kythyria[m]>
(and your browser will think that it's one server. This is surprisingly awkward to fix and has a number of potential problems)
Foxcool_ has quit [Ping timeout: 260 seconds]
spacebar_ has quit [Quit: spacebar_ pressed ESC]
john4 has joined #ipfs
<toppler>
kythyria[m]: Ah, guessed as much. Do you know if there an issue about this I can read up on?
<kythyria[m]>
Well, the problem with it all being one origin is known, and there's a browser javascript flavour of IPFS. IDK if there's particular github issues to watch
Foxcool_ has joined #ipfs
rendar has joined #ipfs
jackv has joined #ipfs
jleon has joined #ipfs
jleon has quit [Client Quit]
fleeky has quit [Read error: No route to host]
mildred3 has joined #ipfs
Caterpillar has joined #ipfs
corvinux has joined #ipfs
btmsn has joined #ipfs
ylp has joined #ipfs
qgnox has quit [Quit: WeeChat 1.7.1]
jungly has quit [Remote host closed the connection]
jungly has joined #ipfs
galois_dmz has joined #ipfs
s_kunk has quit [Ping timeout: 255 seconds]
apiarian has quit [Ping timeout: 240 seconds]
Boomerang has joined #ipfs
wkennington has joined #ipfs
apiarian has joined #ipfs
maxlath has joined #ipfs
ecloud has quit [Ping timeout: 260 seconds]
maxlath1 has joined #ipfs
maxlath has quit [Ping timeout: 240 seconds]
maxlath1 is now known as maxlath
s_kunk has joined #ipfs
ecloud has joined #ipfs
s_kunk has quit [Ping timeout: 240 seconds]
gmcabrita has joined #ipfs
s_kunk has joined #ipfs
jleon has joined #ipfs
jleon has quit [Client Quit]
Guest45287 has quit [Ping timeout: 245 seconds]
espadrine has joined #ipfs
sirdancealot has joined #ipfs
<gde33>
kythyria[m]: make it work with zeronet :P
maxlath has quit [Ping timeout: 240 seconds]
nunofmn has joined #ipfs
tom1 has joined #ipfs
maxlath has joined #ipfs
nunofmn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
galois_dmz has quit [Remote host closed the connection]
tom1 has quit [Quit: WeeChat 1.7.1]
tom1 has joined #ipfs
nunofmn has joined #ipfs
tsetair has quit [Ping timeout: 260 seconds]
wkennington has quit [Quit: Leaving]
Guest45287 has joined #ipfs
nunofmn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nunofmn has joined #ipfs
spossiba has quit [Quit: Lost terminal]
spossiba has joined #ipfs
Foxcool_ has quit [Read error: Connection reset by peer]
Foxcool_ has joined #ipfs
Guest45287 has quit [Ping timeout: 268 seconds]
Guest45287 has joined #ipfs
Kamilion has quit [Ping timeout: 268 seconds]
tg has quit [Quit: Leaving]
jkilpatr has quit [Ping timeout: 246 seconds]
nunofmn has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
espadrine has quit [Quit: Konversation terminated!]
espadrine has joined #ipfs
Kamilion has joined #ipfs
tg has joined #ipfs
Foxcool_ has quit [Read error: Connection reset by peer]
Foxcool_ has joined #ipfs
Foxcool_ has quit [Read error: Connection reset by peer]
Foxcool_ has joined #ipfs
dimitarvp has joined #ipfs
Foxcool_ has quit [Read error: Connection reset by peer]
Foxcool_ has joined #ipfs
m3s has quit [Remote host closed the connection]
Guest219567[m] has joined #ipfs
mildred3 has quit [Ping timeout: 240 seconds]
mildred has quit [Ping timeout: 252 seconds]
jkilpatr has joined #ipfs
Guest219567[m] has left #ipfs ["User left"]
mildred has joined #ipfs
mildred3 has joined #ipfs
<emunand[m]>
could i2p support be a possibility?
asyncsec has joined #ipfs
Foxcool_ has quit [Ping timeout: 260 seconds]
nunofmn has joined #ipfs
jleon has joined #ipfs
dgrisham has quit [Ping timeout: 246 seconds]
dgrisham has joined #ipfs
<SchrodingersScat>
emunand[m]: that would be neat as well
<SchrodingersScat>
emunand[m]: would be easy to host a gateway for them if you wanted.
<emunand[m]>
how would i? redirect the gateway through i2p addresses
khoarau[m]1 has left #ipfs ["User left"]
<emunand[m]>
or do some weird trickery
<SchrodingersScat>
for a gateway like https://ipfs.io/ipfs/ wouldn't you only need to host it like their version of a hidden service?
<SchrodingersScat>
eepsite?
<emunand[m]>
but what about connecting to ipfs nodes with i2p, like tor?
<SchrodingersScat>
last i heard there were some reasons that it wouldn't only want to connect through tor yet, but yeah, that would be a thing to do.
leeola has joined #ipfs
decoy has quit [Read error: Connection reset by peer]
tom1 has quit [Ping timeout: 246 seconds]
ulrichard has joined #ipfs
nunofmn has quit [Read error: Connection reset by peer]
<kevina>
not sure what is going on, at the moment it looks like a problem with the go http libraries
<whyrusleeping>
kevina: i'm pretty sure its a problem with how we're using the http libs
<whyrusleeping>
check commands/http/client.go
<whyrusleeping>
thats where it should be returning the error to
<whyrusleeping>
i think
<kevina>
whyrusleeping: I am there, the reader is being created with NewMultiFileReader and then passed to the http libraries with http.NewRequest
<kevina>
not sure what the correct error path is, the client is the one with the error, but I think the client passes the error to the server, then the sever passes it back to the client
<kevina>
so there is a round trip
<walle303[m]>
Neat, the new libp2p website looks good
<kevina>
whyrusleeping: actually that is not what is happening, when the permission denied is being returned the client just aborts
rendar has quit [Ping timeout: 240 seconds]
<kevina>
c.httpClient.Do(httpReq) returns an error in Send (in client.go) and then Send returns the error on the client side
ShalokShalom has joined #ipfs
<kevina>
when the error does not go through it seams c.httpClient.Do never gets a chance to return with the error because the server aborts first
<kevina>
I hope this makes sense, still not sure how to fix it
<whyrusleeping>
is this just a sort of race condition?
<kevina>
I guess, really not sure
arkimedes has joined #ipfs
<kevina>
basically on the case when the error does not go though MultiFileReader is still returning an error, but the sever aborts before any code in client.Send gets to see the error
<kevina>
whyrusleeping: any hints on debugging this will be helpful
ilackarms_ has quit [Ping timeout: 240 seconds]
<whyrusleeping>
Heh, a hint would imply i knew what was happening. But if i were debugging this, I would try and see why the server is aborting, and try delaying that to see if it makes the error come through more reliably
<kevina>
whyrusleeping: that is in the the go http libraries as far as I can tell
Aranjedeath has joined #ipfs
fleeky has joined #ipfs
<whyrusleeping>
no, the server connection shouldnt abort randomly. Its something that we're calling to do that
<whyrusleeping>
otherwise go http connections everywhere would just randomly break
walle303[m] is now known as walle303[m]2
walle303[m]2 is now known as walle304
walle304 is now known as walle306
walle306 is now known as walle308
walle308 is now known as walle303[m]
walle303 has quit [Remote host closed the connection]
<kevina>
I am really clueless then, as far as I can tell we are doing everything right
<whyrusleeping>
emunand[m]: yeah, i've been watching kencode
Caterpillar has joined #ipfs
strykerkkd has quit [Quit: Leaving]
ashark has quit [Ping timeout: 240 seconds]
<emunand[m]>
hmm, mdns routing didn't help at all, only seemed to worsen it
<emunand[m]>
now i can only connect to 200 nodes instead of 400
Boomerang has joined #ipfs
btmsn has quit [Ping timeout: 245 seconds]
tom1 has joined #ipfs
<whyrusleeping>
emunand[m]: mdns should be turned off if your router is having trouble
tom1 has quit [Client Quit]
<emunand[m]>
yes, but even with it off, i still disconnect from all my nodes once i reach 400 of them
<whyrusleeping>
emunand[m]: is there any way to get any logs from your router?
<whyrusleeping>
or any other information
<whyrusleeping>
also, try running the daemon with --routing=dhtclient
<emunand[m]>
no, my router doesn't seem to have a log on it
asyncsec has joined #ipfs
<emunand[m]>
but i could run a local log since it's only my connection that gets removed
<whyrusleeping>
hrm... i'm interested in seeing what your router says when your connections drop
<emunand[m]>
alright, i will see what i can do
<whyrusleeping>
whats likely happening is youre crashing some part in your router that is dealing with tracking your outbound connections
<whyrusleeping>
no worries if you cant, we know generally what the solution should be
<emunand[m]>
i have a couple of options for my logs here, and they are event logs, system logs, and firewall logs
<emunand[m]>
i think system logs could be useful because it says that it encountered an "invalid argument" when my connection dropped
gottcha has joined #ipfs
caiogondim has quit [Quit: caiogondim]
<emunand[m]>
"drop unknown incoming packet" also looks suspicious
hoboprimate has joined #ipfs
ashark has joined #ipfs
jsgrant__ has joined #ipfs
john has joined #ipfs
john is now known as Guest51669
Guest67930 has quit [Ping timeout: 245 seconds]
jleon has joined #ipfs
espadrine has joined #ipfs
jleon has quit [Client Quit]
qgnox has joined #ipfs
Boomerang has quit [Quit: Lost terminal]
asyncsec has quit [Quit: asyncsec]
<emunand[m]>
huh, dhtclient option seemed to have fixed my disconnection for now
fnurl has quit [Read error: Connection reset by peer]
fnurl has joined #ipfs
mildred has joined #ipfs
ckwaldon has joined #ipfs
dasphyxie has quit [Ping timeout: 255 seconds]
hoboprimate has quit [Quit: hoboprimate]
jsgrant has joined #ipfs
shamal has joined #ipfs
mildred3 has quit [Ping timeout: 245 seconds]
jleon has joined #ipfs
Encrypt has quit [Quit: Quit]
jleon has quit [Client Quit]
aeternity has quit [Ping timeout: 245 seconds]
kvda has joined #ipfs
aeternity has joined #ipfs
strykerkkd has joined #ipfs
Caterpillar has quit [Quit: You were not made to live as brutes, but to follow virtue and knowledge.]
Oatmeal has quit [Ping timeout: 240 seconds]
ashark has quit [Ping timeout: 260 seconds]
jkilpatr has quit [Remote host closed the connection]
ashark has joined #ipfs
ashark has quit [Ping timeout: 252 seconds]
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
jedahan has joined #ipfs
shizy has quit [Ping timeout: 268 seconds]
anewuser has quit [Quit: anewuser]
j has joined #ipfs
j is now known as Guest70992
dimitarvp` has quit [Quit: Bye]
Oatmeal has joined #ipfs
mildred has quit [Read error: Connection reset by peer]
<Guest70992>
Hi guys I'm new to IPFS, I had an old machine A with identity A that got wipe. Can I get my identity back by forcing the "ipfs init" command to reuse my old identity A(hashkey)
mildred has joined #ipfs
<whyrusleeping>
Guest70992: do you have the config file from the old machine?
<Guest70992>
I can probably get it
<Guest70992>
what do I do with it?
<whyrusleeping>
you can run `ipfs init configfile`
<whyrusleeping>
to initialize a new node with the same config file
<whyrusleeping>
including identity
<Guest70992>
thanks a lot @whyrusleeping :) you are a lifesaver!