MWD ignories Bypass Rules (middleware-manager discussion #71)

:speech_balloon: GitHub discussion middleware-manager #71 in Q&A, started by legionGer on GitHub

Hey guys,

I got MWM running on my VPS together with Pangolin … I got it going but i am running into an issue. It seems like when I define Pangolin as “Active Data Source” any rule I do set up in Pangolin itself is completly being ignored. Prefix Match and Stripping is being ignored and also any rules to bypass authentification.

Is this except behaviour or am I doing something wrong?

My goal was basically to have Pangolin do most of the lifting and just use MWD for the finer stuff.

I can “force” the Pangolin rules to be applied again by raising the priority in the pangolin gui higher but in that case every rule set in MWM gets ignored.


:speech_balloon: Join in here or on GitHub.

hhftechnology commented on GitHub:

@​legionGer Update to V4.

:white_check_mark: Marked as the answer on GitHub.

legionGer replied in a thread on GitHub to hhftechnology:

Thanks for your reply.

Currently however I am struggling to get MWM to apply any rules at all to pangolin routes (even when MWM has a priority of 500 and pangolin sitting at 200).
Rules are being ignored even something as simple as
{ "permanent": false, "regex": "https://sub.example.com/123455678", "replacement": "https://google.com" }

I can’t get the linebreaks correctly on git for some reason right now.

I think this is a configuration mistake on my side as I haven’t changed the configuration from original deployment to the new one for v4, I will try to look into it on the weekend.

legionGer replied in a thread on GitHub to hhftechnology:

Working now. Pretty much had to reinstall MWM but working properly. Thanks!