Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
42 Views

How to use HTTP connection?

For some reason. I'd like to use HTTP only for my MCU server. There are som configuration below according to doc.

 

portal/portal.toml

[portal]
keystorePath = "./cert/certificate.pfx"
# hostname = "" #default: ""
ip_address = "my public ip" #default: ""
# Port that the socket.io server listens at.
port = 8080 #default: 8080
ssl = false #default: true
force_tls_v12 = false #default: false, tls1 and tls1.1 will not be allowed if set to true
#The network inferface the socket.io will be bound to in case portal.ip_address (the 'ip_address' item above) is not specified or equal to "".
# networkInterface = "eth1"
# How many seconds before Socket.IO client sending a new ping packet. This value might be overwrote by client side.
# ping_interval = 25 #default: undefined
# How many seconds without a pong packet to consider the Socket.IO connection closed. This value might be overwrote by client side.
# ping_timeout = 60 #default: undefined
# Life time for reconnection ticket. Unit: second.
reconnection_ticket_lifetime = 600 #default: 600
# Client will leave conference if it cannot reconnect to Socket.IO server after |reconnection_timeout| seconds.
reconnection_timeout = 60 #default: 60

 

management_api/management_api.toml

keystorePath = "./cert/certificate.pfx"

superserviceID = "my superserviceID"

ssl = false #if use HTTPS

port = 3000 #default: 3000, port of server

numberOfProcess = 1 #default: 1

 

management_console/management_console.toml

[console]
#configuration for the management-console
keystorePath = "./cert/certificate.pfx"
ssl = false #if use HTTPS
port = 3300 #default: 3300, port of manage console server

[api]
#configuration of management-api server
secure = false #if server certificate is verified, set it to true.
host = "http://localhost:3000"

 

And I got an error after I start-all

starting app, stdout -> /home/ubuntu/Intel_CS_WebRTC.v.4.2/Release-v4.2/logs/app.stdout

Build http(s) req error: { Error: socket hang up

    at TLSSocket.onHangUp (_tls_wrap.js:1148:19)

    at Object.onceWrapper (events.js:313:30)

    at emitNone (events.js:111:20)

    at TLSSocket.emit (events.js:208:7)

    at endReadableNT (_stream_readable.js:1064:12)

    at _combinedTickCallback (internal/process/next_tick.js:139:11)

    at process._tickCallback (internal/process/next_tick.js:181:9)

  code: 'ECONNRESET',

  path: null,

 

Do I misunderstanding something? Any help will be very appreciated.

Tags (2)
0 Kudos
0 Replies