Supermillhouse

Members
  • Posts

    12
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Supermillhouse's Achievements

Noob

Noob (1/14)

3

Reputation

  1. Givie it a try, (1.1.1.1 works for me). I'm no networking expert but the other casue is that the "default gateway" in the docker container is wrong, as far as i know that is just taken from unraid itself, not sure though. To get to 1.1.1.1 you have to go through the default gateway, and if thats wrong it cant get out to the internet, this is my understanding anyway. Anyone correct me if i got this wrong.
  2. up stream DNS for lanchache is probably not set to your modem/router ip its probably not that your internet is out, it that your PC is unable to resolve DNS entries
  3. As in a previous post, you cannot use 2 DNS addresses as windows will randomly choose one of them to use, which means sometimes you pc will use the cache to fulfil the request and other times it will use your router and bypass the cache entirely.
  4. I believe it caches only twitch games, not the live streams, I watch a lot of twitch and I have never seen twitch in my access log, are you saying twitch is in your access log when you watch twitch streams?
  5. Like I said, I made a fork of the repo on github, changed what needed to be changed and then created a docker image on docker hub which I then use in unraid. If this is a bit foreign to you, I advise not breaking your cache, I won’t be responsible if I have made a mistake some ware and something goes wrong for you. I am not going to advise you to do anything as this is not my docker template and I’m not going to hijack it, this was only to hopefuly get Josh on the right track from the gettgo.
  6. looks like the new gineric build has added ssl forwarding that sniproxy has been providing in this buindle, i think this is the clash, removing the sniproxy stuff from this bundle may resolve the errors. Confirmed, i have made a fork and removed the instalation of sniproxy and some other stuff and it looks to be working fine and i can still access https websites ok. Is there any other function sniproxy provided in the build except SSL forwarding?
  7. im having the same 443 binding problem as well, halp!!!
  8. I have a modified docker container that I have crow bared filebeat into. I cant guarantee I will maintain it but it is there in docker hub under my user account if you feel brave enough to find and use it. It should autobuild any changes to base docker but may also brake. I currently use it so for the time being I will try to keep it working, but no promises. Statistics use the elk link you have linked. You will probably need to add these additional configs to unraid to get filebeats working, change as applicable - Variable - LOGSTASH_HOST - 192.168.X.X:5044 (IP to Elk VM) Path - /mnt/user/appdata/lancache-bundle/log/reg (directory used so on a docker restart it doesnt re transmit all off the log file again) Good luck josh5, if you want me to delete this post just let me know.
  9. Yea, from what i understand the file i have identified, edits the file you mention, and the typo causes the access_log line to be replaced with error_log so you end up with 2 error_log lines. Because the way docker works you are correct, you have to edit the 10_generic.conf file until josh.5 changes the template. Did you have to restart nginx for it to pick up the change if you were editing inside the running docker, i didn't test that far as i was editing docker files on the outside? Also, @Josh.5 does the "root" folder in the git contribute to the docker image or is it just for your records?
  10. I finally figured out why the "hit" and "miss" have disappeared from the access log entries. I spotted 2 mistakes i think, both corrected below - Typo in "overlay\hooks\supervisord-pre.d\90-nginx_config.sh" "sed -i -e "s|access_log .*$|error_log /var/log/nginx/access.log;|" /etc/nginx/sites-available/10_generic.conf;" should be "sed -i -e "s|access_log .*$|access_log /var/log/nginx/access.log cachelog;|" /etc/nginx/sites-available/10_generic.conf;" I'm guessing this line is only used to format the log, with the switch in file names I'm not sure how all the info still ended up in the access.log file with this typo. The " cachelog" bit is also needed for the "hit" and "miss" to show up, not sure how that works, but hey. If you take a look at https://github.com/lancachenet/generic/blob/master/overlay/etc/nginx/sites-available/10_generic.conf from the original repo, there it is, cachelog is also mentioned in 10_log_format.conf, hence my assumption above. This is what it looks like now, hopefully you agree and can make the changes. [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:02 +0100] "GET /depot/468801/chunk/58fe09c302f87a52e82d56f294fcddcdce9256db HTTP/1.1" 200 346048 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache32-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:03 +0100] "GET /depot/468801/chunk/d3397140b02f7be618df6f135c55a9f92ef8b700 HTTP/1.1" 200 257232 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache34-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:03 +0100] "GET /depot/468801/chunk/166a3a8d57fa0cae1b889756b8282cc6188d44a6 HTTP/1.1" 200 180368 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache29-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:03 +0100] "GET /depot/468801/chunk/7cf49b9291e42c51fb708274b680698e048b95e5 HTTP/1.1" 200 110304 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache29-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:03 +0100] "GET /depot/468801/chunk/6155e37cd60d85844512ef68ac24858d748e8e77 HTTP/1.1" 200 222608 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache29-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:03 +0100] "GET /depot/468801/chunk/977085c8be56693dc10855b96fc5cdbb6d0780c8 HTTP/1.1" 200 248016 "-" "Valve/Steam HTTP Client 1.0" "HIT" "cache34-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:40 +0100] "GET /depot/402/manifest/5794932327719644273/5 HTTP/1.1" 200 23959 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache29-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:41 +0100] "GET /depot/409/manifest/5129103634722163296/5 HTTP/1.1" 200 261690 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache34-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:41 +0100] "GET /depot/410/manifest/106212190778449766/5 HTTP/1.1" 200 40659 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache29-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:42 +0100] "GET /depot/401/manifest/4679553557812664192/5 HTTP/1.1" 200 278270 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache34-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:42 +0100] "GET /depot/402/chunk/d46be629cb9745ba144b304ecc994d28fda75b16 HTTP/1.1" 200 58640 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache29-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:42 +0100] "GET /depot/402/chunk/7d5fed3423cae872d24583fe959bea6093069bb2 HTTP/1.1" 200 25936 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache29-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:42 +0100] "GET /depot/402/chunk/fc5e18833bc253175264cf6945727ac7aee23ef9 HTTP/1.1" 200 102000 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache34-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:42 +0100] "GET /depot/402/chunk/562bd66f337d5221d92795c0535af5b404d5477f HTTP/1.1" 200 71552 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache32-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:43 +0100] "GET /depot/402/chunk/de379329a45140c382ccce900ad7e6945c4e437a HTTP/1.1" 200 340832 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache29-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:43 +0100] "GET /depot/402/chunk/c2e252f0bc5b73a09e325abba621f4e4c5389ce8 HTTP/1.1" 200 354240 "-" "Valve/Steam HTTP Client 1.0" "MISS" "cache34-lhr1.steamcontent.com" "-" [steam] 192.168.2.81 / - - - [06/Jul/2020:23:34:43 +0100] "GET /depot/402/chunk/7be35ebc6a89189381f435b4cffd547a75c72a73 HTTP/1.1"
  11. I have most of this script working but I don't think the arguments are, it looks like the arguments are being treated as a single argument and not as individual arguments. If I echo $#, regardless of how many space separated values I put in it always comes out as 1. User Scripts plugin is version 2020.03.19