Giter Club home page Giter Club logo

Comments (9)

ckrey avatar ckrey commented on June 24, 2024

$reconnect
2014-08-25 22:00:29 E SSLSocketFactory IOException
2014-08-25 22:00:30 W MQTTHandler connectToBroker: 32103
2014-08-25 22:00:30 W MQTTHandler disconnect: 32101
2014-08-25 22:00:36 W MQTTHandler disconnect: 32101
Uncaught exception: java.lang.NullPointerException: 0

  • general.MQTTHandler.publish(), bci=4
  • general.SocketGPRSThread.processMessage(), bci=48
  • general.SocketGPRSThread.run(), bci=140
    reconnecting

from gw.

ckrey avatar ckrey commented on June 24, 2024

$reconnect
2014-08-25 22:02:50 W MQTTHandler disconnect: 32101
reconnecting
$state
NUMSAT:9;BEARER:3;CREG:5;CGREG:5;BATT:4.0;EXTV:0.0;Q:34;CONN:1;NETW:1;OPER:"E-Plus";WAKEUP:IgnitionWakeup;uFW:02.18,02.01,02.16;SW:0.6.88;EG5:Cinterion,EGS5-X,REVISION 02.004;IMEI:356612027383852;DATE:2014-08-25 22:03:11

from gw.

ckrey avatar ckrey commented on June 24, 2024

Watchdog is running, detecting GPRS is dead, but Watchdog is not killing the app

from gw.

ckrey avatar ckrey commented on June 24, 2024

another, maybe unrelated observation: GPRS connection gets lost from time to time (good weather, not moving):

2014-08-26 06:56:27 I AppMain wakeupMode is IgnitionWakeup
2014-08-26 07:18:19 W MQTTHandler connectionLost
2014-08-26 07:18:22 W MQTTHandler disconnect: 32101
$gps
2014-08-26 07:34:53
...
Altitude 65m
Speed 2kph
Course 0
Trip 44m

2014-08-26 07:49:11 W MQTTHandler connectionLost
2014-08-26 07:49:14 W MQTTHandler disconnect: 32101

from gw.

ckrey avatar ckrey commented on June 24, 2024

Extended error message probably was

E SSLSocketFactory IOException Profile could not be activated ssl://...

lowered log level from Error to Warning

from gw.

Choralthings avatar Choralthings commented on June 24, 2024

Could be a DNS problem?
Try to close the connection using AT+CGATT=0, and then retry to open the profile.

from gw.

jpmens avatar jpmens commented on June 24, 2024

It's always a fscking DNS problem ... ;-)

from gw.

ckrey avatar ckrey commented on June 24, 2024

Thanks for the hint. Obviously, the first thing the gw does to establish a
connection to the MQTT broker is to resolve it's name.

I already close the connection and repeat until the connect succeeds.

If the software stops retrying or hangs in a loop, I rely on the GPIO6
watchdog.

from gw.

ckrey avatar ckrey commented on June 24, 2024

Live testing showed no hang-up problems in the last 2 days

from gw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.