Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

/createToken 404 error in basic example

Melisa_T_Intel
Employee
121 Views

Hello..

I got the 404 error when I tried to consume /createToken...

In the code:

app.post('/createToken/', function(req, res) {
  var room = req.body.room || myRoom,
    username = req.body.username,
    role = req.body.role;
  N.API.createToken(room, username, role, function(token) {
    res.send(token);
  }, function(err) {
    res.send(err);
  });
});

The N.API never returns the token...it always returns an error.

First I installed  the MCU server following the instruction for CentOS 7. I'm working with SSL certification and I copied the certificate into the ./cert folder and I run the initcert.js. Then I started the services and the example.

Any suggets?

Regards...

 

 

 

0 Kudos
0 Replies
Reply