sezaru

sezaru

Hello,

Looking at my server log, I’m seeing a lot of messages like these ones:

19:08:55.477 [info] #PID<0.2406.41> :tls_record "validate_tls_records_type/8" "tls_record.erl" 539 
↳ TLS :server: In state :hello at tls_record.erl:539 generated SERVER ALERT: Fatal - Unexpected Message
 - {:unsupported_record_type, 243}
 
19:09:56.526 [info] #PID<0.2519.41> :tls_record "validate_tls_records_type/8" "tls_record.erl" 539 
↳ TLS :server: In state :hello at tls_record.erl:539 generated SERVER ALERT: Fatal - Unexpected Message
 - {:unsupported_record_type, 19}
 
19:11:01.055 [info] #PID<0.3346.41> :tls_record "validate_tls_records_type/8" "tls_record.erl" 539 
↳ TLS :server: In state :hello at tls_record.erl:539 generated SERVER ALERT: Fatal - Unexpected Message
 - {:unsupported_record_type, 76}
 
19:12:04.595 [info] #PID<0.3733.41> :tls_record "validate_tls_records_type/8" "tls_record.erl" 539 
↳ TLS :server: In state :hello at tls_record.erl:539 generated SERVER ALERT: Fatal - Unexpected Message
 - {:unsupported_record_type, 19}
 
19:14:21.683 [info] #PID<0.4141.41> :tls_record "validate_tls_records_type/8" "tls_record.erl" 539 
↳ TLS :server: In state :hello at tls_record.erl:539 generated SERVER ALERT: Fatal - Unexpected Message
 - {:unsupported_record_type, 19}
 
19:15:24.860 [info] #PID<0.5173.41> :tls_record "validate_tls_records_type/8" "tls_record.erl" 539 
↳ TLS :server: In state :hello at tls_record.erl:539 generated SERVER ALERT: Fatal - Unexpected Message
 - {:unsupported_record_type, 111}

22:32:43.331 [info] #PID<0.13379.44> :tls_record "validate_tls_records_type/8" "tls_record.erl" 539 
↳ TLS :server: In state :hello at tls_record.erl:539 generated SERVER ALERT: Fatal - Unexpected Message
 - {:unsupported_record_type, 3}

Does anyone knows what these messages mean?

I’m running Elixir 1.11.2 with Phoenix 1.5.3

Thanks!

Showing Posts 1 to 7

dom

dom

If this is a public server, it can be someone scanning your app for vulnerabilities, or trying to do unencrypted HTTP requests on an HTTPS port by mistake, or otherwise sending invalid data for whatever reason.

Basically Erlang is saying it received nonsense data.

sezaru

sezaru OP

This makes sense, the server is indeed public, so it makes sense that someone may be trying to access it for one reason or another.

Thanks!

blagh

blagh

On the other side of things: I was getting this error as a warning log message because I was attempting to do SSL against an HTTP server that intentionally didn’t do secure connections.

This was the error message:

TLS :client: In state :hello at tls_record.erl:539 generated CLIENT ALERT: Fatal - Unexpected Message

* {:unsupported_record_type, 72}

Changing the connection to go through the default HTTP port instead of the HTTPS port stopped the warning logs.

stiegi

stiegi

I had this error message on my dev server after enabling self-signed ssl locally. I served https over a different port (4000 → http, 4001 → https) and my mistake was, that I entered http://localhost:4001 in the browser, instead of https. Since Chrome didn’t show the protocol it was easy to oversee.

hauks96

hauks96

You just saved me another few hours of wasted time :sweat_smile:

enkr1

enkr1

Hi,

I am currently having this issue and these are the common error lines I saw last in my logs that stopped the whole app:

20:15:27.010 [notice] TLS :server: In state :hello at tls_handshake.erl:346 generated SERVER ALERT: Fatal - Insufficient Security
 - :no_suitable_ciphers
20:23:56.937 [notice] TLS :server: In state :hello at tls_record.erl:564 generated SERVER ALERT: Fatal - Unexpected Message
 - {:unsupported_record_type, 5}
22:12:11.435 [notice] TLS :server: In state :hello at tls_handshake.erl:364 generated SERVER ALERT: Fatal - Protocol Version

Best wishes,
Jing Hui PANG

enkr1

enkr1

— All posts loaded —

Where Next? Top

Trending in Questions Top

Blokh
Hey guys, I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly Do you guys have any suggestions what is the best prac...
New
kszambelanczyk
Hello! Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app. I creat...
New
Onor.io
I have what I’ve heard referred to as a “lookup table” in my database. This is a way of assigning codes to common values. One common lo...
New
Trolleger
What approach to take when sending live updates to “random” users Hi! I have a question, I have a little chat app, and when I create a DM...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
matt-savvy
Anyone here using Honeybadger? My Honeybadger account is being overwhelmed with noise from some bots. Seeing a lot of Bandit.HTTPError...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews