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

Getting some TLS errors when receiving webhooks #639

Open
st3fus opened this issue May 15, 2023 · 5 comments
Open

Getting some TLS errors when receiving webhooks #639

st3fus opened this issue May 15, 2023 · 5 comments
Labels

Comments

@st3fus
Copy link

st3fus commented May 15, 2023

So I'm noticing most of time hooks coming from BitBucket are failing, not sure for what reason, I'm not that much experienced with it. Here are the errors I'm getting when I do systemctl status webhook.service:

[webhook] 2023/05/15 00:46:23 http: TLS handshake error from 5.188.210.227:47566: unexpected EOF
May 15 00:46:29 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 00:46:29 http: TLS handshake error from 5.188.210.227:50464: unexpected EOF
May 15 00:46:35 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 00:46:35 http: TLS handshake error from 5.188.210.227:50972: unexpected EOF
May 15 00:47:55 ip-***-**-**-***webhook[3925]: [webhook] 2023/05/15 00:47:55 http: TLS handshake error from 5.188.210.227:36398: tls: first record does not look like a TLS handshake
May 15 00:48:58 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 00:48:58 http: TLS handshake error from 5.188.210.227:54878: tls: first record does not look like a TLS handshake
May 15 02:00:55 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 02:00:55 http: TLS handshake error from 167.248.133.37:47612: read tcp ***-**-**-***:9000->167.248.133.37:47612: read: c>
May 15 02:00:57 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 02:00:57 [c07ee3] 200 | 2 B | 8.682µs | 52.47.71.75:9000 | GET /
May 15 02:00:57 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 02:00:57 [1b8456] 200 | 2 B | 6.339µs | 52.47.71.75:9000 | GET /
May 15 02:00:58 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 02:00:58 http: TLS handshake error from 167.248.133.37:35066: tls: client requested unsupported application protocols ([>
May 15 02:04:43 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 02:04:43 [b91adb] 200 | 2 B | 33.968µs | 52.47.71.75:9000 | GET /
May 15 02:04:49 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 02:04:49 http: TLS handshake error from 184.105.139.67:33788: tls: client offered only unsupported versions: []
May 15 02:04:55 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 02:04:55 http: TLS handshake error from 184.105.139.67:17472: tls: no cipher suite supported by both client and server
May 15 02:05:00 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 02:05:00 [e0a36b] 200 | 2 B | 7.46µs | 52.47.71.75:9000 | GET /
May 15 03:05:04 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 03:05:04 http: TLS handshake error from 167.94.138.35:41290: read tcp ***-**-**-***:9000->167.94.138.35:41290: read: con>
May 15 03:05:05 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 03:05:05 [b6f0ad] 200 | 2 B | 6.787µs | 52.47.71.75:9000 | GET /
May 15 03:05:06 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 03:05:06 [773d8f] 200 | 2 B | 5.46µs | 52.47.71.75:9000 | GET /
May 15 03:05:06 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 03:05:06 http: TLS handshake error from 167.94.138.35:37206: tls: client requested unsupported application protocols ([h>
May 15 03:20:44 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 03:20:44 [a59615] 200 | 2 B | 6.473µs | 52.47.71.75:9000 | GET /
May 15 05:24:35 ip-***-**-**-*** webhook[3925]: [webhook] 2023/05/15 05:24:35 http: TLS handshake error from 104.237.145.157:40448: EOF

Is that the issue again with Athlassian having new IPs? Saw a PR about that...

@st3fus
Copy link
Author

st3fus commented Aug 10, 2023

Any news?

@st3fus
Copy link
Author

st3fus commented Aug 22, 2023

Now I'm getting them when build is done from GitHub with DockerHub, TLS handshake error

@st3fus
Copy link
Author

st3fus commented Oct 16, 2023

Anyone having these issues?

@st3fus
Copy link
Author

st3fus commented Dec 19, 2023

Still nothing? Having these issues on multiple deployments, all happening random, it's not connected strictly to BitBucket anymore, same happens when receiving a webhook from DockerHub or GitHub

@moorereason
Copy link
Collaborator

Hmm. I'm not seeing issues with Bitbucket. What do the logs say after "tls: client requested unsupported application protocols ([..."?

Can you try rebuilding webhook with the latest Go release? Looks like you're having TLS handshake issues. I'm assuming there's something wrong locally in your environment.

@st3fus st3fus changed the title Getting some errors when receiving webhooks from BitBucket Getting some TLS errors when receiving webhooks from Apr 5, 2024
@st3fus st3fus changed the title Getting some TLS errors when receiving webhooks from Getting some TLS errors when receiving webhooks Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants