<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><blockquote type="cite" class=""><div text="#000000" bgcolor="#FFFFFF" class="">Any debugging to do before I reset it with today's bits?</div></blockquote><div class=""><br class=""></div>Greg: Hang on 30 minutes or so. I’ve got some fixes (including a big one that I think is causing us many of these random issues). Just testing all the combinations at the moment, and then I will commit…<div class=""><br class=""></div><div class="">Regards, Mark.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 20 Mar 2018, at 10:30 AM, Greg D. <<a href="mailto:gregd2350@gmail.com" class="">gregd2350@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
Hi folks,<br class="">
<br class="">
I left last night's build running all night and had other
distractions today, so just got around to looking at how it held
up. While it's still alive, the clock seems to have gotten stuck.
m.monotonic stands at 30389 Sec and holding, which was some time
early this morning. Oddly, the time command shows the correct UTC
time.<br class="">
<br class="">
Here's the last set of log messages. Perhaps of interest is the
last one (frame overflow), and the authentication failure before
that. <br class="">
<br class="">
Any debugging to do before I reset it with today's bits? None of
the module commands work (complains about needing heap tracking and
an updated esp-idf, both of which I thought I had done).<br class="">
<br class="">
Greg<br class="">
<br class="">
<br class="">
<div dir="ltr" class="">W (29694436) simcom: 3 minutes since last MUX rx
frame - assume MUX has failed<br class="">
I (29694436) gsm-ppp: Shutting down (soft)...<br class="">
I (29694436) time: Stopping SNTP client<br class="">
I (29694436) ovms-server-v2: Network is down, so disconnect
network connection<br class="">
E (29694436) ovms-server-v2: Status: Error: Disconnected from OVMS
Server V2<br class="">
I (29694446) gsm-nmea: Shutdown (direct)<br class="">
I (29694446) gsm-mux: Stop MUX<br class="">
I (29694446) simcom: Power Cycle<br class="">
I (29694496) webserver: Stopping Web Server<br class="">
I (29695446) simcom: State: Enter PoweringOn state<br class="">
I (29695446) simcom: Power Cycle<br class="">
I (29703436) simcom: State timeout, transition to 2<br class="">
I (29703436) simcom: State: Enter PoweringOn state<br class="">
I (29703436) simcom: Power Cycle<br class="">
I (29705966) gsm-ppp: StatusCallBack: User Interrupt<br class="">
I (29705966) gsm-ppp: PPP connection has been closed<br class="">
I (29709566) simcom: State: Enter PoweredOn state<br class="">
I (29729436) simcom: State: Enter MuxStart state<br class="">
I (29729436) gsm-mux: Start MUX<br class="">
I (29729446) gsm-mux: Channel #0 is open<br class="">
I (29729446) gsm-mux: Channel #1 is open<br class="">
I (29729456) gsm-mux: Channel #2 is open<br class="">
I (29729456) gsm-mux: Channel #3 is open<br class="">
I (29729466) gsm-mux: Channel #4 is open<br class="">
I (29730436) simcom: State: Enter NetWait state<br class="">
I (29734436) simcom: State: Enter NetStart state<br class="">
I (29735556) simcom: PPP Connection is ready to start<br class="">
I (29736436) simcom: State: Enter NetMode state<br class="">
I (29736436) gsm-ppp: Initialising...<br class="">
I (29739486) gsm-ppp: StatusCallBack: None<br class="">
I (29739486) gsm-ppp: status_cb: Connected<br class="">
I (29739486) gsm-ppp: our_ipaddr = 10.170.146.142<br class="">
I (29739486) gsm-ppp: his_ipaddr = 10.64.64.64<br class="">
I (29739486) gsm-ppp: netmask = 255.255.255.255<br class="">
I (29739486) gsm-ppp: our6_ipaddr = ::<br class="">
I (29739486) netmanager: Set DNS#0 9.9.9.9<br class="">
I (29739486) netmanager: Set DNS#1 8.8.8.8<br class="">
I (29739496) netmanager: Interface priority is pp3 (<a href="http://10.170.146.142/255.255.255.255" class="">10.170.146.142/255.255.255.255</a>
gateway 10.64.64.64)<br class="">
I (29739496) time: Starting SNTP client<br class="">
I (29739516) webserver: Launching Web Server<br class="">
I (29739556) ovms-server-v2: Network is up, so attempt network
connection<br class="">
I (29739566) ovms-server-v2: Connection is <a href="http://tmc.openvehicles.com:6867/" class="">tmc.openvehicles.com:6867</a>
ROADSTER_834/Gdbkt2017server<br class="">
I (29739566) ovms-server-v2: Status: Connecting...<br class="">
I (29740786) ovms-server-v2: Connection successful<br class="">
I (29740786) ovms-server-v2: Status: Logging in...<br class="">
I (29740786) ovms-server-v2: Sending server login: MP-C 0
hYmLdxeZxWCwkNgpup0zeB jl/Ifu5Hg8lq+S/PTc4uOQ== ROADSTER_834<br class="">
I (29741496) ovms-server-v2: Got server response: MP-S 0
LKP5Qi2E4PlFzPJ7mc4sWd +S88vnrZARs61sAzkivLTg==<br class="">
I (29741506) ovms-server-v2: Server token is
LKP5Qi2E4PlFzPJ7mc4sWd and digest is +S88vnrZARs61sAzkivLTg==<br class="">
I (29741516) ovms-server-v2: Status: Server auth ok. Now priming
crypto.<br class="">
I (29741516) ovms-server-v2: Shared secret key is
LKP5Qi2E4PlFzPJ7mc4sWdhYmLdxeZxWCwkNgpup0zeB (44 bytes)<br class="">
I (29741516) ovms-server-v2: Status: OVMS V2 login successful, and
crypto channel established<br class="">
I (29741526) ovms-server-v2: Incoming Msg: MP-0 Z0<br class="">
W (29922436) simcom: 3 minutes since last MUX rx frame - assume
MUX has failed<br class="">
I (29922436) gsm-ppp: Shutting down (soft)...<br class="">
I (29922436) time: Stopping SNTP client<br class="">
I (29922436) ovms-server-v2: Network is down, so disconnect
network connection<br class="">
E (29922436) ovms-server-v2: Status: Error: Disconnected from OVMS
Server V2<br class="">
I (29922446) gsm-nmea: Shutdown (direct)<br class="">
I (29922446) gsm-mux: Stop MUX<br class="">
I (29922446) simcom: Power Cycle<br class="">
I (29922526) webserver: Stopping Web Server<br class="">
I (29923446) simcom: State: Enter PoweringOn state<br class="">
I (29923446) simcom: Power Cycle<br class="">
I (29931436) simcom: State timeout, transition to 2<br class="">
I (29931436) simcom: State: Enter PoweringOn state<br class="">
I (29931436) simcom: Power Cycle<br class="">
I (29933966) gsm-ppp: StatusCallBack: User Interrupt<br class="">
I (29933966) gsm-ppp: PPP connection has been closed<br class="">
I (29937576) simcom: State: Enter PoweredOn state<br class="">
I (29957456) simcom: State: Enter MuxStart state<br class="">
I (29957456) gsm-mux: Start MUX<br class="">
I (29957466) gsm-mux: Channel #0 is open<br class="">
I (29957476) gsm-mux: Channel #1 is open<br class="">
I (29957486) gsm-mux: Channel #2 is open<br class="">
I (29957486) gsm-mux: Channel #3 is open<br class="">
I (29957496) gsm-mux: Channel #4 is open<br class="">
I (29958436) simcom: State: Enter NetWait state<br class="">
I (29962436) simcom: State: Enter NetStart state<br class="">
I (29963596) simcom: PPP Connection is ready to start<br class="">
I (29964436) simcom: State: Enter NetMode state<br class="">
I (29964436) gsm-ppp: Initialising...<br class="">
I (29967466) gsm-ppp: StatusCallBack: None<br class="">
I (29967466) gsm-ppp: status_cb: Connected<br class="">
I (29967466) gsm-ppp: our_ipaddr = 10.170.146.142<br class="">
I (29967466) gsm-ppp: his_ipaddr = 10.64.64.64<br class="">
I (29967466) gsm-ppp: netmask = 255.255.255.255<br class="">
I (29967466) gsm-ppp: our6_ipaddr = ::<br class="">
I (29967466) netmanager: Set DNS#0 9.9.9.9<br class="">
I (29967466) netmanager: Set DNS#1 8.8.8.8<br class="">
I (29967466) netmanager: Interface priority is pp3 (<a href="http://10.170.146.142/255.255.255.255" class="">10.170.146.142/255.255.255.255</a>
gateway 10.64.64.64)<br class="">
I (29967466) time: Starting SNTP client<br class="">
I (29967486) webserver: Launching Web Server<br class="">
I (29967516) ovms-server-v2: Network is up, so attempt network
connection<br class="">
I (29967516) ovms-server-v2: Connection is <a href="http://tmc.openvehicles.com:6867/" class="">tmc.openvehicles.com:6867</a>
ROADSTER_834/Gdbkt2017server<br class="">
I (29967516) ovms-server-v2: Status: Connecting...<br class="">
I (29968586) ovms-server-v2: Connection successful<br class="">
I (29968596) ovms-server-v2: Status: Logging in...<br class="">
I (29968596) ovms-server-v2: Sending server login: MP-C 0
7xW8GUvco/C+bw2wbq8wMm MD0wjvyEyLxp/H+efl4NXg== ROADSTER_834<br class="">
I (29969286) ovms-server-v2: Got server response: MP-S 0
AkbsS/NHbhRCN9+tCeUsu5 K9o43t18dAbTMbHRWGwnJg==<br class="">
I (29969286) ovms-server-v2: Server token is
AkbsS/NHbhRCN9+tCeUsu5 and digest is K9o43t18dAbTMbHRWGwnJg==<br class="">
I (29969296) ovms-server-v2: Status: Server auth ok. Now priming
crypto.<br class="">
I (29969296) ovms-server-v2: Shared secret key is
AkbsS/NHbhRCN9+tCeUsu57xW8GUvco/C+bw2wbq8wMm (44 bytes)<br class="">
I (29969296) ovms-server-v2: Status: OVMS V2 login successful, and
crypto channel established<br class="">
I (29969316) ovms-server-v2: Incoming Msg: MP-0 Z0<br class="">
I (29970436) ovms-server-v2: Send MP-0
S45.0,K,0,0,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0<br class="">
I (29970436) ovms-server-v2: Send MP-0
D0,0,5,0,0,0,0,0,0,29970,0,0,0,0,0.236264,0,0,0,0,0<br class="">
I (29970436) ovms-server-v2: Send MP-0
F3.0.991-91-gffbc545/factory/main build (idf
v3.1-dev-429-g7f6161cd) Mar 18 2018 22:02:28,,10,1,TR,<br class="">
W (30175436) simcom: 3 minutes since last MUX rx frame - assume
MUX has failed<br class="">
I (30175436) gsm-ppp: Shutting down (soft)...<br class="">
I (30175436) time: Stopping SNTP client<br class="">
I (30175436) ovms-server-v2: Network is down, so disconnect
network connection<br class="">
E (30175436) ovms-server-v2: Status: Error: Disconnected from OVMS
Server V2<br class="">
I (30175446) gsm-nmea: Shutdown (direct)<br class="">
I (30175446) gsm-mux: Stop MUX<br class="">
I (30175446) simcom: Power Cycle<br class="">
I (30175576) webserver: Stopping Web Server<br class="">
I (30176446) simcom: State: Enter PoweringOn state<br class="">
I (30176446) simcom: Power Cycle<br class="">
I (30184436) simcom: State timeout, transition to 2<br class="">
I (30184436) simcom: State: Enter PoweringOn state<br class="">
I (30184436) simcom: Power Cycle<br class="">
I (30186966) gsm-ppp: StatusCallBack: User Interrupt<br class="">
I (30186966) gsm-ppp: PPP connection has been closed<br class="">
I (30190536) simcom: State: Enter PoweredOn state<br class="">
I (30210436) simcom: State: Enter MuxStart state<br class="">
I (30210436) gsm-mux: Start MUX<br class="">
I (30210446) gsm-mux: Channel #0 is open<br class="">
I (30210446) gsm-mux: Channel #1 is open<br class="">
I (30210456) gsm-mux: Channel #2 is open<br class="">
I (30210456) gsm-mux: Channel #3 is open<br class="">
I (30210466) gsm-mux: Channel #4 is open<br class="">
I (30211436) simcom: State: Enter NetWait state<br class="">
I (30215436) simcom: State: Enter NetStart state<br class="">
I (30216476) simcom: PPP Connection is ready to start<br class="">
I (30217436) simcom: State: Enter NetMode state<br class="">
I (30217436) gsm-ppp: Initialising...<br class="">
I (30289396) gsm-ppp: StatusCallBack: Authentication Failed<br class="">
E (30289396) gsm-ppp: status_cb: Failed authentication challenge<br class="">
I (30289396) gsm-ppp: Shutdown (via status callback)<br class="">
I (30289396) gsm-ppp: Attempting PPP reconnecting in 30 seconds...<br class="">
W (30398436) simcom: 3 minutes since last MUX rx frame - assume
MUX has failed<br class="">
I (30398436) gsm-ppp: Shutting down (soft)...<br class="">
W (32631576) gsm-mux: Frame overflow (2048 bytes)<br class="">
OVMS> metric list v.b.soc<br class="">
v.b.soc 45%<br class="">
OVMS> metric set v.b.soc 23<br class="">
Metric set<br class="">
OVMS> <br class="">
OVMS> network<br class="">
Interface#3: pp3 (ifup=1 linkup=0)<br class="">
IPv4: <a href="http://0.0.0.0/255.255.255.255" class="">0.0.0.0/255.255.255.255</a>
gateway 0.0.0.0<br class="">
<br class="">
Interface#2: ap2 (ifup=1 linkup=1)<br class="">
IPv4: <a href="http://192.168.4.1/255.255.255.0" class="">192.168.4.1/255.255.255.0</a>
gateway 192.168.4.1<br class="">
<br class="">
Interface#1: st1 (ifup=0 linkup=1)<br class="">
IPv4: <a href="http://0.0.0.0/0.0.0.0" class="">0.0.0.0/0.0.0.0</a>
gateway 0.0.0.0<br class="">
<br class="">
Interface#0: lo0 (ifup=1 linkup=1)<br class="">
IPv4: <a href="http://127.0.0.1/255.0.0.0" class="">127.0.0.1/255.0.0.0</a>
gateway 127.0.0.1<br class="">
<br class="">
DNS: 9.9.9.9 8.8.8.8<br class="">
<br class="">
Default Interface: ap2 (<a href="http://192.168.4.1/255.255.255.0" class="">192.168.4.1/255.255.255.0</a>
gateway 192.168.4.1)<br class="">
OVMS> simcom<br class="">
SIMCOM<br class="">
Network Registration: RegisteredRoaming<br class="">
State: NetMode<br class="">
Ticker: 181<br class="">
User Data: 0<br class="">
<br class="">
Mux<br class="">
Status: up<br class="">
Open Channels: 4<br class="">
Framing Errors: 1533<br class="">
Last RX frame: 181 sec(s) ago<br class="">
RX frames: 9<br class="">
TX frames: 27<br class="">
<br class="">
PPP<br class="">
Not Connected<br class="">
Last Error: Authentication Failed<br class="">
<br class="">
GPS<br class="">
Status: disabled<br class="">
Time: disabled<br class="">
NMEA: GPS/GLONASS Not Connected<br class="">
OVMS> <br class="">
</div>
<br class="">
</div>
_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.teslaclub.hk" class="">OvmsDev@lists.teslaclub.hk</a><br class="">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br class=""></div></blockquote></div><br class=""></div></body></html>