-
Notifications
You must be signed in to change notification settings - Fork 146
Network Error issue when login saltpad #166
Comments
I suspect that you should install git version of salt with CORS support, and configure salt api as documented: rest_tornado:
port: 5417
host: 127.0.0.1
disable_ssl: true
websockets: True
cors_origin: '*' |
Hi @meagon are you sure the salt-api is accessible from the computer your browser is running on? |
my Salt_API --version salt-api --version
salt-api 2016.3.0-572-g9f42882 (Boron) AND salt-master configuration rest_cherrypy:
debug: True
disable_ssl: True
port: 8000
host: 0.0.0.0
cors_origin: '*'
static: /code/static
static_path: /static
app: /code/index.html
app_path: /saltpad
websockets: True
rest_tornado:
debug: True
disable_ssl: True
port: 5417
host: 0.0.0.0
websockets: True
cors_origin: '*'
webhook_disable_auth: False
it all debug ok with command line curl ... when i login in use firefox: |
@meagon Could you check your browser console for any error which could gives me more information about the error? |
@Lothiraldan I have the same error. Looking at the console it shows "Failed to load resource: net::ERR_CONNECTION_REFUSED" because it's trying to connect to http://localhost:5417/login instead of the domain I have open in the browser. I'm not sure if that is the same issue that @meagon is having, though, since the screenshot shows the browser opened to 127.0.0.1:3334 |
I changed the API_URL in settings.json and now it gives me this error: |
I got Network Error when Login Salt-pad
The text was updated successfully, but these errors were encountered: