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

Fix SSL handshake issue in localproxy #169

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vishwamartur
Copy link

Related to #168

Add retry mechanism and detailed logging for SSL handshake in src/WebSocketStream.cpp.

  • Retry Mechanism: Add a retry mechanism for SSL handshake in the async_ssl_handshake function with a limit of 3 attempts and a delay of 1 second between retries.
  • Detailed Logging: Add detailed logging for SSL handshake errors in the async_ssl_handshake function to capture and log SSL handshake failures.
  • Fallback Mechanism: Add a fallback mechanism to disable SSL verification if the handshake fails after the retry limit is reached.

Update README.md to include troubleshooting steps for SSL handshake issues.

  • Troubleshooting Steps: Add a new section in the "Troubleshooting" section to provide steps for troubleshooting SSL handshake issues, including checking SSL certificates, verifying network configuration, enabling detailed logging, using the retry mechanism, disabling SSL verification, checking the system environment, updating dependencies, and consulting documentation.

Related to aws-samples#168

Add retry mechanism and detailed logging for SSL handshake in `src/WebSocketStream.cpp`.

* **Retry Mechanism**: Add a retry mechanism for SSL handshake in the `async_ssl_handshake` function with a limit of 3 attempts and a delay of 1 second between retries.
* **Detailed Logging**: Add detailed logging for SSL handshake errors in the `async_ssl_handshake` function to capture and log SSL handshake failures.
* **Fallback Mechanism**: Add a fallback mechanism to disable SSL verification if the handshake fails after the retry limit is reached.

Update `README.md` to include troubleshooting steps for SSL handshake issues.

* **Troubleshooting Steps**: Add a new section in the "Troubleshooting" section to provide steps for troubleshooting SSL handshake issues, including checking SSL certificates, verifying network configuration, enabling detailed logging, using the retry mechanism, disabling SSL verification, checking the system environment, updating dependencies, and consulting documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant