leighghunt / vessel-debug

0 stars 0 forks source link

Data dropping off #1

Open leighghunt opened 7 years ago

leighghunt commented 7 years ago

Restarted outbound service at 07:07 - no effect

Reconfigured 6->5 second update at 07:08, 77 -> 99 vessels within 3 mins.

Updates after 07:08

leighghunt commented 7 years ago

Confirmed output attempting to update with old ObjectIDs:

In sample data below - min and max ObjectIDs are currently 1005->1008, was previously 856->965 and the 966->977. It's attempting to update Object ID 861.

{"mmsi":"123456789","heading":49,"course":0,"speed":0,"turn":127,"status":15,"lastupdated":1505083349685,"shipname":"NAVICOM TEST","callsign":null,"destination":null,"objectid":861}}
Posting to URL: https://devmaps.at.govt.nz/arcgis/rest/services/Hosted/Vessels/FeatureServer/0/updateFeatures with parameters: features=[{"geometry":{"x":174.76846666666665,"y":-36.83685166666667,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512000742","heading":511,"course":226,"speed":92,"turn":128,"status":15,"lastupdated":1505083347420,"shipname":"CLIPPER 2","callsign":"ZMS7101","destination":"AUCK/PINE HBR/OTHER","objectid":891}},{"geometry":{"x":174.98972,"y":-36.88973,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512000741","heading":511,"course":360,"speed":0,"turn":128,"status":0,"lastupdated":1505083350796,"shipname":"CLIPPER 3","callsign":"ZMT3984","destination":null,"objectid":927}},{"geometry":{"x":174.69853666666666,"y":-36.750365,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"123456789","heading":49,"course":0,"speed":0,"turn":127,"status":15,"lastupdated":1505083349685,"shipname":"NAVICOM TEST","callsign":null,"destination":null,"objectid":861}},{"geometry":{"x":176.24845666666667,"y":-36.71547,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512006191","heading":511,"course":3420,"speed":10,"turn":null,"status":null,"lastupdated":1505083348694,"shipname":"SAN ARAMAND","callsign":"ZMG3486","destination":null,"objectid":863}},{"geometry":{"x":174.12046666666666,"y":-35.312375,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512004062","heading":511,"course":1453,"speed":3,"turn":null,"status":null,"lastupdated":1505083351618,"shipname":"ARAWHITI","callsign":"ZMS8209","destination":null,"objectid":905}},{"geometry":{"x":174.781155,"y":-36.683928333333334,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512005155","heading":511,"course":184,"speed":242,"turn":128,"status":15,"lastupdated":1505083350691,"shipname":"D7","callsign":"ZME7070","destination":"AUCKLAND AREA","objectid":906}},{"geometry":{"x":174.77367666666666,"y":-36.838883333333335,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512003184","heading":511,"course":2638,"speed":56,"turn":null,"status":null,"lastupdated":1505083349397,"shipname":"MANUKAU","callsign":null,"destination":null,"objectid":866}},{"geometry":{"x":174.79547333333332,"y":-36.83321,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512006003","heading":89,"course":61,"speed":1,"turn":0,"status":5,"lastupdated":1505083350590,"shipname":"CAPRICORNIAN SURFER","callsign":"ZMG3426","destination":"DEVON PORT","objectid":880}},{"geometry":{"x":174.490125,"y":-35.83509,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512004671","heading":511,"course":34,"speed":0,"turn":128,"status":15,"lastupdated":1505083346917,"shipname":"MARSDEN BAY","callsign":"ZMU2829","destination":null,"objectid":867}},{"geometry":{"x":174.78815,"y":-36.83844333333333,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512001266","heading":511,"course":1115,"speed":72,"turn":null,"status":null,"lastupdated":1505083348795,"shipname":"SEAFLYTE","callsign":"ZM2763","destination":null,"objectid":918}},{"geometry":{"x":174.76745666666667,"y":-36.841585,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512004656","heading":511,"course":200,"speed":1,"turn":128,"status":15,"lastupdated":1505083351401,"shipname":"D6","callsign":"ZMU7402","destination":null,"objectid":919}},{"geometry":{"x":176.16186666666667,"y":-37.01795,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"636014030","heading":180,"course":177,"speed":143,"turn":0,"status":0,"lastupdated":1505083347218,"shipname":"MV SOFRANA TOURVILLE","callsign":"A8QX8","destination":"TAURANGA","objectid":886}},{"geometry":{"x":174.938995,"y":-36.13052166666667,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"219982000","heading":357,"course":358,"speed":147,"turn":0,"status":0,"lastupdated":1505083348122,"shipname":"JOHANNES MAERSK","callsign":"OWFD2","destination":"NZ AKL > MY TPP","objectid":874}},{"geometry":{"x":174.78724,"y":-36.62339333333333,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512004418","heading":511,"course":2362,"speed":0,"turn":null,"status":null,"lastupdated":1505083350407,"shipname":"ECLATANT","callsign":"ZMU6620","destination":null,"objectid":872}},{"geometry":{"x":174.98979,"y":-36.88984,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512003229","heading":511,"course":304,"speed":0,"turn":128,"status":0,"lastupdated":1505083347319,"shipname":"CLIPPER 4","callsign":"ZMW3415","destination":"AUCKLAND","objectid":1009}},{"geometry":{"x":174.93584833333333,"y":-35.907828333333335,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"538005057","heading":182,"course":182,"speed":139,"turn":8,"status":0,"lastupdated":1505083350797,"shipname":"BALAO","callsign":"V7AR9","destination":"AUCKLAND","objectid":875}}]&rollbackOnFailure=false&f=json&token=MPQlmhOaLYR0k8mOdEo3Gq-mFu_7gkgx1N_1yO1kqLxkifAcTyZ3nc2aF5S12wuhm06m3WTMK5C7jsRtLMAfC0Aasjb5yUf26s6WZal54G0oNa5-XT_3pENb4KbItjFT__8BHD4U42jqTZlNXWMHigHCY9sUCsSeGCluJJGNRkysoqNtIgR_iCuwYFLbMNwZ-CkoTzZlQLTBZI8hYyvE93JQYa1VLN5Eq5ZdembHba1pOoFNGjbnhihCdMetKpNER4Wb7XORHbPnY4XKYU9RuC_Am6-N48nfmNbZ-3GNMc2dvNl85-qou9SO3e5nwEyc-JTCJ4nJgK4kCpYsk7QAvA..&rollbackOnFailure=true.
leighghunt commented 7 years ago
Response was {"updateResults":[{"objectId":860,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":979,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":891,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":877,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":861,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":879,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":915,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":906,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":869,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":1006,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":921,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":886,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":874,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":1009,"globalId":null,"success":true},{"objectId":875,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}}]}. 11 Sep 2017 10:47:40 DEBUG
leighghunt commented 7 years ago

More sample error data:

Logger Message Time Level
com.esri.ges.transport.featureService.FeatureServiceOutboundTransport Response was {"updateResults":[{"objectId":1542,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":1590,"globalId":null,"success":false,"error":{"code":10512,"description":"Update for the object was not attempted. Object may not exist."}},{"objectId":1559,"globalId":null,"success":true},{"objectId":1575,"globalId":null,"success":true},{"objectId":1496,"globalId":null,"success":true}]}. 11 Sep 2017 15:59:35 DEBUG
com.esri.ges.transport.featureService.FeatureServiceOutboundTransport Posting to URL: https://devmaps.at.govt.nz/arcgis/rest/services/Hosted/Vessels/FeatureServer/0/updateFeatures with parameters: features=[{"geometry":{"x":174.743725,"y":-36.835856666666665,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512004918","heading":511,"course":1746,"speed":0,"turn":null,"status":null,"lastupdated":1505102370091,"shipname":"KIWA","callsign":"ZMT8738","destination":null,"objectid":1542}},{"geometry":{"x":174.74967333333333,"y":-36.829141666666665,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512001264","heading":511,"course":1066,"speed":178,"turn":null,"status":null,"lastupdated":1505102374157,"shipname":"OSPREY","callsign":"ZMR3723","destination":null,"objectid":1590}},{"geometry":{"x":174.76718666666667,"y":-36.84198333333333,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512001265","heading":511,"course":0,"speed":0,"turn":null,"status":null,"lastupdated":1505102372057,"shipname":"TIRI CAT","callsign":"ZM2279","destination":null,"objectid":1559}},{"geometry":{"x":174.78584833333332,"y":-36.62715166666667,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512001497","heading":511,"course":365,"speed":90,"turn":null,"status":null,"lastupdated":1505102374183,"shipname":"IKATERE","callsign":"ZMG2259","destination":null,"objectid":1575}},{"geometry":{"x":174.90052,"y":-36.87423666666667,"spatialReference":{"wkid":4326}},"attributes":{"mmsi":"512005636","heading":35,"course":359,"speed":72,"turn":null,"status":null,"lastupdated":1505102373874,"shipname":"OONA","callsign":"ZMF8869","destination":null,"objectid":1496}}]&rollbackOnFailure=false&f=json&token=krB5E2eCQQjuxqjFNwP3Sa7fMJb1_SEqkgvClL4-_0E_1W5HYTRJH_jNbJfrHbwLQRdLzyCNS4kgmr8DMS5BkLhwrvAkDmZ04Oz9uoRqxAnfGmxee_mPhXfZHf_0SCRVdgdkQbtwfJyekgF5Dln-9PPZ86EVebPXAfS7ntz1cZUH7diOv7vrr1tZgqFKY5Se43xO6SlMlZdQ2ZIa30U0LbQ7nvvdXWpF00m6NhAGI-5ksptfHd-0RNrTsg_MpFc40nLs-7O9I6ZX2CmP2tWXj6f83M6-WiBNDIR-k3OJsfY9rpfXKo_oGl8VZhu_Nh76YLvJ7tRm5p0eBXUpMcmHDw..&rollbackOnFailure=true. 11 Sep 2017 15:59:35 DEBUG