You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "ShawnKion (via GitHub)" <gi...@apache.org> on 2024/05/07 05:29:55 UTC
[I] [Bug]: org.apache.plc4x.java.api.exceptions.PlcProtocolException: Server returned error BadTooManySessions (0x80560000)
ShawnKion opened a new issue, #1589:
URL: https://github.com/apache/plc4x/issues/1589
### What happened?
When I tried to read some nodes multiple times, the issue of too many sessions occurred.
I'm wondering if there is a configuration file that I can set some values to limit the max session I need?
### Version
0.12.0
### Programming Languages
- [X] plc4j
- [ ] plc4go
- [ ] plc4c
- [ ] plc4net
### Protocols
- [ ] AB-Ethernet
- [ ] ADS /AMS
- [ ] BACnet/IP
- [ ] CANopen
- [ ] DeltaV
- [ ] DF1
- [ ] EtherNet/IP
- [ ] Firmata
- [ ] KNXnet/IP
- [ ] Modbus
- [X] OPC-UA
- [ ] S7
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][OPC-UA]: org.apache.plc4x.java.api.exceptions.PlcProtocolException: Server returned error BadTooManySessions (0x80560000)
Posted by "splatch (via GitHub)" <gi...@apache.org>.
splatch commented on issue #1589:
URL: https://github.com/apache/plc4x/issues/1589#issuecomment-2430477119
This issue is most likely environment specific. Make sure that you 1) open few connections to PLC 2) construct application logic independently of connection 3) manage number of opened connections according to hardware manufacturer limits.
I am closing it for now - please re-open it if you will be able to provide more details or suspect bug in driver itself. You can try running extra diagnostics to see if your app is able to keep connection active for long time.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: org.apache.plc4x.java.api.exceptions.PlcProtocolException: Server returned error BadTooManySessions (0x80560000)
Posted by "splatch (via GitHub)" <gi...@apache.org>.
splatch commented on issue #1589:
URL: https://github.com/apache/plc4x/issues/1589#issuecomment-2128878792
Hello @ShawnKion,
Can you share some more information - how do you scrap PLC and how long it does take to get this error?
Strictly speaking it is runtime issue, so we have to look closer at how you read data and, probably, what are server settings.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][OPC-UA]: org.apache.plc4x.java.api.exceptions.PlcProtocolException: Server returned error BadTooManySessions (0x80560000)
Posted by "qtvbwfn (via GitHub)" <gi...@apache.org>.
qtvbwfn commented on issue #1589:
URL: https://github.com/apache/plc4x/issues/1589#issuecomment-2279809886
@ShawnKion
The OPCUA SERVER limits the number of connection sessions, so make sure you haven't established too many connections. You also need to check the OPCUA SERVER's limitations regarding connections.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug][OPC-UA]: org.apache.plc4x.java.api.exceptions.PlcProtocolException: Server returned error BadTooManySessions (0x80560000)
Posted by "splatch (via GitHub)" <gi...@apache.org>.
splatch closed issue #1589: [Bug][OPC-UA]: org.apache.plc4x.java.api.exceptions.PlcProtocolException: Server returned error BadTooManySessions (0x80560000)
URL: https://github.com/apache/plc4x/issues/1589
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org