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
Binding error omitted
December 18, 2014
7:07, EET
Avatar
fred
Member
Members
Forum Posts: 41
Member Since:
January 27, 2012
sp_UserOfflineSmall Offline

Hi,

Since a few days I have the problem that clients do not get events forwarded from our server. It seems that it tries to send a few events and then breaks.

I figured out following entry in log-file:

BindingFactory:toBindNames – Binding of opc.tcp://localhost:4840 to 0:0:0:0:0:0:0:1 was omited (Workaround) same entry found for DNSname too!

It is flaged as being a warning. What does it mean and would this break processing my events? I haven’t had the issue before. System is running now for about 1 year.

Thanks for your help

BR

December 18, 2014
7:10, EET
Avatar
fred
Member
Members
Forum Posts: 41
Member Since:
January 27, 2012
sp_UserOfflineSmall Offline

Please remove my question! I changed loglevel to warning, that’s why I got the warnings in logfile. So, seems that its just an information that IPv6 addresses can not be bound.

Thanks

fred said

Hi,

Since a few days I have the problem that clients do not get events forwarded from our server. It seems that it tries to send a few events and then breaks.

I figured out following entry in log-file:

BindingFactory:toBindNames – Binding of opc.tcp://localhost:4840 to 0:0:0:0:0:0:0:1 was omited (Workaround) same entry found for DNSname too!

It is flaged as being a warning. What does it mean and would this break processing my events? I haven’t had the issue before. System is running now for about 1 year.

Thanks for your help

BR

December 18, 2014
8:45, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

No problem, it is still a good question. Actually, we will be finally enabling the use of IPV6 addresses in the next release (2.1.0).

February 5, 2015
12:37, EET
Avatar
fred
Member
Members
Forum Posts: 41
Member Since:
January 27, 2012
sp_UserOfflineSmall Offline

The issue described above, now, raised my attention again!

Every time I start the server (takes about 90 minutes for model construction), only some amount of events is transferred and then I see the above warnings in the log file. I know that much more events have to be transfered, however, it seems like the server stops working somewhere, even if the server process is still running!

The server is configured with 2 network cards, each defined with a fixed IP Adress. I don’t see this behaviour on a server with 2 NIC, 1 with DNS used and the 2nd with fixed address.

Could this cause the error?

Many thanks.

February 6, 2015
8:19, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Sounds strange yes. Sometimes the two NICs cause routing problems. For example the response message may be routed back through the other NIC to where the request came in. If the error happens only after the server is bound to both addresses, it might be something related to that sort of an issue.

February 6, 2015
8:31, EET
Avatar
fred
Member
Members
Forum Posts: 41
Member Since:
January 27, 2012
sp_UserOfflineSmall Offline

At the moment I use:

// *** Server Endpoints
// the port for the binary protocol
server.setPort(4840);

// add ‘localhost’ to the endpoint list
server.setUseLocalhost(true);

// optional server name part of the URI
server.setServerName(“OpcUa/MyServer”);
// Add the IP address(es) of the server host to the endpoints
server.setUseAllIpAddresses(true);

How can I bind a specific IPAdress or Hostname only?

February 6, 2015
9:17, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

With SDK 1.x, which you seem to be using, you need to specify the endpoints accordingly (and use setUseAllIpAddresses(false)):

server.addEndpointHost(hostName)

With SDK 2.x it became easier, as there is now a separate property, BindAddresses that you can use, independent of the Endpoint URL definitions.

February 6, 2015
10:03, EET
Avatar
fred
Member
Members
Forum Posts: 41
Member Since:
January 27, 2012
sp_UserOfflineSmall Offline

Thanks. I’ll give it a try. Maybe it changes something…

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
20 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: 683

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

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

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