[Ovmsdev] Broken pipes
Michael Balzer
dexter at expeedo.de
Sat Aug 22 01:27:00 HKT 2015
Mark,
on line 485 sub io_terminate deletes all app_conns of the vehicleid:
delete $app_conns{$vehicleid};
I changed that to delete only the $fn entry:
delete $app_conns{$vehicleid}{$fn};
...which seems to fix the bug, my local test server no longer closes all
app connections as soon as one terminates.
Do I miss something?
Regards,
Michael
Am 21.08.2015 um 18:01 schrieb Michael Balzer:
> Uh... just after sending, I remembered my new Edimax plug script running
> as a cron job.
>
> And indeed: the app loses the connection each time the status.pl script
> checks the SOC (currently once per minute).
>
> It's not related to the router / NAT, as my phone loses the connection
> right at the same time.
>
> Seems to be some bug in the server code regarding multiple client
> connections to the same vehicle id... I'll have a look.
>
> Regards,
> Michael
>
>
> Am 21.08.2015 um 17:48 schrieb Michael Balzer:
>> Mark,
>>
>> I've had lots of broken pipes on the car side yesterday and I've got the
>> same for the app side today.
>>
>> Do you know of any change on the server side that could cause this?
>>
>> Regards,
>> Michael
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20150821/f022a3b9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dexter.vcf
Type: text/x-vcard
Size: 206 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20150821/f022a3b9/attachment-0002.vcf>
More information about the OvmsDev
mailing list