Closed ichbinbork closed 9 months ago
Hi, For the timeout, the data have not reached the udsoncan module it's probably one of these:
use_server_timing=False
.As for the config, sorry, but this makes no sense. You shouldn't edit the module code. I don't know what you mean by "you can't", but I'm pretty sure that if you read the error you get, you will see why. All this piece of code do is assign an object to a dictionary entry, this is basic Python.
Hello again,
use_server_timing=False
solved my problems about response.
Secondly, I agree with you. It was completely unreasonable. Then I checked my code couple of times and it fixed too. Thanks for help.
Hi. I was trying to use read DID service. I have sent valid request without any exception and from server side I can the message that coming from client side. Then I'm sending proper Positive Response Message to the server. After 5 second ('p2_timeout': 5 in configs.py) I received "[TimeoutException] : Did not receive response in time. Global request timeout time has expired (timeout=5.000 sec). Did not receive response in time. Global request timeout time has expired (timeout=5.000 sec) PcanBus was not properly shut down" Error message couple of times.
Here is the message that I sent from the client side : 03 22 00 01 00 00 00 00
Here is the positive response message that I sent from the server side: 06 62 01 00 00 00 00 00
I inspect the source code of your project more than one but I couldn't figure out what cause that server response can't reach the client.
In addition to them I want to inform you about defining data identifiers. I couldn't define did with this method
Some how I couldn't change the 'data_identifiers' key value with this way. I manually updated the configs.py instead of it.
Best regards