Can you try    a lower version   to confirm .   Try  3.2    and then we  can narrow  it down.

On 06/04/2020 12:30, Zenon Panoussis wrote:
What  version   of Moodle  are  you using ?
3.8.2+. I installed 3.8 two weeks ago and it came up with two
updates in just these two weeks.

Our custom moodle  plugin works  with  moodle 3.2  and OM 3
but we have to make sure ssl and host checking is not activated
in the plugin settings.
I tried all combinations, i.e. both on, SSL on and host off,
SSL off and host on, both off; I got the error on all of them.
Later, because "invalid hash" sounds like something that could
have to do with encryption, I put "address=[public IP] and
"Redirect=5443" on all non-SSL connectors. This way I can
be sure that there can be no switching from SSL to plaintext
and no switching from exthost to localhost that could mess
things up. Well, nothing of this helped, but at least OM
is now fully encrypted.

If we move our  plugin to  moodle 3.5  we  get  the hash  error.
Logically then, if the same plugin and the same OM server
work with one moddle and not with another, we can suspect
that moodle 3.5+ mangles some of the communication between
the plugin and the OM-server or between the plugin and the
browser. I have to figure a way to debug them pairwise at
the same time :(

Maxim, I'm not asking for support - you are already giving
plenty - but you know these things much better than I do
and you also need them to work, so, if you have a GPG key,
I'll gladly give you root on the server and admin on OM
and moodle.

Cheers,

Z

Reply via email to