-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
properties: [{id: 8}] results in Error: ERR_TIMEOUT #32
Comments
Could you please attach a debug log from both libraries (the "old" one and this one)? |
@Apollon77 I have never done a debug log before :(
or do you mean this text from the console ?
|
call your script like DEBUG=* node myscript.js Should works for both libs |
@Apollon77 , am on windoze , going thru the
|
Interestingly also the old one shpuld work with debug ... https://github.com/fh1ch/node-bacstack/blob/master/FAQ.md#what-is-the-easiest-way-to-debug-failing-operations |
hmmn, strange it does not work on the old one, tried both as per example fromt he FAQ link and the * method too. |
hm ... would be very intersting to see the "old" library on which messages are sent and such :-) |
some more info: I still do not get any debug output , just the correct resulting object, npm module debug look installed correctly given that i get DEBUG info on the current node-bacnet lib. PS: the OP problem persists under Linux as well. |
how you installed the old one? Directly from github? or how? |
I installed the old one via npm with
|
I'm wondering if no one has found this problem before ? are you able to do a correct read PROP_ALL with |
It could be that the latest npm version of the old lib never had debug and only the github version has. Maybe install from github? |
ok installed from GitHub, but still no DEBUG messages. So after removing the default npm bacstack lib I did this to install directly from GitHub and..
I am attaching the wireshark capture files of the BACnet protocol , they are captured as per the respective library names. |
Hi @aniston, were you able to resolve this issue? I'm also facing the problem getting a ERR_TIMEOUT but unable to get the framework to run/get data from the BacNet network. I'm running on a edge micro pc running Debian 9 with Node 14 running. Can ping the host, but not getting any data though. |
Node Version:
v12.19.0
Node BACstack Version:
[email protected]
Expected Behaviour (Bug Report)
using the
readPropertyMultiple
command with theproperties: [{id: 8}]
results inError: ERR_TIMEOUT
, although it should support 8 for all propertiestried increasing the
adpuTimeout: 9000
but still got the same resultError: ERR_TIMEOUT
the code does work if called with singular properties like
properties: [{id: 77},{id: 28},{id: 85},{id: 111}]
in the last working version from the original library node-bacstack the results are as expected ie: with
properties: [{id: 8}]
we get the correctvalue
object.my sample code
The text was updated successfully, but these errors were encountered: