RetroPie-Manager web app (Recalbox-Manager fork/mod)
-
Sorry, my mistake, the env was ok - I just thought it wasn't due to my debugging.
Looks like django security is at play in the current version
following changes sort it for me (to access via
http://retropie:8000/
)see - https://docs.djangoproject.com/en/1.10/ref/settings/
Changed in Django 1.10.3:
In older versions, ALLOWED_HOSTS wasn’t checked if DEBUG=True. This was also changed in Django 1.9.11 and 1.8.16 to prevent a DNS rebinding attack.and we use django 1.8.16 now.
so we will need to put the retropie name in here.
--- a/project/settings.py +++ b/project/settings.py @@ -39,7 +39,7 @@ SECRET_KEY = '(_0!&^^xekahfp=s5(9+^wlq6gvn6z90%i*p+wn^4ir+mvl4lx' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['retropie'] # Application definition
there may be a way to disable this check also.
-
I appreciate the hard work that the people behind the scenes of RetroPie put into fixing issues.
I was just coming here to ask what I was doing wrong, but see others already had mentioned the same issue, and the fix is on the way!bravo!
-
I've just fixed the
settings.py
, but I usedALLOWED_HOSTS = ['*']
. It worked well in my tests.Please update your retropie-manager and let me know if it stills happening.
Thanks BuZz for pointing the reason of the problem.
-
yup, i can connect now. thanks for the great tool!
-
Cheers!
-
Thanks guys, I'll get onto my Pi tomorrow night and reinstall this :)
-
Finally got around to trying this out, OMG it's amazing! Such a great tool for noobs that I think it should be enabled by default (or at least installed by default and the option to enable isn't buried deep within the Setup Scipt).
-
@robertybob Unfortunately the development seems to be dead. @Botolo is the guy that forked it from recalbox and was playing with the code. Currently he seems to be busy and doesn't appear around here.
I contributed with testing, wrote the
rpmanager.sh
and finished the scriptmodule started by @herb_fargus .RetroPie-manager has some limitations/bugs/issues and unfortunately I'm not able to code web/python/Django stuff to improve it. @Botolo gave me access to the repository when it started and I was able to fix this recent
ALLOWED_HOSTS
issue. Otherwise we would have to abandon (or fork) the retropie-manager.Well... I told this story to justify my opinion that RetroPie-manager should stay at experimental packages. Because it is indeed experimental.
-
By the way: @fechy started a similar tool from scratch. Look this topic: https://retropie.org.uk/forum/topic/4627/retropie-web-gui
It has less features, but at least the development can be more active if he receive users feedback.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.