Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dex]: http://localhost:5556/ returns 404 #3451

Open
gavindidrichsen opened this issue Aug 26, 2020 · 0 comments
Open

[dex]: http://localhost:5556/ returns 404 #3451

gavindidrichsen opened this issue Aug 26, 2020 · 0 comments
Labels

Comments

@gavindidrichsen
Copy link
Contributor

core/dex is a habitat service and exports port 5556. After starting a hab studio with HAB_DOCKER_OPTS="-p 5556:5556" hab studio enter -D and loading the dex service, then the following is observed:

➜  DUMP curl http://localhost:5556/
404 page not found

How can I verify that this habitat plan is a working version of dex? The documentation uses a sample example config for verification see here

My setup process is below

 plans git:(master) HAB_DOCKER_OPTS="-p 5556:5556" hab studio enter -D
   hab-studio: Importing 'core' secret origin key
» Importing origin key from standard input
★ Imported secret origin key core-20190502094414.
   hab-studio: Importing 'core' public origin key
» Importing origin key from standard input
★ Imported public origin key core-20200331193006.
   hab-studio: Exported: HAB_AUTH_TOKEN=[redacted]
   hab-studio: Exported: HAB_LICENSE=accept-no-persist
   hab-studio: Exported: HAB_ORIGIN=core
   hab-studio: Exported: HAB_BLDR_URL=https://bldr.habitat.sh
--> Detected and loading /src/.studiorc

--> Launching the Habitat Supervisor in the background...
    Running: hab sup run 
    * Use 'hab svc start' & 'hab svc stop' to start and stop services
    * Use 'sup-log' to tail the Supervisor's output (Ctrl+c to stop)
    * Use 'sup-term' to terminate the Supervisor
    * To pass custom arguments to run the Supervisor, export
      'HAB_STUDIO_SUP' with the arguments before running
      'hab studio enter'.

--> To prevent a Supervisor from running automatically in your
    Studio, export 'HAB_STUDIO_SUP=false' before running
    'hab studio enter'.

[1][default:/src:0]# hab pkg install core/dex
» Installing core/dex
☁ Determining latest version of core/dex in the 'stable' channel
☛ Verifying core/dex/2.24.0/20200513145409
→ Using core/glibc/2.29/20200305172459
→ Using core/linux-headers/4.19.62/20200305172241
✓ Installed core/dex/2.24.0/20200513145409
★ Install of core/dex/2.24.0/20200513145409 complete with 1 new packages installed.
[2][default:/src:0]# hab svc load core/dex
The core/dex service was successfully loaded
[3][default:/src:0]# hab svc status
package                         type        desired  state  elapsed (s)  pid  group
core/dex/2.24.0/20200513145409  standalone  up       up     1            177  dex.default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant