IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#saltr
/2023/01/26
dr|z3d before you do restart...
y2kboy23 Autoport was on. I just turned that off
dr|z3d ok, that might also help. not sure where/why that gets set, not in the UI.
dr|z3d you can explicitly set up both tcp and udp ports on /confignet
dr|z3d udp should already be set. TCP port can be set to specify with the same port.
y2kboy23 I looked but didn't see where. I just changed the port and turned that off.
y2kboy23 Brb. Rebooting.
y2kboy23 Something's going on. It's hanging on to old info or something.
y2kboy23 Deleted router.info
dr|z3d might be something strange happening with the docker image.
dr|z3d keep an eye on /logs
not_bob dr|z3d: Still doing it with that version. Flashing
dr|z3d is that without clicking, not_bob?
dr|z3d just on refresh?
dr|z3d be sure to ctrl+shift+delete just in case your browser has cached the js.
dr|z3d * ctrl+shift+R sorry
not_bob Just on refresh
not_bob I've done that, ctrl+shift+r
not_bob Yep, did it again to confirm.
dr|z3d so what's probably happening is that the ajax refresh for filters is causing a flash. not seeing that here, either locally or over ssh, but still. it's less efficient than the non-filter bar refresh, which just updates changes elements, not the entire table.
dr|z3d so I'm currently working on using the same refresh code for both modes.
not_bob I may only be seeing it because of my slow setup.
dr|z3d yeah, more than likely, but that's helpful where I can't see or cause the issue.
not_bob Running code on slow hardware is a great way to find bugs :)
not_bob Loading all the torrents back up takes forever.
dr|z3d if it's integrity checking them all, every time, then there's something not right there. zzz seems to think symlinked dirs isn't a problem. so idk.
not_bob It did it before the symlink.
dr|z3d can you run a permissions check on i2p/i2psnark.config.d ?
dr|z3d when the torrents have loaded, do they retain the uploaded amount info, or it's not there?
dr|z3d * .i2p/i2psnark.config.d ?
dr|z3d also, is your data dir local, or on a shared network drive?
not_bob Local
dr|z3d when the torrents have loaded, do they retain the uploaded amount info, or it's not there?
not_bob There are a lot of files in config.d
not_bob When the load they show the correct status.
not_bob And amounts.
dr|z3d sure, that's where all the per-torrent configs are stored.
dr|z3d ok, correct status is good. that indicates that data is being pulled from that dir and correctly saved. so it's just a question of the integrity flag not being set correctly it would appear.
not_bob *nod*
not_bob Normaly it's not a major issue, but with this testing it's lots of restarts :)
dr|z3d well, sure, it's something you can live with but it still smells like a bug that needs to be fixed.
dr|z3d anyways, the integrity checking I think is probably an upstream bug. the filter page flashes is my issue. working on it.
dr|z3d how many torrents roughly are loaded, not_bob?
dr|z3d ~100, ~200, ~500, or more than that?
dr|z3d and you have a pagesize configured?
not_bob 50 torretns per page
not_bob Default I think on that setting.
dr|z3d ok.. trying to understand the before / after effect of the new filterbar sphere of operation.
dr|z3d before, filters were limited to pagesize, now filters are limited to pagesize=9999.
dr|z3d that's also likely causing the flash when the page refreshes, if you're on a slow connection with 400 torrents loaded.
not_bob Hmm, that could be the entire issue.
dr|z3d well, not entirely, but doubtless it's part of the issue.
dr|z3d and when the page flashes, does it look like the css is reloading.. theme looks janky for a second?
not_bob Let me do it againt to be sure.
dr|z3d ok, so white flash, large icons, then the theme resets kinda thing..
not_bob I get big icons at the top, x, up and down. Then a list, but one taht's not css modified.
not_bob Then it goes normal.
dr|z3d might be easier to fix than I was thinking, then.
dr|z3d ok, I've seen that here, occasionally. I think we're getting somewhere :)
not_bob Good, progress!
not_bob I'll have more torrents loaded here soon.
dr|z3d ok, just testing a theory here. if it looks like it addresses your issue, I'll build a new standalone.
not_bob It flashes the exact same way when I hit cancel on the search box.
not_bob But, that's ok. It only does it once then.
not_bob Not every 5 seconds.
not_bob Sweet.
not_bob And I'll very slowly grab it :(
not_bob i2p has not been all that fast for me as of late.
not_bob Thank you.
dr|z3d no worries, thanks for helping triage the issue.
dr|z3d ok, not_bobski, building a new standalone.
not_bob Sweet!
not_bob Let me know when it's ready and where to grab it from and I'll test.
dr|z3d ready. done.
not_bob Trying to download it.
not_bob I'll have it in an hour :(
dr|z3d dang, that internet you're on slow ass right now :)
not_bob And it failed, as expected.
not_bob Re-downloading.
dr|z3d using eepget?
dr|z3d or wget -c ?
not_bob I get the same results no matter what I use. But, don't worry. I can auto-resume.
dr|z3d ok, good :)
dr|z3d could be your client timing out I guess.
not_bob Possible.
not_bob Almost got it.
dr|z3d *thumbs up*
not_bob I'll let you know the results are when I get it moved to where it needs to go and restarted.
not_bob No better.
not_bob Let me try something on my end.
not_bob Nope, that didn't help either.
not_bob I unziped it to a new folder and did a symlink to the data directory.
not_bob That way it's a fresh config.
not_bob No chance of anything old laying about.
dr|z3d no, not a fresh config if it's standalone.
not_bob My defaults were all reset.
not_bob theme and whatnot.
dr|z3d or maybe it is. I think standalone has a separate config dir, but let me check.
dr|z3d yeah, ok, you're fine.
dr|z3d config dir gets created in the i2psnark dir you're running it from.
not_bob Yep, that's what I thought.
dr|z3d so no improvement then. with hard refresh and all?
dr|z3d and what theme are you on?
dr|z3d if you can try ubergine..
not_bob Correct.
not_bob Let me try that.
not_bob light
not_bob It's not doing it now.
not_bob I switched themes.
dr|z3d yeah wtf wtf?
dr|z3d if you switch back to light, does the behavior come back?
not_bob Let me try that.
not_bob Yep, back to it.
not_bob Yeah, why does it work right in one theme, but not the other?
dr|z3d well that's interesting. what about the dark theme?
dr|z3d indulge me for a moment and then we'll probably have the answer.
dr|z3d I'm guessing dark is flash free.
dr|z3d but vanilla isn't.
not_bob zilvero is flash free.
not_bob classi is not flash free.
not_bob dark is flashfree
dr|z3d ok, thought it might be.
not_bob ~light is not flash free
not_bob What's the theroy?
not_bob Vanilla is flash free.
dr|z3d oh, well that blows my theory out the water then.
not_bob But, I can see it "pulse" when it updates.
not_bob A much more relaxed thing.
dr|z3d you mean the loading line at the top of the torrents table?
not_bob No, more of a very, very quick reset.
not_bob Not the whole screen flashing.
not_bob Just minor updates as expected.
not_bob I'm not seeing it now.
not_bob Anyway, I can live with this theme. It's not nearly as pretty as whatver I was using, but I can read it.
not_bob Also, being able to see all downloading torrents at one shot is nice.
dr|z3d my theory was that there was some additional css I'd added to ubergine and dark to double hide the non-filtered table rows.
dr|z3d which theme is not as pretty?
dr|z3d don't tell me you're dissing vanilla...
not_bob Yep, vanilla. No, I just like classic better.
dr|z3d vanilla is iraq friendly. use it in the desert without drawing attention.
dr|z3d ok, so classic and light have the issue, the rest, not. midnight?
not_bob I think that's why I like it.
not_bob Checking.
not_bob That would be correct.
not_bob Midnight si fine.
dr|z3d ok, that's interesting. no real rhyme or reason why some work without flash, others not. but I'll focus on the themes, not the js.
not_bob Yeah, I don't get it either. I never bothred to swtich themes before.
dr|z3d but other than that, which you've rectified with a theme change, how's the speed when changing filters?
not_bob Back to what you said about Vanilla. I should spend more time in Dubai.
not_bob as fast as I expect.
not_bob Nearly instant.
not_bob Minus the limits of my setup.
dr|z3d responsive? not overly laggy on a chunk of 400+ torrents? instant, eh. great.
not_bob Yeah, fast.
dr|z3d as fast as before, faster, or about the same?
not_bob Feels about the same.
not_bob But, I think that's my own lag.
dr|z3d well that's good given it's now working all all torrents not just the page you're viewing. so a win.
not_bob Yes, this is quite the improvmenet.
not_bob More than I'd asked for.
dr|z3d I don't think you asked for anything :)
not_bob I asked zzz for stuff
not_bob Mostly money
dr|z3d well, not regarding the filter bar, maybe for the search, but that's zzz's baby.
not_bob He says he doesn't have any either.
dr|z3d at some point I'll look at realtime search.
not_bob I'll go bug that Elon guy that's been in the news.
dr|z3d for now I'm content to leave javascript alone for a bit. doing the filterbar was far more work and frustration than I wanted.
not_bob I can imagine.
dr|z3d still, the end result seems fairly robust now. until someone finds ways of breaking it :)
not_bob Give me time!
not_bob Alas, I'm off for a while. The wife has said dinner is almost ready.
dr|z3d ok, no worries. filter + sorting should work, filter + sorting + debug mode also. bon appetit!
T3s|4 I've updated and restarted twice (one from the console and one from skank) during the past hour. Both still show: Revision: 6e0b65f5 (Build date: 2023-01-24 05:51:28 UTC), i.e. the same version I've seen for the past 2+ days. Is it possible you are not updating the Revision information with each update? I also see: Updated: Thu Jan 26 03:13:27 GMT 2023  Update Policy: notify
T3s|4 (Development updates enabled). In any event, Snark's filter bar remains broken here
T3s|4 dr|z3d: ^forgot to highlight you ;p
dr|z3d T3s|4: not possible, no. I downloaded from skank and got the new revision.
dr|z3d did you check your logs post-update?
dr|z3d I really want to know what your wrapper logs are saying about the update...
dr|z3d because you've downloaded from both skank and gitlab which both have the current build with a new revision, so something is misfiring with your update.
dr|z3d > T3s|4: not possible, no. I downloaded from skank and got the new revision.
dr|z3d > did you check your logs post-update?
dr|z3d > I really want to know what your wrapper logs are saying about the update...
dr|z3d > because you've downloaded from both skank and gitlab which both have the current build with a new revision, so something is misfiring with your update.
dr|z3d earth calling T3s|4, over....
T3s|4 dr|z3d: been checking my wrapper logs - pretty sure this is a permissions; I see: ---------- 1 user user 35212 Jan 24 06:01 graceful_update
T3s|4 permissions *problem
dr|z3d graceful_update is a standalone script, doesn't have any bearing on the console updater.
dr|z3d does your wrapper log report a successful update?
T3s|4 I see these repeatedly in the logs:
T3s|4 INFO: Update file exists: /home/user/.i2p/i2pupdate.zip - installing...
T3s|4 2023/01/25 07:38:13 | ERROR: Error extracting the zip entry (graceful_update)
T3s|4 2023/01/25 07:38:13 | java.io.FileNotFoundException: /home/user/i2p/graceful_update (Permission denied)
dr|z3d so it's a permissions issue then.
dr|z3d what are the permissions on the file in question?
T3s|4 ^what I posted at 04:02
dr|z3d only shows me the user, assuming the user you're running as is "user".
dr|z3d doesn't show me read/write permissions.
T3s|4 looks like 000 for that file, which is why I showed you `----------` no read, write or execute
dr|z3d ls -l /home/user/i2p/ |grep graceful_update
dr|z3d -rwxrwx--x+ 1 user user 35241 Jan 26 00:36 graceful_update
dr|z3d or you can just delete it and it'll be restored when you update.
dr|z3d so that's your problem. in future, if you find you haven't updated properly, ALWAYS check wrapper logs.
dr|z3d a successful update will tell you it's successful and report the number of extracted files etc.
T3s|4 Blinded message
dr|z3d must have got corrupted.
T3s|4 ok - I'll nuke it and pull in another update
T3s|4 thanks dr|z3d - that was it, all fixed now with a working filter bar. I would have carefully checked my logs yesterday, but I've been slammed of late and forced to keep my head down and solely focused on work
dr|z3d live and learn, T3s|4, live and learn :)
dr|z3d so NOW you can give the filterbar a good throbbing and tell me how it behaves :)
not_bob It seems to be working well here so long as I use a theme that works with it.
dr|z3d great, not_bob
dr|z3d nothing obvious jumps out in the themes that flash, but I'll do some more digging.
not_bob I can live with vanilla :)
dr|z3d of course you can :) not a bad theme. :)
not_bob I'm getting in excess of 600kps download speeds with i2ppsnark on that machine.
not_bob Total.
not_bob No single torrent going over 100kps.
not_bob That's pretty impressive.
dr|z3d if you vary the tunnel length you'll make your dest harder to correlate to an ip and improve speeds.
not_bob I'm using stock settings on that.
dr|z3d you know, 2 hops with a +0-1 variance.
not_bob HOw do I set the variance with snark?
dr|z3d under I2CP options on configs.
dr|z3d {inbound/outbound}.lengthVariance=1
dr|z3d do for both.
dr|z3d if you did it right, you should see the tunnel length vary on /tunnels
not_bob I only see the I2CP options box for inbound.
not_bob When I add that there, nothing happens.
not_bob IE, it comes back to the same config screen with nothing in the text box.
dr|z3d where are you trying to change that?
not_bob And, yes. I'm running it on port 8003. I have other instnaces on other machines running on other ports.
dr|z3d one input box to rule them all, both inbound and outbound.
dr|z3d but it might not work with i2pd. dunno.
not_bob That might be.
not_bob But, it should still save the setting?
dr|z3d if you put it in right, yes.
not_bob Ahh, I get a line in the messages area above that says "config unchange" every time I try to add that.
not_bob Let me look at the config files.
not_bob Now to restart i2psnark.
dr|z3d should be more or less instant.
dr|z3d assuming i2pd supports variance, which it may not.
not_bob No ned?
dr|z3d no need.
not_bob i2psnark.i2cpOptions=
not_bob This line.
not_bob in i2psnark.config
not_bob Ok, now it shows up.
not_bob I may have fucked up.
not_bob I tried to copy/paste what you wrote. I moved them two two entires.
not_bob I'm pretty sure that was the issue.
not_bob inbound.lengthVariance=1 outbound.lengthVariance=1
dr|z3d {foo/bar} is pretty well establishing syntax.
dr|z3d it means use either / or without the { }
dr|z3d *established
not_bob Yeah, I'm an idiot.
not_bob Yeah.
dr|z3d if variance isn't supported in i2pd, have a word with orignal, see if you can work some magic on him.
dr|z3d tell him it's an anonymity enhancement, mitigates some attacks.
not_bob At least I figured it out quickly.
not_bob Let me check that.
not_bob I see nothing in the contrib file about it.
not_bob But that doens't mean it's not a thing.
not_bob I'll just watch my tunnel lenghts and see.
not_bob Watching now.
dr|z3d ok, another fix about to land.
dr|z3d you wouldn't notice until it was pointed out :)
not_bob What is it?
dr|z3d when snark is hidden ie page isn't visible in the browser, the refresh should disable, and re-enable when the page becomes visible again.
not_bob Why is there a cat on the right hand side of the default theme?
not_bob nice!
not_bob All of my tunnels are the same length.
not_bob Wait, no.
not_bob It works with i2pd
dr|z3d the first part works, the second has just been fixed. should work the same way for the i2p+ sidebar console, which _hopefully_ will prevent the frozen browser issue. was there in the sidebar before, but it's been reworked.
not_bob I did have a strange issue.
not_bob I was in the settings section of i2psnark and was able to scroll *way* down to a blank screen.
not_bob Confused the hell out of me till I scrolled back up.
not_bob It only happend once and I have not been able to repeat it.
dr|z3d the browser will scale back javascript timers when the page isn't in view, but that can present issues when it does come back into view, where queued timer events all hit the browser at the same time.
dr|z3d oh, that is strange. sounds like a browser issue.
not_bob Could be.
dr|z3d this is standalone?
dr|z3d what that sounds like is the browser miscalculating the height of the page.
not_bob Hmm, that's odd.
not_bob I have it set to 16 tunnels, but it's only using 2?
not_bob Again, likely an i2pd issue.
dr|z3d that's normal.
dr|z3d when you allocate tunnels in i2psnark, you're allocating the maximum amount, not a static value.
dr|z3d for every peer connected, your tunnels should elevate until max is reached. so you have 2 peers connected right now?
not_bob Let me look at the router that has all the torrents loaded.
not_bob Ok, that's using a lot more tunnels.
not_bob Ok, yeah.
not_bob I don't have many torrents running on this local machine.
not_bob Possibly a dozen?
not_bob Hmm, local machine has three inbout, one outbound and a single peer.
dr|z3d well, peer count is more or less = to tunnel count.
not_bob Oh, nope.
not_bob It changes.
not_bob Now I have more.
not_bob Ok, cool.
dr|z3d that's why i2p+ snark ships with 16/16. because it will only use that amount if you're torrenting hard.
not_bob But, the server I have *all* my torrents on. That one has a ton of in/outbound tunnels for i2psnark.
not_bob Like me!
not_bob Alas, I need to do other things. But, thank you for the help.
dr|z3d sure thing. catch you on the rebound o/
T3s|4_ dr|z3d: is this what I should be seeing?: I2CP options changed to inbound/outbound.lengthVariance=1 inbound.length=3 inbound.quantity=16 outbound.length=3 outbound.quantity=16
dr|z3d not quite. close.
dr|z3d inbound/outbound.lengthVariance=1 is invalid.
T3s|4_ ok - so what is the correct, exact I2CP options command?
dr|z3d and if you're varying length, you probably want to drop the hop count to 2.
dr|z3d there is no exact, depends on what you've configured, but the above is more or less ok minus the string I just posted.
dr|z3d and 2 hops in/out, though you can configure that on the dropdowns.
T3s|4_ ok, that's done
dr|z3d that will give you min 2, max 3 for your tunnels if configured that way.
T3s|4_ and the options command?
dr|z3d there is no exact, depends on what you've configured, but the above is more or less ok minus the string I just posted.
dr|z3d inbound/outbound.lengthVariance=1 is invalid.
dr|z3d that's all. rest is fine.
T3s|4_ to be clear, if inbound/outbound.lengthVariance=1 is invalid - what is valid?
dr|z3d <not_bob> inbound.lengthVariance=1 outbound.lengthVariance=1
T3s|4_ ok, I missed that, thanks - and done!
dr|z3d *thumbs up*
T3s|4_ I2CP options changed to inbound.lengthVariance=1 outbound.lengthVariance=1 inbound.length=2 inbound.quantity=16 outbound.length=2 outbound.quantity=16 :D
dr|z3d watch /tunnels, you'll soon see the fruits of your efforts.
dr|z3d you should also see increased speeds for downloading/uploading some of the time.
T3s|4_ is there a new (within the past hour or so) build on skank now?
dr|z3d not one to download, no. that's the cron job pulling from gitlab.
dr|z3d if you see new, check gitlab for any new commits.
dr|z3d unfortunately gitlab doesn't provide a usable last modified header, so updates from gitlab will just blindly pull the same update and timestamp it according to time pulled.
dr|z3d how's the filterbar now it's working?
dr|z3d you and notbob are both good testing candidates given the # of torrents you're running.
T3s|4_ just pulled from gitlab - no problems with filter bar - restarting now
dr|z3d when I said look at gitlab, I meant check the latest commit rev vs what you're running before deciding if you want to update _from the console_
dr|z3d downloading from gitlab should be a last resort. the pack200 update downloads automatically from gitlab.
T3s|4 alrught - gitlab's current did not change my version - now pulling from console
dr|z3d *sigh* you can pull from console, but you're on the most recent update.
T3s|4 I am running dad09f43 (Build date: 2023-01-25 10:06:46 UTC) - the console says there is 26 Jan update
dr|z3d I just explained to you that the update on one of the multihomes serving the pack200 update pulls from gitlab via cron and will timestamp the same update with a new timestamp.
dr|z3d I also explained to you that if the revision you see in the console is the same as the head revision on gitlab, you're probably a.ok.
dr|z3d but idk, you're updating all over, so check whatever's the latest rev on gitlab and take a view on whether you want to update or not.
dr|z3d at some point I'll sync updates all over, but for now one of the multihomes is serving pack200 files pulled on a cron job from gitlab, the other is serving files I build and upload manually.
RN sounds like you need to preserve the original time stamp when you pull it from gitlab
dr|z3d <dr|z3d> unfortunately gitlab doesn't provide a usable last modified header, so updates from gitlab will just blindly pull the same update and timestamp it according to time pulled.
RN but can't you pull the build date gitlab shows on the page from the html and apply that durring the cron job?
dr|z3d if you get notified of a 6.29UTC update, that's fresh.
dr|z3d you want to write a script that handles all that, RN, let me know when it's ready and tested :)
dr|z3d I'd recommend the graceful_update script, but it still has some bugs that need ironing out when term99 resurfaces.
T3s|4 running 6:29 update here
dr|z3d ok, great. what's the rev?
T3s|4 dr|z3d: it's 673f3f94 (Build date: 2023-01-26 06:26:35 UTC)
dr|z3d *thumbs up*
dr|z3d don't be surprised when the version jumps.. I've missed a few upstream version bumps while I've been focused on the filter bar.
T3s|4 no problem dr|z3d - and my filter bar appears to be firing on all cylinders :)
dr|z3d good, T3s|4, and not before time :)
T3s|4 much have been a real bitch to solve whatever broke it - so much thanks for your efforts
dr|z3d it just got refined and optimized on route :)
dr|z3d with a few breaks thrown in for good measure.
dr|z3d ok, -4+ available, for those that like to keep up to date :)