dragonpilot-community / dp-devel

Development branch for dragonpilot
MIT License
31 stars 29 forks source link

Communication error between processes #20

Closed mich41v4294 closed 1 year ago

mich41v4294 commented 1 year ago

Describe the bug

Openpilot doesn't engage, every time you try to engage, you get an error saying Communication error between processes and stating the different processes with errors: IMG_20221021_180129

Device: Mawei Leeco Freeon

{"event": "commIssue", "error": true, "invalid": ["liveLocationKalman", "liveParameters", "liveTorqueParameters"], "not_alive": [], "not_freq_ok": [], "can_rcv_timeout": false}

tmux a output: output.txt

Provide a route where the issue occurs

every route

openpilot version

release2_e2e

Additional info

No response

rav4kumar commented 1 year ago

Bump https://github.com/dragonpilot-community/dragonpilot/blob/71cf1d38379c8712851d3a3198ec6a60fd7753a4/cereal/messaging/msgq.h#L8 to 13 for now. Will fix it next update.

mich41v4294 commented 1 year ago

Bump https://github.com/dragonpilot-community/dragonpilot/blob/71cf1d38379c8712851d3a3198ec6a60fd7753a4/cereal/messaging/msgq.h#L8 to 13 for now. Will fix it next update.

Unfortunately getting the same error with the value set to 13.

rav4kumar commented 1 year ago

@mich41v4294 try out the latest release!

mich41v4294 commented 1 year ago

@mich41v4294 try out the latest release!

Unfortunately getting the same issue on latest beta2, if that's what you meant

rav4kumar commented 1 year ago

@mich41v4294 try out the latest release!

Unfortunately getting the same issue on latest beta2, if that's what you meant

very strange. Try resetting? i will try it on my c2 soon!

mich41v4294 commented 1 year ago

@mich41v4294 try out the latest release!

Unfortunately getting the same issue on latest beta2, if that's what you meant

very strange. Try resetting? i will try it on my c2 soon!

Still the same error after a factory reset using recovery :( https://photos.app.goo.gl/q3L3UTBeJdXUJDrw7

rav4kumar commented 1 year ago

@mich41v4294 try out the latest release!

Unfortunately getting the same issue on latest beta2, if that's what you meant

very strange. Try resetting? i will try it on my c2 soon!

Still the same error after a factory reset using recovery :(

https://photos.app.goo.gl/q3L3UTBeJdXUJDrw7

I am seeing some crashes logs on your end. Can you confirm your car please

mich41v4294 commented 1 year ago

@mich41v4294 try out the latest release!

Unfortunately getting the same issue on latest beta2, if that's what you meant

very strange. Try resetting? i will try it on my c2 soon!

Still the same error after a factory reset using recovery :( https://photos.app.goo.gl/q3L3UTBeJdXUJDrw7

I am seeing some crashes logs on your end. Can you confirm your car please

It is a 2015 Mk7 (MQB) Volkswagen Golf GTE w/ ACC (no LKAS), using a J533 harness and OSHW Black Panda with a Mr. One Freeon. Is there any way I can help with getting logs? Tmux output from the previous release2 is attached in the first post in this thread, but not sure if there's any helpful info in there.

rav4kumar commented 1 year ago

you can run tmux capture-pane -pS -10000 | nc termbin.com 9999 it will upload log to termbin. you will see url in the cli output.

mich41v4294 commented 1 year ago

Could't figure out termbin (I wasn't getting the URL in CLI output), so see attached log4.txt.

It includes multiple ignition cycles and a drive where I was trying to start ACC, got the same error each time up until after about 5 rapid presses of the ACC enable button, the ACC faulted completely.

rav4kumar commented 1 year ago

just tested my c2 on beta 2 with clean install. I cannot replicate the issue i will have @eFiniLan look into it. By change do you have torque toggle on? if so can you try turning it off

mich41v4294 commented 1 year ago

All toggles in DP - Controls were off, except max Ctrl speed check, Always On Lateral was turned off, Maps and Nav were turned off, basically no changes from fresh install.

mich41v4294 commented 1 year ago

Issue still persists on version below:

version: dragonpilot v0.9.1 beta for EON/C2
date: 2022-11-30T09:37:39
dp-dev(priv2) master commit: e2204c868277f20a263c2f93e88c42999d0b0c15

Running echo -n "gateway" > /data/params/d/ForceNetworkLocation as advised by discord user _Redragon101#2118 didn't help either.

Yewei-chen commented 1 year ago

这位兄弟应该是把公钥和私钥弄丢了,导致无法申请到dongle id,才导致这个问题,因为我也遇到了相同的问题,然后我不知道该怎么找回我的dongle id

Yewei-chen commented 1 year ago

Install the official openpilot first, and then install this fork. Problem solved

mich41v4294 commented 1 year ago

Did a factory reset using recovery, installed stock OP release2 using smiskol url, uninstalled using the uninstall button in settings, installed DP using https://smiskol.com/fork/dp/beta2. Identical issue still persists. IMG_20221228_151608

mich41v4294 commented 1 year ago

Disabled the error event in controlsd as a temp fix, it works now.

rav4kumar commented 1 year ago

@mich41v4294 does it still happen on the latest beta2?

eFiniLan commented 1 year ago

let me close this for now :)