Announcement

Collapse
No announcement yet.

GeoFency Error message with PHLocation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GeoFency Error message with PHLocation

    I noticed that my GeoFency devices were not updating so, I decided to update the devices which somehow made them disappeared. So I decided that I would simply create a new PHLocation User for Geofency but I need a Geofency Device ID. I thought that I could simply get a new one by sending "http://192.168.0.XXX:80XX/phlgeofency" (LAN test) which prompts me for the PHLocation Server usename and password, once they have been inputted I get the following message "PHLocation Error - (httpprocrequest) Empty data string!" (I was hoping to get the "(ProcessFenceQueue) No PHL user device found for incoming Fence device ID [D6FB552D-6F15-442E-BDE0-A2EAEEEEEEEE]!" message (I had saved my previous device ID in the hopes to simply cut&paste). When I attempt to do a WAN test (turning off my Wifi on my phone) I use my Geofency app to send a test message -"http://XXX.hopto.org:80XX/phlgeofency" in stead of getting a successful message on the app and in HS3 log, I get failed and HS3 Log - "PHLocation Error (httpprocrequest) No auth received and request not allowed from this IP!" What am I missing? Mike
    Computer: CUK Intel NUC7i7BNH
    Op System: Windows10 Pro - Work Station
    HS Version: HS4 Pro Edition 4.2.19.0

    Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

    #2
    "PHLocation Error (httpprocrequest) No auth received and request not allowed from this IP!"
    This message indicates that authentication of the request from GeoFency was not successful. Did you ensure that auth is set to basic and the credentials entered in the GeoFency app match those entered in the plug-in config?

    Paul..

    Comment


      #3
      I will also throw out something that happened to me last year. For some reason the Geofency Device ID changed on our phones. I am not sure what triggered it, possibly an app or iOS update. It was not a PHLocation issue. I just sent test entries of one fence on each phone so that I could log the ID. Then I copied them from the log and pasted them into the Geofency Device ID on each root device. Loading "http://192.168.0.XXX:80XX/phlgeofency" will not generate a device ID, it has to be a fence posting from the app on each phone.

      Both of our IDs also changed when we got new phones.
      HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon

      Comment


        #4
        Thanxs guys, surly we can not be the only folks using/having this issue with PHLocation/GeoFency? Paul, as always you're correct somehow my server userid and password within the GeoFency app authorization tabs are now blank.

        Randy I think your are correct that either a new version of GeoFency or IOS update seems to reset one's credentials. Obviously once I set them I got successful PASS test, but looking in my log my device ID has also changed... which I think is because I recently updated to iPhone X (week ago), I assume that the device id from Geofency must create new device ID based on change of phones "Too many moving parts!", again thanx for the support.
        Last edited by MNB; May 13, 2018, 07:47 PM.
        Computer: CUK Intel NUC7i7BNH
        Op System: Windows10 Pro - Work Station
        HS Version: HS4 Pro Edition 4.2.19.0

        Plug-Ins: AK Weather 4.0.5.25,APCUPSD 3.3.2.3,BLBackup 2.0.63.0,BLEditor 2.0.11.0,BLGData 3.0.55.0,BLOccupied 2.0.28.0,BLShutdown 1.0.6.0,Blue-Iris 3.1.3.33206,Device History 3.2.0.2,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,iRobot 5.22.41.1,JowiHue 4.0.8.7,Nest 3.0.0.34,NetCam Plugin 1.0.0.5,PHLocation2 3.0.0.64,Pushover 4.0.10.0,Random 3.0.0.2,Restart 1.0.0.7,Ring 1.0.0.9,SDJ-Health 3.1.1.3,Sonos 3.1.0.59,Sonos4 4.0.1.12,UltraCID3 3.0.6681.34300,UltraMon3 3.0.6554.33094,UltraNetCam3 3.0.6413.20219,Unifi 4.0.32.0,Zigbee 4.0.11.0,Z-Wave 4.0.3.0, and Jon00 scripts.

        Comment


          #5
          I don't know if it something that the app simply requests from the OS or if it is generated from within the app itself but the DeviceID needs to be unique for any physical device/app combination.

          If an update comes in for an unrecognised DeviceID, you will get a warning entry in the HS3 log which includes the [DeviceID] enclosed in square brackets which you can then simply copy from the log and paste into the relevant device config.

          This procedure has generated endless support requests over the years but I can't really see a better way of doing it.

          Last time I checked, there was no way to establish the DeviceID from the apps themselves which is why the current "warning in the log" method was adopted.

          I could make it so that it stores any unknown DeviceID's in a heard list from which you then choose when adding a new geofencing user device type but in reality this would be no easier than the current method because there is no way (other than trial and error) to know which DeviceID belongs to which physical device.

          Paul..

          Comment


            #6
            Originally posted by MNB View Post
            Thanxs guys, surly we can not be the only folks using/having this issue with PHLocation/GeoFency? Paul, as always you're correct somehow my server userid and password within the GeoFency app authorization tabs are now blank.

            Randy I think your are correct that either a new version of GeoFency or IOS update seems to reset one's credentials. Obviously once I set them I got successful PASS test, but looking in my log my device ID has also changed... which I think is because I recently updated to iPhone X (week ago), I assume that the device id from Geofency must create new device ID based on change of phones "Too many moving parts!", again thanx for the support.
            Each time I installed the app on a new phone a new device ID is generated. As Paul said, they have to be unique for each device. Also, the credentials are not restored to the new phone from a backup. I don’t know if it is an app thing or an Apple thing.
            HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon

            Comment

            Working...
            X