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

[BUG] HTTPS connection closes between messages while using HTTP Sender with SSL Enabled #6304

Closed
jdonextgen opened this issue Sep 10, 2024 · 1 comment
Labels
bug Something isn't working Fix-Commited Issue fixed and will be available in milestone Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12958 triaged
Milestone

Comments

@jdonextgen
Copy link
Collaborator

Describe the bug
When using the HTTP Sender connector type with SSL enabled, Mirth Connect closes the TCP connection after each message, requiring the additional overhead of opening a new connection and performing the TLS handshake for each subsequent message. It seems that if the server requires a client certificate (Client Authentication = Require), then the client uses a new port for each message. If the server does NOT require a client cert (Client Authentication = Disabled), then the client uses a single connection.

To Reproduce
Setup steps (if required) and steps to reproduce the behavior:

  1. Setup a basic HTTP Sender using the SSL Manager
  2. Send to an HTTPS endpoint
  3. Turn on the option for Client Authentication = Required
  4. Use Wireshark to view the packets

Expected behavior
Using the HTTP Sender connector type with SSL enabled, with Client Authentication = Required, should not close the connection between each message; it should stay connected.

Actual behavior
When using the HTTP Sender connector type with SSL enabled, and Client Authentication = Required, Mirth Connect closes the TCP connection after each message, requiring the additional overhead of opening a new connection and performing the TLS handshake for each subsequent message.

Screenshots
N/A

Environment (please complete the following information):

  • OS: [e.g. Linux (CentOS), Windows 10, MacOS]: N/A
  • Java Distribution/Version [e.g. OpenJDK 11, Java 8 (201)]: N/A
  • Connect Version [e.g. 3.8.0]: MC 4.2.0

Workaround(s)
N/A

Additional context
N/A

@jdonextgen jdonextgen added bug Something isn't working triaged Fix-Commited Issue fixed and will be available in milestone Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12958 labels Sep 10, 2024
@jdonextgen jdonextgen added this to the 4.5.2 milestone Sep 10, 2024
@jdonextgen
Copy link
Collaborator Author

Fix has been committed and will be available in our Mirth Connect 4.5.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fix-Commited Issue fixed and will be available in milestone Internal-Issue-Created An issue has been created in NextGen's internal issue tracker RS-12958 triaged
Projects
None yet
Development

No branches or pull requests

1 participant