Open johnmcavoy opened 2 years ago
Hi @johnmcavoy, by default, script server allows admin connections only from localhost (to localhost). If you want your user to be an admin, you have to configure it explictly. Please check the documentation: https://github.com/bugy/script-server/wiki/Authorization#admin-users
Thanks for the response. Ive tried pasting in a variety of config snippets into /conf/conf.json and it just creates a load more failures when I try to launch the main launcher.py. Do you have a simple code snippet that I can paste into the file just to permit access to the server from any of my workstations? Thanks
John
Hi @johnmcavoy , please try
{
"access": {
"admin_users": [ "*" ]
}
}
In general, I would recommend reading documentation and applying configs carefully, rather than trying to copypaste existing examples. They are not "ready to work solutions", they are just examples of configuration structure.
That's great thanks. I agree with you, however I'm intrigued about your project for something I'm working on and really want to fail fast (or not) if this will work for me. Thank you for your help.
Cheers
John
Hi there, I have seen posts for this but I'm still getting this problem. I'm not using Docker but when I try and access http://xx.x.x.:5000/admin.html I still get 403:Forbidden. I don't have a conf.json in any of the folders. Is this something really obvious I'm missing?
Thanks
John