Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://terrestre.logitracs.com/api/rawdata?vids=3864&fields=%24basic%2Chas_ph...
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://pegasus1.pegasusgateway.com/api/m2m/wireless/v1/Sims/DE07e377fc4069678...
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://gps.geoaustralchile.cl/api/apps/pegasus2.0","headers":{"Accept":"appli...
ngRepeat:dupes: Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: err in $ctrl.ecu_errors.errors, Duplicate key: string:<div class='md-body-2'>J1939 Network #1 </div><span class='md-body-2'>Código
$compile:ctreq: Controller 'mdTable', required by directive 'mdCell', can't be found!
$compile:ctreq: Controller 'mdTable', required by directive 'mdCell', can't be found!
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://gps.electrotechnologycr.com/api/rawdata?keys=1","headers":{"Accept":"a...
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://monitoreo.sabuesotrack.com/api/rawdata?keys=1","headers":{"Accept":"ap...
$compile:ctreq: Controller 'mdSelectMenu', required by directive 'mdOption', can't be found!
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://www.gpshonduras.com/api/rawdata?vids=193&fields=%24basic%2Chas_photo%2...
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://www.centaurosatelital.mx/api/trips/keys","headers":{"Accept":"applicat...
Possibly unhandled rejection: {"data":{"message":"User is NOT Logged in | Authenticated"},"status":401,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://isitrack.isisa.mx/api/...
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://gps.robot.com.pe/api/rawdata?vids=1428&fields=%24basic%2Chas_photo%2Ca...
Possibly unhandled rejection: {"data":{"message":"30 per 1 minute"},"status":429,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://terrestre.logitracs.com/api/rawdata?keys=1",...
$compile:ctreq: Controller 'mdGridList', required by directive 'mdGridTile', can't be found!
$compile:ctreq: Controller 'mdGridList', required by directive 'mdGridTile', can't be found!
Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://rastreo.atlasgps.mx/api/apps/pegasus2.0","headers":{"Accept":"applicat...
Possibly unhandled rejection: {"data":{"message":"1200 per 1 minute"},"status":429,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://dct.bermanngps.cl/api/apps/pegasus2.0","he...
Possibly unhandled rejection: {"data":{"message":"User is NOT Logged in | Authenticated"},"status":401,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"https://m2m-monitoreo.hs-sotec...
Sentry reported an error in ngpegasus: `Possibly unhandled rejection: <html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error pag...`
/api/vehicles?ids=id1,id2,id3&select=info,name,device:latest
Hello community. I am new to the pegasus platform. I have setup "live communication" with socket.io but I cannot get the socket.on('events', function)
is not called.
This is a node.js
application.
So basically from the documentation I setup a socket:
...
const socket = io('https://live.pegasusgateway.com/socket');
...
socket.emit('authenticate', credentials); // authentication is successful
Then upon successful authentication I subscribe to vehicle-events
event. (the subscription is also successful because I can see from the _update
handler the id of my asset is returned).
Now I go to my mobile device, I have downloaded and installed the Taurus app and my mobile is registered as an asset in the platform (id = 65). When I emit a "SOS message" for the sake of testing, my events
handler is not called:
socket.on('events', function(envelope) {
console.log(envelope); // this is never called
});
Thank you for any suggestion and any insight on what I am doing wrong or what I have forgot.