Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 22 23:00
    dependabot[bot] labeled #35
  • Jun 22 23:00
    dependabot[bot] opened #35
  • Jun 22 23:00

    dependabot[bot] on npm_and_yarn

    Bump shell-quote from 1.7.2 to … (compare)

  • Feb 12 23:09
    dependabot[bot] labeled #34
  • Feb 12 23:09
    dependabot[bot] opened #34
  • Feb 12 23:09

    dependabot[bot] on npm_and_yarn

    Bump ajv from 6.11.0 to 6.12.6 … (compare)

  • Jan 27 15:19
    dependabot[bot] labeled #33
  • Jan 27 15:19
    dependabot[bot] opened #33
  • Jan 27 15:19

    dependabot[bot] on npm_and_yarn

    Bump cached-path-relative from … (compare)

  • Aug 11 2021 22:04
    dependabot[bot] labeled #32
  • Aug 11 2021 22:04
    dependabot[bot] opened #32
  • Aug 11 2021 22:04

    dependabot[bot] on npm_and_yarn

    Bump path-parse from 1.0.6 to 1… (compare)

  • Jun 10 2021 23:09
    dependabot[bot] labeled #31
  • Jun 10 2021 23:09
    dependabot[bot] opened #31
  • Jun 10 2021 23:09

    dependabot[bot] on npm_and_yarn

    Bump glob-parent from 5.1.0 to … (compare)

  • May 30 2021 00:04
    dependabot[bot] labeled #30
  • May 30 2021 00:04
    dependabot[bot] opened #30
  • May 30 2021 00:04

    dependabot[bot] on npm_and_yarn

    Bump ws from 7.2.1 to 7.4.6 Bu… (compare)

  • May 11 2021 10:52
    dependabot[bot] labeled #29
  • May 11 2021 10:52
    dependabot[bot] opened #29
Jake Fulton
@jakefb
@DiegoRBaquero True that would be so cool!
Jake Fulton
@jakefb
@DiegoRBaquero @feross how does this look? feross/bittorrent-tracker#155
Diego Rodríguez Baquero
@DiegoRBaquero
Fixed the SSL
Jake Fulton
@jakefb
@DiegoRBaquero sweet as!
Jake Fulton
@jakefb
@DiegoRBaquero I updated the Fastcast tracker, but https://tracker.fastcast.nz/stats.json is returning d14:failure reason43:invalid action in HTTP request: /stats.jsone. Any idea why?
Diego Rodríguez Baquero
@DiegoRBaquero
🤔🤔🤔
No idea, I can check later
Colombian team playing the American football cup
Jake Fulton
@jakefb
@DiegoRBaquero ok cool thanks, the lets encrypt certificate has also expired! I'm trying to renew it but running into an issue with /.well-known/acme-challenge/ for tracker.fastcast.nz
Jake Fulton
@jakefb
Managed to renew the letsencrypt certificate!
Diego Rodríguez Baquero
@DiegoRBaquero
Cool, did you manage to fix the json stats error?
Jake Fulton
@jakefb
@DiegoRBaquero not yet, I'll have another look today. Do you mind checking it out?
It requires JSON as req header
Ah, no, there’s an or there
Jake Fulton
@jakefb
@DiegoRBaquero yeah. Also if you go to https://tracker.fastcast.nz/ you get a weird error instead of a 404?
Diego Rodríguez Baquero
@DiegoRBaquero
even with json content type I get normal response
Jake Fulton
@jakefb
@DiegoRBaquero yeah something is not right, but I've updated the node_modules so I don't know why it's not working
Diego Rodríguez Baquero
@DiegoRBaquero
Can you send me the server logins again?
I’ll check on your server. I haven’t updated mine
So for sure BTorrent’s tracker doesn’t have it
Through private in Gitter I guess should be fine
I gotta go now to a doctor appointment, but can check tonight
Jake Fulton
@jakefb
@DiegoRBaquero ok no worries, will do thanks
Jake Fulton
@jakefb
Hi @DiegoRBaquero, I have update bittorrent tracker to the git repo so the json stats work https://tracker.fastcast.nz/stats.json
@DiegoRBaquero how do I redirect the traffic from https://tracker.fastcast.nz/ to https://fastcast.nz/ and return 404 Not Found like on BTorrent? https://tracker.btorrent.xyz/stats
Diego Rodríguez Baquero
@DiegoRBaquero
Nice!
The redirect is on your code.
Let me get it
var Tracker = require('bittorrent-tracker/server')

var tracker = new Tracker({ ws: true, udp: false, http: false, trustProxy: true })

// Redirect http://tracker.btorrent.xyz to website homepage
tracker.http.on('request', function (req, res, opts) {
  if (req.method === 'GET' && req.url === '/') {
    res.writeHead(301, { 'Location': 'https://btorrent.xyz' })
    res.end()
  }
}
@jakefb :)
I didn’t really understand the 404 part
Jake Fulton
@jakefb
@DiegoRBaquero hi sorry for the late reply, been busy with work. Thanks will set up the redirect soon.
If an invalid address it entered to the tracker like https://tracker.fastcast.nz/stat I want to return "404 page not found" instead of "d14:failure reason37:invalid action in HTTP request: /state"
Diego Rodríguez Baquero
@DiegoRBaquero
I don't really know 🤔🤔
I will check soon and let you know
Diego Rodríguez Baquero
@DiegoRBaquero
@jakefb Maybe it’s because of the node version
I have 4.4.5 on my server
you have 0.10
Jake Fulton
@jakefb
@DiegoRBaquero sorry for the late reply, I'll have a look into this and see if I can update node
@DiegoRBaquero installing node from here looks like the solution https://github.com/nodesource/distributions
Jake Fulton
@jakefb
@DiegoRBaquero now running node v6.2.1. Didn't solve the 404 issue though
Jake Fulton
@jakefb
@DiegoRBaquero could you share the full code you use to host your tracker please? Do you have an if statement that returns res.end('404 Not Found')?
@DiegoRBaquero hmm hold on... I think it is working now
Jake Fulton
@jakefb
@DiegoRBaquero https://tracker.fastcast.nz is all working now! I think there error was something to do with how I configured it ages ago
Diego Rodríguez Baquero
@DiegoRBaquero
great! good to know it worked :)
darkwolf66
@darkwolf66
I have a little question. I see you testing torrents using tracker wss:// but im trying use udp:// tracker and isn't working. i can use udp:// tracker?
Diego Rodríguez Baquero
@DiegoRBaquero
Which tracker are you using ?
darkwolf66
@darkwolf66
public trackers