Maple devstack with MFE's

Hi folks!

I am new to Tutor and in need for some help :slight_smile:
I would like to set up a maple devstack with MFE’s. I’ve been able to get a maple devstack but it’s the MFE’s I am struggling with.
What I’ve done is this:

pip install git+https://github.com/overhangio/tutor-mfe.git@maple
tutor plugins enable mfe
tutor config save
tutor images build mfe
tutor local quickstart
tutor local stop
tutor images build openedx-dev
tutor dev start -d

I am then able to access the LMS and Studio but the MFE’s are not working, I get a blank page with an error message: “An unexpected error occurred. Please click the button below to refresh the page.” and a “Try Again” button.
In console, I see:

Failed to load resource: the server responded with a status of 404 (Not Found) http://apps.local.overhang.io:1997/'http://local.overhang.io:8000/login_refresh'
Error "[frontend-auth] Axios Error (Response): 404 'http://local.overhang.io:8000/login_refresh' <Response is HTML>" {httpErrorType: "api-response-error", httpErrorStatus: 404, httpErrorResponseData: "<Response is HTML>", httpErrorRequestUrl: "'http://local.overhang.io:8000/login_refresh'", httpErrorRequestMethod: "post"}

message: "Axios Error (Response): 404 'http://local.overhang.io:8000/login_refresh' <Response is HTML>"

I am probably doing things in the wrong order or missing some steps, I’ve tried a few times now but I end up seeing the same errors for all MFE’s. Any help is much appreciated, thanks!

Hi @mrtmm! As far as I understand, you are doing the right thing. What is the url that is triggering the error?

Hi @regis! This one was for the account page, so from http://apps.local.overhang.io:1997/account
And I get similar errors for all MFE’s, for example when trying to open the profile page at http://apps.local.overhang.io:1995/profile/u/edx I get:

Failed to load resource: the server responded with a status of 404 (Not Found) http://apps.local.overhang.io:1995/profile/u/'http://local.overhang.io:8000/login_refresh'
Error

message: "[frontend-auth] Axios Error (Response): 404 'http://local.overhang.io:8000/login_refresh' <Response is HTML>"

Error Prototype

customAttributes: {httpErrorType: "api-response-error", httpErrorStatus: 404, httpErrorResponseData: "<Response is HTML>", httpErrorRequestUrl: "'http://local.overhang.io:8000/login_refresh'", httpErrorRequestMethod: "post"}

message: "Axios Error (Response): 404 'http://local.overhang.io:8000/login_refresh' <Response is HTML>"

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.