Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Write request does not reach OPC UA server (not even in wireshark)
July 20, 2023
15:25, EEST
Avatar
Ibrahim
Member
Members
Forum Posts: 76
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

Hi,
we are using the Prosys Java SDK (4.5.8-1468) for a UA client application. Currently we are experiencing a strange behaviour: We see in our logs that we try to write an int value in the server and that thread hangs forever and does not come back. This happens only randomly and is not always the case. We also cannot see the corresponding writeRequest package in wirehark. What could be reasons for the write request to hang in the client and not even create the write request package?

thanks

Ibrahim

July 20, 2023
15:48, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Hmm.. sounds odd.
I assume you are using “normal write methods” i.e. not UaClient.writeValue(NodeId nodeId, Object value, boolean autoConvert) with ‘true’ on the ‘autoConvert’? Because that would first read the DataType from the server (to know to which type to convert), which could in theory take some time.

Is the connection to the server ok?
Does the request timeout? Our default here should be 2 minutes, that will also timeout “client-side”.
Does log show any error etc.?

That is a bit older version, though I do not immediately remember things relating to things like this, but could you check does that happen with the latest version https://downloads.prosysopc.com/opcua/Prosys_OPC_UA_SDK_for_Java_4_Release_Notes.html#version-4-10-6 ?

Does any other service Request transfer during the failing, for example, does the typical periodic Read of the ‘ServerStatus’ happen and be visible in the wireshark?

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 684

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

LouieWreve, Kickbiche, karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316

Moderators: Jouni Aro: 1010, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1