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

No route to host / connection timed out #188

Closed
Davincible opened this issue Mar 21, 2021 · 10 comments
Closed

No route to host / connection timed out #188

Davincible opened this issue Mar 21, 2021 · 10 comments

Comments

@Davincible
Copy link

Davincible commented Mar 21, 2021

With siege -c 100 -t 60s "https://example.com" I get:

[error] socket: unable to connect sock.c:282: No route to host
[alert] socket: select and discovered it's not ready sock.c:384: Connection timed out
[alert] socket: read check timed out(30) sock.c:273: Connection timed out

But it does work through the browser or curl

SIEGE 4.0.7
Linux unavailable 5.11.6-1-MANJARO #1 SMP PREEMPT Thu Mar 11 19:05:51 UTC 2021 x86_64 GNU/Linux
@JoeDog
Copy link
Owner

JoeDog commented Mar 21, 2021 via email

@Davincible
Copy link
Author

I used https://mysite.com/webpage btw, not the empty domain, not sure if that makes a difference.

Traceroute with https gives Name or service not known, just bare domain does work.

I also tried wrk2 -t10 -c100 -d60s -R100 --latency "https://mysite.com/webpage" and that did work

siege -c 1 -t 20s "https://mysite.com/webpage"                                                                        
[error] socket: unable to connect sock.c:282: No route to host
[error] socket: unable to connect sock.c:282: No route to host

{       "transactions":                            0,
        "availability":                         0.00,
        "elapsed_time":                        19.20,
        "data_transferred":                     0.00,
        "response_time":                        0.00,
        "transaction_rate":                     0.00,
        "throughput":                           0.00,
        "concurrency":                          0.00,
        "successful_transactions":                 0,
        "failed_transactions":                     2,
        "longest_transaction":                  0.00,
        "shortest_transaction":                 0.00
}

It looks like some dependency is missing, but I'm not sure what. Just installed it with pacman

@JoeDog
Copy link
Owner

JoeDog commented Mar 21, 2021 via email

@Davincible
Copy link
Author

siege --debug -c1 -t20s doesn't show anything extra compared to the regular one, also doesn't show up in the man page.

Hm that could be it, there doesn't seem to be an openssl-devel package on Arch, only a regular openssl

@JoeDog
Copy link
Owner

JoeDog commented Mar 21, 2021 via email

@Davincible
Copy link
Author

They both seem to work, also tried some other sites which also seem to work. Which then would suggest it's actually something with my site, but then I don't understand why browser/curl/wrk2 do work with my site, but siege doesn't

@JoeDog
Copy link
Owner

JoeDog commented Mar 22, 2021 via email

@Davincible
Copy link
Author

Still get nothing, maybe you can see if you get anything. Website I'm trying to test is https://lookwhosstreaming.com - 37.97.131.71

@JoeDog
Copy link
Owner

JoeDog commented Mar 22, 2021 via email

@Davincible
Copy link
Author

Still same results :/, other sites work, my site doesn't. Super strange. Are there any other logs I can provide?

@JoeDog JoeDog closed this as completed Jul 16, 2021
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

No branches or pull requests

2 participants