Trying to Debug MQTT Bridge device handler

I’m trying to get the MQTT Bridge installed on my smartthings device. I have the web server up and running (tested it sends data to my MQTT server) but for some reason i cant get my hub to send notifications to the bridge web server. I captured all of the traffic on my server and didnt see any coming from the smartthings hub

I’m looking in the code and found where it sends the data (i believe) and modified it a bit to produce some logging. Here is what i have

def deviceNotification(message) {
log.debug "Starting deviceNotification"

def headers = [:]
headers.put("HOST", "$ip:$port")
headers.put("Content-Type", "application/json")
log.debug "Sending data"

def hubAction = new physicalgraph.device.HubAction([
    method: "POST",
    path: parsed.path,
    headers: headers,
    body: parsed.body], 
    [callback: calledBackHandler]
log.debug "After"
log.debug hubAction.toString()

def calledBackHandler(evt) {
 log.debug "Entered calledBackHandler()..."

For some reason the callBAckHandler function isn’t being called. Any idea why it’s not being called, or why messages are not coming out from the hub?

Got it working, i feel like i’ve tried this before but guess not. Changed the line “hubAction” to “sendHubCommand(hubAction)”.