22:00, EEST
April 1, 2022
04/01/2022 15:44:45.665 WARN [Thread-42] com.prosysopc.ua.stack.a.j [] – ServerNonce from ActivateSessionResponse was not valid (must be at least 32 bytes): [0] 0x
04/01/2022 15:44:46.151 ERROR [OPC-UA-Stack-Blocking-Work-Executor-124] com.prosysopc.ua.stack.utils.x [] – Uncaught Exception in Thread: Thread[OPC-UA-Stack-Blocking-Work-Executor-124,5,main]
java.lang.OutOfMemoryError: Java heap space
How can i increase heap space in Browser installed on macOS ?
23:17, EEST
April 1, 2022
After changing the /Applications/Prosys\ OPC\ UA\ Browser.app/Contents/vmoptions.txt file putting 2GB of memory to Heap I got:
WARN [Thread-18] com.prosysopc.ua.stack.a.j [] – ServerNonce from ActivateSessionResponse was not valid (must be at least 32 bytes): [0] 0x
Is this an error from the server not sending Nonce?
I’m using security mode: None in one simple open server (without security)
8:33, EEST
Moderators
February 11, 2020
Hello,
Since you’re connecting without security, the invalid nonce is logged only as a warning and shouldn’t affect anything. Otherwise, this would have been logged as an error and an Exception would have been thrown.
Nonces are required for certificate validation and UserIdentity signing and encrypting. When MessageSecurityMode is None, SecurityPolicy is NONE and UserIdentity Anonymous, there are no certificates to validate or UserIdentities to sign or encrypt and therefore nonces are not required in this case and the OPC UA Specification allows Servers to not send them. Though, Servers are allowed to send nonces even when they’re not required.
Just to confirm, after increasing the heap space, did you have any trouble connecting to the Server besides this warning related to nonces?
Most Users Ever Online: 1919
Currently Online:
23 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1