Avatar
Please consider registering
guest
sp_LogInOut Log Insp_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 RSSsp_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: 1047
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:
Guest(s) 16
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 734
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6521
Newest Members:
wilfredoforeman, ptdenriqueta, basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1047, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1