Problem OpenGTS logs

Help
Gintas
2013-02-07
2013-12-24
  • Gintas
    Gintas
    2013-02-07

    i don't get data to my server from tracking device.

    tk10x.log
    Remote client port: /62.212.205.202:2020
    Begin TCP communication:<ip><port>
    Receive: ##,imei:<imei>,A
    TK103 Header: ##,imei:<imei>,A
    TCP Response 0x4C4F4144
    ReadPacket error - java.net.SocketException: Connection reset
    Connection closed

    what means 2 error?
    What do I have to do?

     
  • Ramiro
    Ramiro
    2013-02-20

    The decoding of your packet can't de done from your tracking device. Analize your protocol, openGTS can't do your job .

    I suggest you to run your server and use echo inside TrackClientPacketHandler.java start analizing
    getHandlePacket(byte pktBytes)
        {
    }

    and learn more Java, i have received those errors hundred of times because i don't do my programing in the proper way.
    regards,

     
  • I'm getting 'GoogleGeocodeV2.GetXMLDocument:621]IO error: org.opengts.util.HTMLTools$HttpIOException: Server returned HTTP response code: 403 for URL: http://maps.google.com/maps/geo?output=xml&oe=utf8&ll=17.41413,78.57038&sensor=true&key=AIzaSyDskAxAD0aWaMmrjGPgfB1rTuWlR8LXkKw&hl=en'

    How to solve this?

    I got this key by Activating google maps APIv3 and I provided this key to both 'map provider' and 'Reverse Geocode Provider'. i.e.

    ReverseGeocodeProvider name="google"
    active="${Domain.ReverseGeocodeProvider.active=true}"
    class="org.opengts.geocoder.google.GoogleGeocodeV2"
    key="${Domain.ReverseGeocodeProvider.key=AIzaSyDskAxAD0aWaMmrjGPgfB1rTuWlR8LXkKw}"
    rtPropPrefix="Domain.ReverseGeocodeProvider.">
    Property key="sensor">true/Property>
    <Property key="alwaysFast">false</Property>
    </ReverseGeocodeProvider>
    and

    MapProvider name="googleMaps"
    active="${Domain.MapProvider.active=true}"
    class="org.opengts.war.maps.jsmap.GoogleMaps"
    key="${Domain.MapProvider.key=AIzaSyDskAxAD0aWaMmrjGPgfB1rTuWlR8LXkKw}"
    rtPropPrefix="Domain.MapProvider.">

    But I'm not getting addresses of the location. Please help me How to get the addresses.

     
    Last edit: MUDIREDDI THILAK REDDY 2013-12-25