Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stwissel/vertx-http2-check
Investigation of http2 trouble
https://github.com/stwissel/vertx-http2-check
Last synced: 8 days ago
JSON representation
Investigation of http2 trouble
- Host: GitHub
- URL: https://github.com/stwissel/vertx-http2-check
- Owner: Stwissel
- Created: 2022-06-14T19:23:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T19:23:42.000Z (over 2 years ago)
- Last Synced: 2024-12-21T09:26:47.250Z (2 months ago)
- Language: Java
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= Troubleshooting HTTP/2
image:https://img.shields.io/badge/vert.x-4.3.1-purple.svg[link="https://vertx.io"]
To run your application:
- get the password for the pfx file or replace it with your own
- set the variable `SWITCH_ON_TLS` to `true` to see the problem or `false` to se regular operation
- add `frascati.projectkeep.local` to your `host` file with `127.0.0.1````
./mvnw clean compile exec:java
```== Issue observed
Send this:
```
curl -v -k 'https://frascati.projectkeep.local:8888/api/auth' \
--header 'Content-Type: application/json' \
--data-raw '{ "username": "John Doe", "password": "password" }'
```and the request will fail
Send this:
```
curl -v -k --http1.1 'https://frascati.projectkeep.local:8888/api/auth' \
--header 'Content-Type: application/json' \
--data-raw '{ "username": "John Doe", "password": "password" }'
```and the request works.