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
Diego Rodríguez Baquero
@DiegoRBaquero
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
like demonii desync
Diego Rodríguez Baquero
@DiegoRBaquero
Maybe they don't support it? Or have it in another port instead of the default
darkwolf66
@darkwolf66
ohh thanks probably can be the ports
darkwolf66
@darkwolf66
hahah how i use for example this tracker udp://open.demonii.com:1337
This message was deleted
Diego Rodríguez Baquero
@DiegoRBaquero
Where do you want to use it?
You can't in browsers
darkwolf66
@darkwolf66
humm. for streaming public videos
or just public files
Diego Rodríguez Baquero
@DiegoRBaquero
You can use them in any client
Not in webtorrent for the browser
Diego Rodríguez Baquero
@DiegoRBaquero
Hey @jakefb you around?
There seems to be a problem with fastcast DNS
WebSocket connection to 'wss://tracker.fastcast.nz/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
Jake Fulton
@jakefb
Hey @DiegoRBaquero, yep the domain expired so I've transferred some mo
some money to the domain registrar and will see if I can renew it now
Ok the bank transfer hasn't gone through so we might have to wait a day or so before it can be renewed
I'm in Wanaka doing a snowboard instructors course and have exams at the moment so I've been pretty busy!
Diego Rodríguez Baquero
@DiegoRBaquero
Ah, alright :), cool stuff mate, good luck with exams
Jake Fulton
@jakefb
Thanks @DiegoRBaquero last day tomorrow!
Jake Fulton
@jakefb
I passed my level 1 snowboard instructor exam! Sorry the website was down for so long, I will have more time to work on fastcast now
Diego Rodríguez Baquero
@DiegoRBaquero
Awesome :D
Jhol Hewres
@Smallkan
Hello everybody, the videos here in my country are in Dual Audio, does anyone know if you can add a button to switch audio in videojs?
Nasir
@nallown
@Smallkan I haven't used video.js so I can't say for sure but as long as you have two audio tracks then you should be able to switch audio source
garycarlyle
@garycarlyle
im trying to get this tracker to work with views. webtorrent desktop work. other trackers work with vuze. except any webrtc ones. its frustrating! =)
sorry. *vuze
Diego Rodríguez Baquero
@DiegoRBaquero
@garycarlyle tracker.fastcast.nz is failing?