Skip to content

App not working - Illegal character in URL? #29

@mgbroyles

Description

@mgbroyles

Hello,

I have been using this app since March 17 and found it very helpful. Thank you for creating it. Recently, my SmartThings hub broke, and I had to switch over to a new one. Now that I have reinstalled this app/device handler it is no longer working.

I have integrated Github and am pulling the code from the repository. I will paste the logs below. Please let ,me know if you know of any way I can get this working again.

a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:15 AM: debug sending event off to DISARM
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:15 AM: debug trying to update status of child device DISARM
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:15 AM: debug state variable dataunit set to null from html parse with pattern ctl00__page_html.data-unit-id
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:15 AM: debug state variable extension set to null from html parse with pattern ctl00_phBody_ddlDevice.optionvalue#Panel
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:15 AM: error something went wrong: java.net.URISyntaxException: Illegal character in path at index 50: https://www.alarm.com/web/api/devices/partitions/${dataunit}${extension}/armStay
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug navigation::get https://www.alarm.com/web/History/EventHistory.aspx
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug navigation:[name:idextract, uri:https://www.alarm.com/web/History/EventHistory.aspx, state:[dataunit:ctl00__page_html.data-unit-id, extension:ctl00_phBody_ddlDevice.optionvalue#Panel, afg:cookie:afg], referer:https://www.alarm.com/web/Default.aspx, headers:[Host:www.alarm.com, User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36, Accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8, Accept-Language:en-US,en;q=0.5, Cookie:ASP.NET_SessionId=wnfs4md0yvcledlgmqtqitru;twoFactorAuthenticationId=6E3D2436817F533D79B31B2A97F8C008E0910ACDC9E199433E8CBA9D51CEC191;BIGipServerAlarmApplicationAlarm_WEBADC_Alarm_HTTPS=!CUjqSyJY8UqUafjfq1PpycjqXg8oNbu2+2OFbWrTfG6uOVGKZuqRDBoBKD6JdxtL7TlEUMBYN0JPmlY=;cookieTest=1;twoFactorAuthenticationId=6E3D2436817F533D79B31B2A97F8C008E0910ACDC9E199433E8CBA9D51CEC191;IsFromNewSite=1;fromASP=;IsFromSeamlessLogin=;login=;ST=;SeamlessLoginEnabled=;loggedInAsSubscriber=1;afg=YVDb+sHSvZr32Px4y53Vrg==;afg=YVDb+sHSvZr32Px4y53Vrg==;auth_CustomerDotNet=9DF2796DFB65FE7766ED4B19873B8F829959698D7982130726947C69503503E850558D4F4B58B61C93C874F5EA9B381499DC0BB3F0D0DE4CB5FFA1AD7AC1601624A763808C07CAD7FC868BBFDC4D10C7], variables:[:]]
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug navigation:[name:login, uri:https://www.alarm.com/web/Default.aspx, method:post, variables:[__VIEWSTATE:T8p088OYBXejJTS9tW6kfg4R/qvuCZg+oK06JEy1OsgBlam8li2lgpVwuwVUSpOBZY0sYV6CQSkw0cdGgOIn6eac1jlvyHYS6A+2/Axxyur2cVFiw6SfgT5AAi/Qq1kX9wVJTNVBQsyj+ZwMhL6ITXDJpZuTU/WgDz2QdGsh/EKUO6W7/NSbwbxtePrmX0HnN7Dh7pUmZ7XxD8YYaZTkjI7j6Qv8lNVsYWUr55Flg734cLirUNCItqY7QJZ/eKVmDHfbB6U/4GnCSD0KpSB8VA==, __VIEWSTATEGENERATOR:C2EE9ABB, __EVENTVALIDATION:RWHFYdAVNebx+BtuPAToDbsiJkwyAwPomzuWC9pzEX9KjjnFKW57aMmQPry4NfjReoWmzMlTR069S1f18PIUqiaJkX75nFJZTXv4WkxYVJhl1039Hh2VMvDxHCPbHlTMyPurxQO6+25dl3yh7R6ePAkLEwn7eEplJm9eRFV2jEpxEugl/wkvOMzSHJhxoa/Wv9bI107khJjABP3+vvl+NdZgC2gZT49KQpHxm3ODUXqZRahy27+hBNvASFJqzxxNAKOidqEnW2IYWC7njIzAZGdIpWNmVw96cjb00NHfnEzd4zzXTFuQsom72p8MnVnD, IsFromNewSite:1, JavaScriptTest:1, ctl00$ContentPlaceHolder1$loginform$hidLoginID:, ctl00$ContentPlaceHolder1$loginform$txtUserName:[redacted], ctl00$ContentPlaceHolder1$loginform$txtPassword:[redacted], ctl00$ContentPlaceHolder1$loginform$signInButton:Logging In..., ctl00$bottom_footer3$ucCLS_ZIP$txtZip:Zip Code], state:[afg:cookie:afg], nofollow:true, referer:https://www.alarm.com/login.aspx, headers:[Host:www.alarm.com, User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36, Accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8, Accept-Language:en-US,en;q=0.5, Cookie:ASP.NET_SessionId=wnfs4md0yvcledlgmqtqitru;twoFactorAuthenticationId=6E3D2436817F533D79B31B2A97F8C008E0910ACDC9E199433E8CBA9D51CEC191;BIGipServerAlarmApplicationAlarm_WEBADC_Alarm_HTTPS=!CUjqSyJY8UqUafjfq1PpycjqXg8oNbu2+2OFbWrTfG6uOVGKZuqRDBoBKD6JdxtL7TlEUMBYN0JPmlY=]]
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: trace response status is 200 for initlogin and uri:https://www.alarm.com/login.aspx
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug navigation:[name:initlogin, uri:https://www.alarm.com/login.aspx, headers:[Host:www.alarm.com, User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36, Accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8, Accept-Language:en-US,en;q=0.5], variables:[:]]
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: trace response status is 302 for login and uri:https://www.alarm.com/web/Default.aspx
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug runCommand got command ARMSTAY with silent null and nodelay of null and bypass of null
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug navigation::get https://www.alarm.com/login.aspx
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug getCommand got command ARMSTAY with silent null and nodelay of null
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug state variable afg set to YVDb+sHSvZr32Px4y53Vrg== from cookie
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug processing recipe login
fdd13212-ebf7-4fdd-b313-8c1762486234 11:55:14 AM: debug switch got command ARMSTAY with silent null and nodelay of null and bypass of null
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug getRecipe got command: silent is null and nodelay is null and bypass is null and command is ARMSTAY and COMMAND is [params:[command:/armStay, silent:false, nodelay:false], name:Arm Stay, button:true] and panelid is null
a3ec2f8c-d535-4e5a-8ad6-348635c0499e 11:55:14 AM: debug processing recipe initlogin
fdd13212-ebf7-4fdd-b313-8c1762486234 11:55:14 AM: debug switch got command ARMSTAY with silent null and nodelay of null and bypass of null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions