Comments (9)
$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.
$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.
Watchdog is running, detecting GPRS is dead, but Watchdog is not killing the app
from gw.
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.
Extended error message probably was
E SSLSocketFactory IOException Profile could not be activated ssl://...
lowered log level from Error to Warning
from gw.
Could be a DNS problem?
Try to close the connection using AT+CGATT=0, and then retry to open the profile.
from gw.
It's always a fscking DNS problem ... ;-)
from gw.
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.
Live testing showed no hang-up problems in the last 2 days
from gw.
Related Issues (20)
- Seems to hangup when queue gets full HOT 3
- Restart when no connection possible HOT 1
- Restart App if GPRS, MQTT or FIX times out
- Persist last location to calculate trip distance to first fix
- Log triggers before performing reboot
- A message may get lost when gw looses connection to broker HOT 1
- NullPointerException - MQTTHandler problem or $reconnect artefact? HOT 2
- Implement persistent trip counter HOT 1
- change defaults
- Omit login via MQTT? HOT 1
- Disconnect cleanly on $upgrade and $reboot HOT 1
- Multiple versionchecks being performed HOT 4
- GPIO3 fires without reason HOT 2
- RecordStore operations very slow - sometimes HOT 3
- Avoid versioncheck on low battery? HOT 1
- Reduce CSV payload size by using Mapcode HOT 5
- offUntil must cause device to go silent HOT 6
- Is offUntil preventing setting date? HOT 3
- Possible overflow in trip HOT 1
- $log del does not delete log file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gw.