ArkansasRepeaterCouncil / website

RepeaterCouncil.org website - scroll down past the files for instructions
https://www.repeatercouncil.org/
MIT License
5 stars 4 forks source link

Exception thrown while trying to post JSON to url #98

Closed hiram-maxim closed 5 years ago

hiram-maxim commented 5 years ago

Message

The remote server returned an error: (500) Internal Server Error.

Help link

Source

System

Stack trace

at System.Net.HttpWebRequest.GetResponse() at Utilities.PostJsonToUrl(String url, Object objToSend) in e:\kunden\homepages\21\d553920072\www\ARC-website\App_Code\Utilities.cs:line 87

JSON: {"ID":68,"Type":"1","RepeaterCallsign":"W5WRA","TrusteeID":"27","TrusteeCallsign":"W5WEC","Status":"3","City":"Imboden","SiteName":"LCARC Tower","OutputFrequency":"147.045000","InputFrequency":"147.645000","Sponsor":"LawrCoARC","Latitude":"36.","Longitude":"-91.","AMSL":"583.00","ERP":"199","OutputPower":"45.7","AntennaGain":"6","AntennaHeight":"150.00","Analog_InputAccess":"None","Analog_OutputAccess":"","Analog_Width":"25.000","DSTAR_Module":"","DMR_ColorCode":"","DMR_ID":"","DMR_Network":"","P25_NAC":"","NXDN_RAN":"","YSF_DSQ":"","Autopatch":"0","EmergencyPower":true,"Linked":true,"RACES":false,"ARES":false,"WideArea":false,"Weather":true,"Experimental":false,"DateCoordinated":"1991-08-03T00:00:00","DateUpdated":"2/4/2019 7:22:49 PM","DateDecoordinated":"","DateCoordinationSource":"2015-10-31T00:00:00","DateConstruction":"","State":"AR","CoordinatedLatitude":"36.176944","CoordinatedLongitude":"-91.219444","CoordinatedOutputPower":"50","CoordinatedAntennaHeight":"150.00","Note":"","ChangeLog":"• OutputPower was changed from 50 to 45.7\r\n• Linked was changed from False to True\r\n• Weather was changed from False to True\r\n","callsign":"n5jlc","password":"****"}

URL: https://repeatercoordinationservice.azurewebsites.net/api/UpdateRepeater

JoshuaCarroll commented 5 years ago

First thing's first: sanitize debug info

JoshuaCarroll commented 5 years ago

Added debug data to web service. Will capture changes and debug next time.