Skip to content

Version 2.2.0: Cannot connect to vehicle Error #140

@bicaluv

Description

@bicaluv

Hi!

I tried using the new version 2.2.0 and now I get the following error all the time:

2026/01/07 20:57:37 INFO TeslaBleHttpProxy 2.2.0 is loading ...
2026/01/07 20:57:37 INFO Env: httpListenAddress=:8080
2026/01/07 20:57:37 INFO Env: cacheMaxAge=5
2026/01/07 20:57:37 INFO Env: scanTimeout=5
2026/01/07 20:57:37 INFO Env: vehicleDataCacheTime=30
2026/01/07 20:57:37 INFO BleControl initialized
2026/01/07 20:57:37 INFO TeslaBleHttpProxy is running!
2026/01/07 20:57:57 INFO Connecting to Vehicle ...
2026/01/07 20:58:02 ERRO Cannot connect to vehicle Error="Vehicle is not in range: ble: failed to scan for xxx: context deadline exceeded"
2026/01/07 20:58:17 can't accept: listner timed out

Using version 2.1.3, everything works fine:

2026/01/07 20:56:57 INFO TeslaBleHttpProxy 2.1.3 is loading ...
2026/01/07 20:56:57 INFO Env: httpListenAddress=:8080
2026/01/07 20:56:57 INFO Env: cacheMaxAge=5
2026/01/07 20:56:57 INFO Env: scanTimeout=2
2026/01/07 20:56:57 INFO BleControl initialized
2026/01/07 20:56:57 INFO TeslaBleHttpProxy is running!
2026/01/07 20:57:03 INFO Connecting to Vehicle ...
2026/01/07 20:57:10 INFO Connection to vehicle established
2026/01/07 20:57:10 INFO Executing command Command=vehicle_data Body="map[endpoints:[charge_state climate_state]]"
2026/01/07 20:57:11 INFO Successfully executed Command=vehicle_data Body="map[endpoints:[charge_state climate_state]]"
2026/01/07 20:57:24 can't accept: listner timed out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions