Skip to content
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

connection issue with Prosys OPC UA client #36

Closed
longtranphu2006 opened this issue Dec 29, 2014 · 4 comments
Closed

connection issue with Prosys OPC UA client #36

longtranphu2006 opened this issue Dec 29, 2014 · 4 comments
Labels
Milestone

Comments

@longtranphu2006
Copy link

Hello i am using Prosys OPC UA client to test the sample server. However it give us the errors:

"""
buffer.js:582
throw new RangeError('Trying to access beyond buffer length');
^
RangeError: Trying to access beyond buffer length
at checkOffset (buffer.js:582:11)
at Buffer.readUInt32LE (buffer.js:609:5)
"""
Can u give me some advice?
Thank you
Best regard,
Long Tran

@erossignon
Copy link
Member

can you try to set the DEBUG environement variable to ALL
SET DEBUG=ALL or export DEBUG=ALL and relaunch the server. This will enable debug output

@erossignon erossignon added the bug label Dec 30, 2014
@erossignon
Copy link
Member

I confirm that I can reproduce the problem on my end... I shall investigate it.

@erossignon erossignon changed the title Test sample Server connection issue with Prosys OPC UA client Dec 30, 2014
@longtranphu2006
Copy link
Author

Hello, i tested with the UAExpert and then it works fine, though still have some warnnings.
By the way, i am new with nodejs so that i dont know where to set the debug . Is it in the server.js file or somewhere else.
Sorry for disturbing you that.
Best regard,
Long Tran

@erossignon
Copy link
Member

Hello, the DEBUG environment variable can be set in your shell prior to launching the node bin\simple_server.js script.

  • If you are using windows , the variable can be set this way:
    SET DEBUG=ALL
  • If you are using linux and bash, the variable can be set this way:
    export DEBUG=ALL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants