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

Failed to setup secured server: [Error: mac verify failure]

hi! please help! 

bin/start-all.sh
starting nuve, stdout -> /home/jin/Desktop/MCU_Release-v2.1.1/logs/woogeen-nuve.stdout
1476
1484
2015-06-29 11:27:15.122  - INFO: RPC - Conected to rabbitMQ server
2015-06-29 11:27:15.124  - INFO: RPC - Exchange rpcExchange is open
2015-06-29 11:27:15.127  - INFO: RPC - Queue nuveQueue is open
2015-06-29 11:27:15.128  - INFO: RPC - ClientQueue amq.gen-DRGzdiYVxIVM-gARtwBCNQ is open
starting mcu, stdout -> /home/jin/Desktop/MCU_Release-v2.1.1/logs/woogeen-mcu.stdout
2015-06-29 11:27:20.877  - INFO: RPC - Exchange rpcExchange is open
2015-06-29 11:27:20.882  - INFO: RPC - ClientQueue amq.gen-9jy4AdFfT-0HPUV9m9LIWg is open
2015-06-29 11:27:20.961  - INFO: ErizoController - starting erizoAgent 1
2015-06-29 11:27:20.963  - INFO: ErizoController - erizoAgent pid 4966
2015-06-29 11:27:20.966  - INFO: RPC - Queue erizoController_1 is open
2015-06-29 11:27:20.968  - INFO: ErizoController - server on
Running process
Running process
2015-06-29 11:27:21.051  - INFO: RPC - Exchange rpcExchange is open
2015-06-29 11:27:21.054  - INFO: RPC - ClientQueue amq.gen-wTfxWqYStjXxu0JFa8itTA is open
starting app, stdout -> /home/jin/Desktop/MCU_Release-v2.1.1/logs/woogeen-app.stdout
Failed to setup secured server: [Error: mac verify failure]

 

Tags (2)
0 Kudos
7 Replies
Highlighted
152 Views

Hi Yin,

It seems you've enabled SSL options. Did you generate and use your own keys with passphrase protection?

Thanks!

0 Kudos
Highlighted
Beginner
152 Views

Had the same problem, problem solved running initcert.js in bin folder.

Tadas

0 Kudos
Highlighted
152 Views

Thanks, Tadas.

That's actually a step in the packaging script we provide. Have a try!

0 Kudos
Highlighted
Beginner
152 Views

Hello,

I have generated my own ssl server eventhough am gettin the following  error please help me,

starting nuve, stdout -> /home/emphaticsense4/program_files/mediaServer_intelcs/Intel_CS_WebRTC.v2.8.1/localhost3/Release-v2.8.1/logs/woogeen-nuve.stdout

1096
1139
2016-02-26 12:05:06.857  - INFO: RPC - Conected to rabbitMQ server
2016-02-26 12:05:06.869  - WARN: Nuve - Failed to setup secured server: [Error: mac verify failure]
Error: mac verify failure
    at Object.exports.createCredentials (crypto.js:174:17)
    at Server (tls.js:1128:28)
    at new Server (https.js:35:14)
    at Object.exports.createServer (https.js:54:10)
    at /home/emphaticsense4/program_files/mediaServer_intelcs/Intel_CS_WebRTC.v2.8.1/localhost3/Release-v2.8.1/nuve/nuveAPI/nuve.js:1:2459
    at Gunzip.<anonymous> (/home/emphaticsense4/program_files/mediaServer_intelcs/Intel_CS_WebRTC.v2.8.1/localhost3/Release-v2.8.1/common/cipher.js:1:769)
    at Gunzip.emit (events.js:117:20)
starting mcu, stdout -> /home/emphaticsense4/program_files/mediaServer_intelcs/Intel_CS_WebRTC.v2.8.1/localhost3/Release-v2.8.1/logs/woogeen-mcu.stdout

 

 

0 Kudos
Highlighted
152 Views

After generating your own cert, have you run the initcert.js script to initialize the cert with the correct passphrase?

Thanks!

0 Kudos
Highlighted
Beginner
152 Views

Hi chunbo,

i have attached my woogeen_config file,please go through n correct me,what i have done wrong in tat

why we are creating https server both in basicServer.js and application.js file what is  the need for creating two https server

w/o enabling ssl in woggen_config.js file am able to run the code,after getting token (ajax req)from basic server with that token and roomId trying to get connected with server.was stucked and stopped with tat not able to step in next steps

config.erizoController.port = 443 whether this port number and https server should be same?

Thanks^.

 

 

0 Kudos
Highlighted
152 Views

The port definition there in the configuration file is for your own port configuration, not for the https server in basicServer. Thanks!
0 Kudos