Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
State not properly closed on time?
« previous
next »
Print
Pages: [
1
]
Author
Topic: State not properly closed on time? (Read 2031 times)
tomdiks
Newbie
Posts: 9
Karma: 0
State not properly closed on time?
«
on:
February 01, 2022, 11:25:29 am »
In my local network I've put the inverter for the solar panels in it's own vlan with only access to internet and dns. It is perfectly able to connect to the internet and transmit data to Solax Cloud. But I've to reset it's state every day otherwise won't able to talk to Solax Cloud again. Once I've reset it's state 'let out anything from firewall host itself' the connection is reestablished.
Does anyone know how to fix this behavior?
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: State not properly closed on time?
«
Reply #1 on:
February 02, 2022, 04:13:09 pm »
can you give more details why you think that this state should have been expired?
Logged
tomdiks
Newbie
Posts: 9
Karma: 0
Re: State not properly closed on time?
«
Reply #2 on:
February 02, 2022, 07:17:03 pm »
Because of the solar inverter shuts down every day and wakes up the next morning, I'm assuming that the state should be dropped otherwise in this case it's preventing the solar inverter to properly establish a (new) connection the next day. It only makes a good connection after I've manually dropped the previous connection (state). Only then the inverter is showing up in Solax Cloud.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: State not properly closed on time?
«
Reply #3 on:
February 02, 2022, 08:25:25 pm »
Quote
Because of the solar inverter shuts down every day and wakes up the next morning
in this case inverter and server should gracefully close tcp session. because if they not, default tcp.established timeout is set to 24H.
imho you can try to change Firewall optimization value to Aggresive in Firewall: Settings: Advanced - this will set tcp.established timeout value to 5H (there are other options, but they are somewhat more complicated imho)
«
Last Edit: February 02, 2022, 08:32:09 pm by Fright
»
Logged
tomdiks
Newbie
Posts: 9
Karma: 0
Re: State not properly closed on time?
«
Reply #4 on:
February 02, 2022, 09:15:37 pm »
Thank you for the suggestion. I’ve changed the setting into ‘aggressive’ and I’ll let you know if it helps.
Logged
tomdiks
Newbie
Posts: 9
Karma: 0
Re: State not properly closed on time?
«
Reply #5 on:
February 03, 2022, 09:33:12 am »
Good news! Today the solar inverter got online on its own. The previous state was dropped so a new connection could be established this morning. Thanks again for this tip.
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: State not properly closed on time?
«
Reply #6 on:
February 03, 2022, 09:39:17 am »
I have one of those things in the house and the live monitoring through cloud is flaky at best. I wonder if they set out to find the worst TCP stack they could find and slapped it into these solar products?
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
State not properly closed on time?