Open MartijnKTue opened 1 month ago
Dear User,
Thank you for reaching out.
We were unable to reproduce the issue you described. To help us investigate further, could you please share the exact long secret key that causes this behavior?
Best regards, Juan Carlos
Not the exact key, but this was more-or-less the structure:
t2dqCXgzL1Mw7E6OP069J
After shortening it, everything started working.
Dear MartijnKTue,
On my first attempt, I also encountered difficulties with a long URLPATH key. Initially, I had a typo in the key, and it took me around 15 minutes to locate the single-character error. Once corrected, the system worked fine.
When you shared your key, t2dqCXgzL1Mw7E6OP069J, I made a similar mistake while testing and entered t2dpCXgzL1Mw7E6OP069J, which again took some time to debug. Since my test setup doesn’t allow copy-pasting, I understand how easy it is to make errors with long keys.
In my opinion, the challenge here is that long keys are prone to these minor, hard-to-spot mistakes.
Best regards, Juan Carlos
Given I have copy pasted, and re-started a few times from scratch, I am pretty sure it was not a typo. (fyi the full URL was 49 characters).
If it cannot be reproduce, that is a pity, but this happens. Issue can be closed.
I setup a jail (4.0.3) and setup an URLPATH of 22 random characters (alpha num, in ascii range). At this point moodle would show error for server 'URL path not found', even though the full URL was correct.
After I reduced the length of the URLPATH to 11 characters, everything worked.