Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error! getaddrinfo ENOTFOUND catlobby.maxogden.com catlobby.maxogden.com:80 #65

Open
748890753yiyi opened this issue Feb 24, 2017 · 12 comments

Comments

@748890753yiyi
Copy link

748890753yiyi commented Feb 24, 2017

yout code include:
first:
var server = 'http://catlobby.maxogden.com';
var remoteConfigUrl = 'https://instant.io/rtcConfig';
if (process.browser) remoteConfigUrl = 'http://cors.maxogden.com/' + remoteConfigUrl;
function verifyRoom (room, cb) {

second:
// ensure room is still open
nets({method: 'POST', uri: server + '/v1/' + room + '/pong', json: {ready: true}}, function response (err, resp, data) {
if (err){
console.log('connect server error: ', err);
return cb(err)
}

  if (resp.statusCode !== 200) return cb(new Error('Invalid or expired invite code'))
  cb()
})

}
thrid:
// get remote webrtc config (ice/stun/turn)
function getRemoteConfig (cb) {
nets({url: remoteConfigUrl, json: true}, function gotConfig (err, resp, config) {
if (err || resp.statusCode > 299) config = undefined // ignore errors
cb(null, config)
})
}
fourth:
// get remote webrtc config (ice/stun/turn)
function getRemoteConfig (cb) {
nets({url: remoteConfigUrl, json: true}, function gotConfig (err, resp, config) {
if (err || resp.statusCode > 299) config = undefined // ignore errors
cb(null, config)
})
}

I think that this two url is to deal code, but I think your server is down , I want to ask you what logic about your two request( uri: server + '/v1/' + room + '/pong' and url: remoteConfigUrl,), and the getRemoteConfig function return the data is or not json format? please give me an example of the config object

I want to create server about like your 'http://catlobby.maxogden.com' to deal code logic , but I do not how to create and the server Background logic and field of your data

@roy2651
Copy link

roy2651 commented May 9, 2017

also this error

@gbougakov
Copy link

@maxogden doesn't maintain the server

@timypcr
Copy link

timypcr commented Jan 21, 2018

I've been looking for a solution like this for a very long time and screencat looks like it was great back when it was maintained. any chance that @maxogden could release the server code that was used for catlobby.maxogden.com? at this time it looks like the server is no longer running and it would be great to have this code available so the project can live on.

@Craigzyc
Copy link

he has released the server code.
https://github.com/maxogden/cat-lobby
Unfortunately it still depends on some other things I cant get working. If someone gets it working please respond here with solution.

@gbougakov
Copy link

@Craigzyc Installed it successfully :)

Georges-MacBook:~ georgebougakov$ sudo npm install cat-lobby -g
Password:
/usr/local/bin/cat-lobby -> /usr/local/lib/node_modules/cat-lobby/cli.js
+ cat-lobby@1.1.0
added 98 packages in 5.939s

Not sure about configuring the client tho

@CraigZych
Copy link

Yea I installed it as well but haven't had much time to dig into what else is required.
The instant.io/rtcConfig isn't an available resource so I think that might be an issue.

If I have the time to get it working I'll host a public server and fork this into a working version.

@Craigzyc
Copy link

FYI
https://github.com/jeffrafter/screencat
seems to work. He is running the server but he hasn't updated the links so it only works between 2 clients cloned from that rep.

I don't have 2 macs to test between and can't get robotjs to build on my windows machine currently so I cant test

@meghaagr13
Copy link

@Craigzyc can you please provide code of server that you have hosted on glitch

@CraigZych
Copy link

cat-lobby is the server side of it.
https://github.com/maxogden/cat-lobby

@meghaagr13
Copy link

@CraigZych it does not run over https and when i am trying to convert it I am facing error in " var events = new EventSource(pingsUrl)"

@CraigZych
Copy link

honestly I don't know. I just remembered what the server was called. I ended up building my own app and server completely from scratch for my uses.

@meghaagr13
Copy link

@CraigZych can you make code of your app public or provide link for same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants