Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

api error  #51

@burakguder

Description

@burakguder

I enter the information correctly, but the server does not start.

I printed the request information sent

{ service: '5f1bc9f8774e1225b3ebf26b',
key:
'SP2jQ0jQTS0z41oUHt6ouX4S/eLlGdaBbF2azTWsSaW6O5yraUqnEuZ4tjwM80H32oZtdUWs579lNqjF4AcgwoV3xT3VzCcOJtje91vI80Iu3Uc6HIEBOjc0ZS87IxkB6qm+V6kw0H0APjUm7/+YS86ytV/pJuvlqbxUuLxIwrQ=',
host: 'rtc-t1.xxx.com',
port: '3000',
secure: true,
rejectUnauthorized: false }
baglanti sagliyor
secure : true
gelen veri son: [object Object]
^C
root@webrtc-test:/home/web-meeting/web-meeting/app-server#
root@webrtc-test:/home/web-meeting/web-meeting/app-server#
root@webrtc-test:/home/web-meeting/web-meeting/app-server# node meetingserver.js
confgelen : 5f1bc9f8774e1225b3ebf26b
sevice 2: 5f1bc9f8774e1225b3ebf26b
key 2: SP2jQ0jQTS0z41oUHt6ouX4S/eLlGdaBbF2azTWsSaW6O5yraUqnEuZ4tjwM80H32oZtdUWs579lNqjF4AcgwoV3xT3VzCcOJtje91vI80Iu3Uc6HIEBOjc0ZS87IxkB6qm+V6kw0H0APjUm7/+YS86ytV/pJuvlqbxUuLxIwrQ=
CONFIG:
{ service: '5f1bc9f8774e1225b3ebf26b',
key:
'SP2jQ0jQTS0z41oUHt6ouX4S/eLlGdaBbF2azTWsSaW6O5yraUqnEuZ4tjwM80H32oZtdUWs579lNqjF4AcgwoV3xT3VzCcOJtje91vI80Iu3Uc6HIEBOjc0ZS87IxkB6qm+V6kw0H0APjUm7/+YS86ytV/pJuvlqbxUuLxIwrQ=',
host: 'rtc-t1.xxx.com',
port: '3000',
secure: true,
rejectUnauthorized: false }
baglanti sagliyor
secure : true
ClientRequest {
_events:
[Object: null prototype] {
response: { [Function: bound onceWrapper] listener: [Function] },
socket:
{ [Function: bound onceWrapper] listener: [Function: onSocket] },
error: [Function] },
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: false,
_headerSent: false,
socket: null,
connection: null,
_header: null,
_onPendingData: [Function: noopPendingOutput],
agent:
Agent {
_events: [Object: null prototype] { free: [Function] },
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: { path: null },
requests: {},
sockets:
{ 'rtc-t1.xxx.com:3000::::::::false::::::::::': [Array] },
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: { map: {}, list: [] } },
socketPath: undefined,
timeout: undefined,
method: 'GET',
insecureHTTPParser: undefined,
path: '/v1/rooms?page=1&per_page=100',
_ended: false,
res: null,
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
[Symbol(isCorked)]: false,
[Symbol(outHeadersKey)]:
[Object: null prototype] {
authorization:
[ 'Authorization',
'MAuth realm=http://marte3.dit.upm.es,mauth_signature_method=HMAC_SHA256,mauth_serviceid=5f1bc9f8774e1225b3ebf26b,mauth_cnonce=b44e3ea6a010cf7e,mauth_timestamp=1595683332319,mauth_signature=MGE4MDE5MDEwNGMxMTBlNWQ3OGI5NDM3Mzg2MWU1Mzg3YmE3YjM4MTg2MzdkOTA5MjMxZDZmZGUzOTkzNTRkNg==' ],
'content-type': [ 'Content-Type', 'application/json' ],
host: [ 'Host', 'rtc-t1.xxx.com:3000' ] } }
hata: Error: socket hang up
Failed to intialize sampleRoom { Error: socket hang up
at createHangUpError (_http_client.js:332:15)
at TLSSocket.socketOnEnd (_http_client.js:435:23)
at TLSSocket.emit (events.js:203:15)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19) code: 'ECONNRESET' }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions