OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: Math43 on March 31, 2020, 04:13:58 pm

Title: PR_CONNECT_RESET_ERROR on apply modification
Post by: Math43 on March 31, 2020, 04:13:58 pm
Hello,

After adding a rule or a virtual ip, after press "Apply", browser is loading during a few seconds and return me a PR_CONNECT_RESET_ERROR. I'm not sure when the issue happen first but I think it's when I editing a virtual IP.

If I have open a ssh session on the firewall to watch the logs i'm disconnected.

I'm not able to see anything in the logs, is there any way to have more verbose logs of the GUI ?

OPNsense 20.1.3-amd64

Regards,
Mathieu
Title: Re: PR_CONNECT_RESET_ERROR on apply modification
Post by: Math43 on April 01, 2020, 02:32:24 pm
After investigation, PR_CONNECT_RESET_ERROR occurs on apply button of Aliases, Virtual IP, firewalls pages.

Problem seems to be bound to gateways. I've two wan interfaces so two gateways configure with monitoring enable, if a disable gateway monitoring no more "PR_CONNECT_RESET_ERROR"

Config to avoid error is as following:

Code: [Select]
  <gateways>
    <gateway_item>
      <interface>opt5</interface>
      <gateway>A.B.C.D</gateway>
      <name>WAN_GTW_V6</name>
      <priority>240</priority>
      <weight>1</weight>
      <ipprotocol>inet</ipprotocol>
      <interval/>
      <descr>WAN outgoing via public vlan 6</descr>
      <monitor_disable>1</monitor_disable>
      <defaultgw>1</defaultgw>
    </gateway_item>
    <gateway_item>
      <interface>wan</interface>
      <gateway>E.F.G.H</gateway>
      <name>WAN_GTW_V7</name>
      <priority>250</priority>
      <weight>1</weight>
      <ipprotocol>inet</ipprotocol>
      <interval/>
      <descr>WAN outgoing via public vlan 7</descr>
      <monitor_disable>1</monitor_disable>
      <force_down>1</force_down>
    </gateway_item>
  </gateways>

Regards,
Math
Title: Re: PR_CONNECT_RESET_ERROR on apply modification
Post by: franco on April 01, 2020, 03:01:53 pm
references https://github.com/opnsense/core/issues/4010