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
Incorrect behavior during connecting to the server
February 15, 2016
15:36, EET
Avatar
usam95
Member
Members
Forum Posts: 4
Member Since:
November 23, 2015
sp_UserOfflineSmall Offline

Hello,
when i try to connect my client to the server then I have in my log-file, for example, the following information:

02.15.2016 16:20:02 INFO myHostName/myIP:53530 Connecting
02.15.2016 16:20:02 INFO myHostName/myIP:53530 Connected
02.15.2016 16:20:02 INFO 5 Closed
02.15.2016 16:20:02 INFO myHostName/myIP:53530 Closed
02.15.2016 16:20:02 INFO myHostName/myIP:53530 Closed (expected)
02.15.2016 16:20:02 INFO myHostName/myIP:53530 Connecting
02.15.2016 16:20:02 INFO myHostName/myIP:53530 Connected

Could it be classified as a bug in the SDK or the problem is in my client?

Best regards,
Usam

February 16, 2016
8:12, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Assuming here that the client is done with our SDK.

The UaClient.connect will first discover endpoints from the server, that is one connection. After that it will select one of the based on security settings and the server uri (failing if there is not a match). It will then connect to the server with the selected endpoint. So there are 2 connections as indicated by the log.

– Bjarne

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
14 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: 729

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1