Http.onrequest non-responsive

Hi

Help! My agent has stopped responding to http requests. It was working fine this afternoon, but is no longer responding to events. I’ve can demonstrate the agent talking to the device, just not to http. For what it’s worth the device blinks green/off slowly when it’s re-plugged.

Does the agent need re-booting?

Here’s a stripped down test:

AGENT:

server.log(“agent loading…”);

http.onrequest(function(request, response) {
server.log(“http.onrequest…”);
server.log(request);
response.header(“Access-Control-Allow-Origin”, “*”);
response.send(200, “OK”);
});

DEVICE:

device.send(“displayMessage”,“testing”);

server.log(“device loading…”);

agent.on(“displayMessage”, function(message) {
server.log(“device.displayMessage…”);
server.log(message);
});

TIA

Chris

I believe this is the issue that was addressed last night with 14 agents. Is it working ok for you now? If not, please PM the device ID so we can investigate.