The pfSense Store

Author Topic: PHP crash when creating client specific overrides in OpenVPN  (Read 1669 times)

0 Members and 1 Guest are viewing this topic.

Offline betatest

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Hi everyone
I am new to pfsense and English is not my native language. I am not sure if this is the right forum and what exact details you need from me for a bug report. Bare with me please  ::)

I setup a OpenVPN site-to-site connection for the first time.

After setting up and running a OpenVPN server I wanted to create some client specific overrides.
I took quiet long to create them but I did not get any errors.
Unfortunately the site-to-site connection did not work. No errors in OpenVPN sys logs.

I created the client specific overrides again but this time i changed to the dashboard afterwards because it took so long.
In the dashboard i could see, that OpenVPN had crashed. Strangly you can see that only there, no notification if you stay in OpenVPN or any other subcategory.

This is the crash report:

PHP Errors:
PHP Stack trace:
PHP 1. {main}() /usr/local/www/vpn_openvpn_csc.php:0
PHP 2. implode() /usr/local/www/vpn_openvpn_csc.php:243


I stopped the client and the server, deleted to client specific overrides and crated it again (just disable and enable it did not work).
Then startet everything up again and everything works perfect.

2.3.r.20160405.0247 is my version.

Do you need any other information?

Cheers


Offline phil.davis

  • Hero Member
  • *****
  • Posts: 4612
  • Karma: +550/-3
    • View Profile
    • International Nepal Fellowship
Re: PHP crash when creating client specific overrides in OpenVPN
« Reply #1 on: April 07, 2016, 08:20:33 am »
It happens when adding or editing a client specific override if you do not select any server from the list.
Redmine issue: https://redmine.pfsense.org/issues/6089
Pull request: https://github.com/pfsense/pfsense/pull/2851
As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

Offline betatest

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: PHP crash when creating client specific overrides in OpenVPN
« Reply #2 on: April 07, 2016, 08:51:52 am »
Haha ok then I came to a totally wrong conclusion  ;D
You are right I did select a server the second time!
So it has nothing to do with stopping services.