StackStorm / StackStorm/st2

webUI ,Unable to reach auth service. [auth:true] #5522

Open
#5,523 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

I did the following:

  1. Modify the vagrantFile file
   config.vm.network "forwarded_port", guest: 80, host: 8081
   config.vm.network "forwarded_port", guest: 443, host: 8443
  1. vi /opt/stackstorm/static/webui/config.js
   'use strict';
angular.module('main')
  .constant('st2Config', {
    hosts: [{
      name: 'default',
      url:  'https://127.0.0.1:8443/api',
      auth: 'https://127.0.0.1:8443/auth'
    }]
    // hosts: [{
    //   name: 'Dev Env',
    //   url: '//172.168.50.50:9101'
    // }, {
    //   name: 'Express',
    //   url: '//172.168.90.50:9101',
    //   auth: true
    // }]

  });

Problem:
https://127.0.0.1:8443/#/history
Unable to reach auth service. [auth:true]
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Vagrantfile port mappings and /opt/stackstorm/static/webui/config.js, then reproduce the problem at https://127.0.0.1:8443/#/history. Trace the configured auth URL and identify why the web UI cannot reach it. Done means the history page no longer reports “Unable to reach auth service. [auth:true]” with this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs
Domain
authentication, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.