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

Doc: Diagnose Network Issues with curl #480

Closed
1 task done
Juju-archy opened this issue Dec 19, 2024 · 1 comment · Fixed by #504
Closed
1 task done

Doc: Diagnose Network Issues with curl #480

Juju-archy opened this issue Dec 19, 2024 · 1 comment · Fixed by #504
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Juju-archy
Copy link
Contributor

Checking for existing issue

  • I have checked for existing issues

Describe the content you'd like to see

Diagnose Network Issues with curl to Troubleshooting Guide

Use Case

Including this in the troubleshooting guide would:

  • Help users quickly identify if issues are related to the network or the application itself.
  • Improve the efficiency of diagnosing and resolving connectivity problems.

Description

It would be helpful to include the following curl command in the troubleshooting guide. This command can diagnose network-related issues by providing detailed timing information for each step of the connection process (DNS resolution, network latency, TLS handshake, server response).

Command

curl -o /dev/null -s -w "DNS resolution: %{time_namelookup}s\nTCP connection: %{time_connect}s\nTLS handshake: %{time_appconnect}s\nTime to first byte: %{time_starttransfer}s\nTotal time: %{time_total}s\n" https://example.com
@Juju-archy Juju-archy added the documentation Improvements or additions to documentation label Dec 19, 2024
@Juju-archy Juju-archy self-assigned this Dec 19, 2024
@Kirbeerus
Copy link
Contributor

@Juju-archy Can you look into doing a PR about this issue ?

@Kirbeerus Kirbeerus linked a pull request Jan 23, 2025 that will close this issue
2 tasks
PLhuillery added a commit that referenced this issue Jan 28, 2025
## Describe your PR

This guide provides a method for diagnosing network-related issues using
the curl command. By analyzing detailed timing information, you can
determine whether problems originate from the network infrastructure,
DNS resolution, TLS handshake, or server response

## Checklist

- [x] My PR is related to an opened issue : #480
- [x] I've read the [contributing
guidelines](/CleverCloud/documentation/blob/main/CONTRIBUTING.md)


## Reviewers
_Who should review these changes?_ @CleverCloud/reviewers

Co-authored-by: jpouny <[email protected]>
Co-authored-by: Pierre L. / Peyo <[email protected]>
@github-project-automation github-project-automation bot moved this from Open to Done in Documentation updates Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Development

Successfully merging a pull request may close this issue.

3 participants