Mark Webb-Johnson wrote:
I’ve been rock solid for three days here, and a couple of network reconnects in that time.
But my tcp/is stack size is 4096bytes. Can you check yours in menuconfig, component config, LWIP, tcp/ip task stack size? My tiT task grows to 2472/4096 bytes.
Regards, Mark
I let yesterday's code run on the bench last night. Awoke to it being stuck... Here's the transition zone. Thoughts? I (9715181) ovms-server-v2: Send MP-0 S0,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 I (9715191) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,9712,0,0,0,0,0,0,0,0,0,0 I (10316191) ovms-server-v2: Send MP-0 S0,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 I (10316201) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,10313,0,0,0,0,0,0,0,0,0,0 I (10917201) ovms-server-v2: Send MP-0 S0,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 I (10917211) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,10914,0,0,0,0,0,0,0,0,0,0 I (11518211) ovms-server-v2: Send MP-0 S0,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 I (11518221) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,11515,0,0,0,0,0,0,0,0,0,0 I (12119221) ovms-server-v2: Send MP-0 S0,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 I (12119231) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,12116,0,0,0,0,0,0,0,0,0,0 I (12720231) ovms-server-v2: Send MP-0 S0,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 I (12720241) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,12717,0,0,0,0,0,0,0,0,0,0 I (13321241) ovms-server-v2: Send MP-0 S0,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 I (13321251) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,13318,0,0,0,0,0,0,0,0,0,0 I (13922251) ovms-server-v2: Send MP-0 S0,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 I (13922261) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,13919,0,0,0,0,0,0,0,0,0,0 I (14523261) ovms-server-v2: Send MP-0 S0,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 I (14523271) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,14520,0,0,0,0,0,0,0,0,0,0 I (15124271) ovms-server-v2: Send MP-0 S0,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 I (15124281) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,15121,0,0,0,0,0,0,0,0,0,0 I (15725281) ovms-server-v2: Send MP-0 S0,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 I (15725291) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,15722,0,0,0,0,0,0,0,0,0,0 I (16326291) ovms-server-v2: Send MP-0 S0,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 I (16326301) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,16323,0,0,0,0,0,0,0,0,0,0 I (16927301) ovms-server-v2: Send MP-0 S0,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 I (16927311) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,16924,0,0,0,0,0,0,0,0,0,0 I (17528311) ovms-server-v2: Send MP-0 S0,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 I (17528321) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,17525,0,0,0,0,0,0,0,0,0,0 I (18129321) ovms-server-v2: Send MP-0 S0,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 I (18129331) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,18126,0,0,0,0,0,0,0,0,0,0 I (18730331) ovms-server-v2: Send MP-0 S0,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 I (18730341) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,18727,0,0,0,0,0,0,0,0,0,0 I (19331341) ovms-server-v2: Send MP-0 S0,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 I (19331351) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,19328,0,0,0,0,0,0,0,0,0,0 I (19932351) ovms-server-v2: Send MP-0 S0,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 I (19932361) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,19929,0,0,0,0,0,0,0,0,0,0 I (20029401) simcom: CREG Network Registration: Searching I (20029461) simcom: Lost network connection (NetworkRegistration in NetMode) I (20029461) simcom: State: Enter NetLoss state I (20029461) gsm-ppp: Shutting down (hard)... I (20029461) ovms-server-v2: Network is down, so disconnect network connection E (20029461) ovms-server-v2: Status: Error: Disconnected from OVMS Server V2 I (20029471) gsm-ppp: StatusCallBack: User Interrupt I (20029471) gsm-ppp: PPP connection has been closed I (20038461) simcom: State timeout, transition to 5 I (20038461) simcom: State: Enter NetWait state I (20039461) ovms-server-v2: Status: Waiting for network connectivity I (20048481) simcom: CREG Network Registration: RegisteredRoaming I (20049461) simcom: State: Enter NetStart state I (20050551) simcom: PPP Connection is ready to start I (20051461) simcom: State: Enter NetMode state I (20051461) gsm-ppp: Initialising... I (20054951) gsm-ppp: StatusCallBack: None I (20054951) gsm-ppp: status_cb: Connected I (20054951) gsm-ppp: our_ipaddr = 10.170.146.142 I (20054951) gsm-ppp: his_ipaddr = 10.64.64.64 I (20054951) gsm-ppp: netmask = 255.255.255.255 I (20054951) gsm-ppp: our6_ipaddr = :: I (20059461) ovms-server-v2: Status: Network connectivity established I (20059461) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server I (20061011) ovms-server-v2: Connected to OVMS Server V2 at tmc.openvehicles.com I (20061021) ovms-server-v2: Status: Connected to server I (20061021) ovms-server-v2: Status: Logging in... I (20061021) ovms-server-v2: Sending server login: MP-C 0 NYaGgvcdnGlWDJSTSLKl7H 5S2UgEGKxSfoz5fRc+LYJw== ROADSTER_834 I (20061991) ovms-server-v2: Received welcome response MP-S 0 igcHhkZQpibm/UgepO3KdO 8wI19Wfa/W/6uzgSkRzNKA== I (20061991) ovms-server-v2: Got server response: MP-S 0 igcHhkZQpibm/UgepO3KdO 8wI19Wfa/W/6uzgSkRzNKA== I (20061991) ovms-server-v2: Server token is igcHhkZQpibm/UgepO3KdO and digest is 8wI19Wfa/W/6uzgSkRzNKA== I (20061991) ovms-server-v2: Status: Server auth ok. Now priming crypto. I (20061991) ovms-server-v2: Shared secret key is igcHhkZQpibm/UgepO3KdONYaGgvcdnGlWDJSTSLKl7H (44 bytes) I (20062001) ovms-server-v2: Status: OVMS V2 login successful, and crypto channel established I (20062001) ovms-server-v2: Status: Connected and logged in I (20062011) ovms-server-v2: Incoming Msg: MP-0 Z0 I (20533011) ovms-server-v2: Send MP-0 S0,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 I (20533021) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,20530,0,0,0,0,0,0,0,0,0,0 I (20533021) ovms-server-v2: Send MP-0 F3.0.0/factory/main build (idf v2.1-75-g72bb091a) Dec 30 2017 21:39:01,123456789abcdefgh,8,1,TR,T-Mobile Hologram I (21134041) ovms-server-v2: Send MP-0 S0,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 I (21134051) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,21131,0,0,0,0,0,0,0,0,0,0 E (21155011) ovms-server-v2: Status: Error: Disconnected from OVMS Server V2 I (21155011) simcom: PPP Connection disconnected I (21155011) simcom: PPP Connection disconnected I (21155461) simcom: Lost network connection (+PPP disconnect in NetMode) I (21155461) simcom: State: Enter NetLoss state I (21155461) gsm-ppp: Shutting down (hard)... I (21155461) ovms-server-v2: Network is down, so disconnect network connection I (21160991) gsm-ppp: StatusCallBack: User Interrupt I (21160991) gsm-ppp: PPP connection has been closed I (21164461) simcom: State timeout, transition to 5 I (21164461) simcom: State: Enter NetWait state I (21165021) ovms-server-v2: Status: Waiting for network connectivity I (21168461) simcom: State: Enter NetStart state I (21169551) simcom: PPP Connection is ready to start I (21170461) simcom: State: Enter NetMode state I (21170461) gsm-ppp: Initialising... I (21170651) simcom: PPP Connection disconnected I (21170651) simcom: PPP Connection disconnected I (21171461) simcom: Lost network connection (+PPP disconnect in NetMode) I (21171461) simcom: State: Enter NetLoss state I (21171461) gsm-ppp: Shutting down (hard)... I (21180461) simcom: State timeout, transition to 5 I (21180461) simcom: State: Enter NetWait state I (21183451) gsm-ppp: StatusCallBack: User Interrupt I (21183451) gsm-ppp: PPP connection has been closed I (21184461) simcom: State: Enter NetStart state I (21185551) simcom: PPP Connection is ready to start I (21186461) simcom: State: Enter NetMode state I (21186461) gsm-ppp: Initialising... I (21186631) simcom: PPP Connection disconnected I (21186631) simcom: PPP Connection disconnected I (21187461) simcom: Lost network connection (+PPP disconnect in NetMode) I (21187461) simcom: State: Enter NetLoss state I (21187461) gsm-ppp: Shutting down (hard)... I (21196461) simcom: State timeout, transition to 5 I (21196461) simcom: State: Enter NetWait state I (21199451) gsm-ppp: StatusCallBack: User Interrupt I (21199451) gsm-ppp: PPP connection has been closed I (21200461) simcom: State: Enter NetStart state I (21201531) simcom: PPP Connection is ready to start I (21202461) simcom: State: Enter NetMode state I (21202461) gsm-ppp: Initialising... I (21202641) simcom: PPP Connection disconnected I (21202641) simcom: PPP Connection disconnected I (21203461) simcom: Lost network connection (+PPP disconnect in NetMode) I (21203461) simcom: State: Enter NetLoss state I (21203461) gsm-ppp: Shutting down (hard)... I (21212461) simcom: State timeout, transition to 5 I (21212461) simcom: State: Enter NetWait state I (21215451) gsm-ppp: StatusCallBack: User Interrupt I (21215451) gsm-ppp: PPP connection has been closed I (21216461) simcom: State: Enter NetStart state I (21217541) simcom: PPP Connection is ready to start I (21218461) simcom: State: Enter NetMode state I (21218461) gsm-ppp: Initialising... I (21218571) simcom: PPP Connection disconnected I (21218571) simcom: PPP Connection disconnected I (21219461) simcom: Lost network connection (+PPP disconnect in NetMode)