OPNsensePIAWireguard icon indicating copy to clipboard operation
OPNsensePIAWireguard copied to clipboard

NameError: name 'e' is not defined

Open ehbstudentadam opened this issue 1 year ago • 9 comments

image

I am having following error message when running the script.

ehbstudentadam avatar Feb 18 '24 10:02 ehbstudentadam

that is error in config file? probably syntax error

On Sun 18. Feb 2024 at 12.49, ehbstudentadam @.***> wrote:

image.png (view on web) https://github.com/FingerlessGlov3s/OPNsensePIAWireguard/assets/92335422/d28128fa-279e-4f3d-9693-b8bd47aa833c

I am having following error message when running the script.

— Reply to this email directly, view it on GitHub https://github.com/FingerlessGlov3s/OPNsensePIAWireguard/issues/58, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC23RNZ32BNGQDH6N77IQQTYUHMDXAVCNFSM6AAAAABDOB5O6CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DAOJSGEYTGMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

EeroV avatar Feb 18 '24 10:02 EeroV

Seems the error is thrown for instance Belgium. Tried changing the region to following without success.

image

ehbstudentadam avatar Feb 18 '24 11:02 ehbstudentadam

What version of opnsense are you running?

FingerlessGlov3s avatar Feb 18 '24 11:02 FingerlessGlov3s

What version of opnsense are you running?

OPNsense 24.1.1-amd64 FreeBSD 13.2-RELEASE-p9 OpenSSL 3.0.13

ehbstudentadam avatar Feb 18 '24 11:02 ehbstudentadam

What version of opnsense are you running?

OPNsense 24.1.1-amd64 FreeBSD 13.2-RELEASE-p9 OpenSSL 3.0.13

Interesting, it's failing to create the peer for the second instance.

Can you also set the regionid of the Belgium one to nl as well I want to see if it's a region issue or not first.

FingerlessGlov3s avatar Feb 18 '24 11:02 FingerlessGlov3s

What version of opnsense are you running?

OPNsense 24.1.1-amd64 FreeBSD 13.2-RELEASE-p9 OpenSSL 3.0.13

Interesting, it's failing to create the peer for the second instance.

Can you also set the regionid of the Belgium one to nl as well I want to see if it's a region issue or not first.

Same error is thrown

image

ehbstudentadam avatar Feb 18 '24 11:02 ehbstudentadam

Changed netherlands region id image

Deleted belgium instance works: image

ehbstudentadam avatar Feb 18 '24 14:02 ehbstudentadam

Very strange, sounds like it failed to create the keypair. Not sure why your getting various different errors 😅, wonder if something changed in OPNsense 24.1.1

FingerlessGlov3s avatar Feb 18 '24 15:02 FingerlessGlov3s

Ok I've fixed a few bugs now.

If you delete both wg instances and both peers, they'll now get created correctly first try now. Confirmed working on my test OPNsense 24.1.1

FingerlessGlov3s avatar Feb 18 '24 15:02 FingerlessGlov3s

Bug was fixed.

FingerlessGlov3s avatar Apr 14 '24 17:04 FingerlessGlov3s