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: 1026
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: 1026
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: 1026
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: 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: 731

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

inilarythikibia, rickykennion, PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466

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

Administrators: admin: 1