question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Admin Console not showing under circumstances

See original GitHub issue

Describe the bug

Using different http/https and proxy configurations is easy enough to end up with the Admin UI not working and staying in a page reload infinite loop.

Me and @vmuzikar narrowed down the issue to an incorrect variable value (namely authServerUrl) being injected into an “in-page” javascript block:

<script type="[text/javascript]()">
        var authServerUrl = 'https://localhost';
        var authUrl = 'http://localhost:8080';
        var consoleBaseUrl = '/admin/master/console/';
        var resourceUrl = '/resources/xa1ud/admin/keycloak';
        var masterRealm = 'master';
        var resourceVersion = 'xa1ud';
</script>

The problem shows up in various situations:

export KC_DB=dev-mem
export KC_HOSTNAME=localhost
export KC_HTTP_ENABLED=true

./bin/kc.sh start --auto-build

or even:

./bin/kc.sh start --auto-build --hostname="localhost" --proxy=edge

and again:

./bin/kc.sh start-dev --hostname="localhost" --proxy=edge

The problem shows up in three parts, the protocol (HTTP vs. HTTPS), the hostname mangling, and the associated port.

Version

18.0.0

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Anything else?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
vmuzikarcommented, May 16, 2022
0reactions
andreaTPcommented, May 16, 2022

@vmuzikar I actually used #11581 to follow up. PR is: #12021

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't sign in to the Admin console - Google Support
If no one else can help you: Go to admin.google.com. Enter your admin username if it doesn't already appear on the sign-in page...
Read more >
Admin console error and topics not showing up - RTI Community
Here are my assumptions at the moment: Admin console is not showing the topics due to an error in receiving the type codes....
Read more >
Admin Console Link Not Showing Up - Tips and Tricks
I just now converted my Workspace to an Organization. This was so I can use the “Guests” feature for my contract workers.
Read more >
Admin Console is not working properly - GoTo Community
Good morning, I am trying to assign newly purchased licenses to some employees through the Admin console but every time I go to...
Read more >
Solved: Cannot see user in admin console - Zoom Community
We have a user who has successfully joined our corporate account, however, we are unable to see them in the console to assign...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found