max-mapper / max-mapper/screencat

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

Open
#65 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
3k
Forks
354
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the two request call sites shown in the issue: the /v1//pong endpoint and the remoteConfigUrl request to instant.io/rtcConfig. Trace where server and remoteConfigUrl are defined, then determine the expected response fields and behavior from the surrounding project code; done means the endpoints and configuration contract are documented or restored well enough for the app to use them.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
api, audio-video-rtc, backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.