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

Dev UI does not open if http is disabled #45894

Closed
Postremus opened this issue Jan 27, 2025 · 1 comment · Fixed by #45911
Closed

Dev UI does not open if http is disabled #45894

Postremus opened this issue Jan 27, 2025 · 1 comment · Fixed by #45911
Labels
area/dev-ui env/windows Impacts Windows machines kind/bug Something isn't working
Milestone

Comments

@Postremus
Copy link
Member

Describe the bug

In my app, I always require https locally.
I therefore just disabled http for dev mode.

I followed the TLS Registry guide for this and http guide.

%dev,test.quarkus.tls.key-store.p12.path=my-cert-keystore.p12
%dev,test.quarkus.tls.key-store.p12.password=password
%dev,test.quarkus.http.insecure-requests=disabled

In the console, quarkus correctly logs on dev mode startup:
2025-01-27 16:53:33,276 INFO [io.quarkus] (Quarkus Main Thread) herzberg-backend 1.0.0-SNAPSHOT on JVM (powered by Quarkus 3.17.6) started in 43.635s. Listening on: https://localhost:8443

However, I now want to check something in dev ui, and press d in my terminal.
My browser is now opened with http://localhost:8080/q/dev-ui. No https, wrong port.
This results in chrome just saying "ERR_CONNECTION_REFUSED". yeah, dev-ui is not there..

Manually entering the url https://localhost:8443/q/dev-ui correctly opens dev ui.

Expected behavior

d should work with https only

Actual behavior

dev ui does not open with https only

How to Reproduce?

see description

Output of uname -a or ver

MINGW64_NT-10.0-26100 NANBCHL9NG3 3.3.6-341.x86_64 2022-09-05 20:28 UTC x86_64 Msys

Output of java -version

No response

Quarkus version or git rev

3.17.6

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39) Maven home: C:\eclipse\tools\java\maven Java version: 21.0.5, vendor: Eclipse Adoptium, runtime: C:\eclipse\tools\java\21 Default locale: de_DE, platform encoding: UTF-8 OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

Additional information

No response

@Postremus Postremus added the kind/bug Something isn't working label Jan 27, 2025
@quarkus-bot quarkus-bot bot added area/dev-ui env/windows Impacts Windows machines labels Jan 27, 2025
Copy link

quarkus-bot bot commented Jan 27, 2025

/cc @cescoffier (devui), @phillip-kruger (devui)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dev-ui env/windows Impacts Windows machines kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants