Serial Modem AT HTTP Response seemingly Missing/Corrupt Data on large transfers ~100k.

Our device has both a 9160 and a 52840 on it.

The 9160 is running the stock serial modem firmware on it.

The 52840 is running a custom handler for AT connection targeted to AT HTTP.

We issue a #XHTTPCREQ

to connect to a http server and then attempt to receive ~160k in response data with header.

What is odd, is that our processing works flawlessly about 1 in 4 or 5 times. The other times, the stream is seemingly malformed.

We are struggling as the data appears malformed or missing in parts of it.

The data always appears malformed inside the payload portion of the response, where data is interspersed between #XHTTP CRSP packets.

Some of the issues I see are absence of newlines or carriage returns or missing data near or around packet transitions. Sometimes it seemingly appears that #XHTTP CRSP packets are not followed by data.

Has anyone tried to download such large amounts of data using the Serial Modem AT software? How'd it go?

I don't believe we are overrunning UART on the 52840 end as overflow is detected and captured. However we very well could be overflowing something on the 9160.

RTT debug printing on the 9160 side is only half effective as even when opened at 50,000 Hz, the log is littered with 00> --- 60 messages dropped ---, type notifications, so perfect tracking of where in the stream (if any) on the 9160 was altered.

Has anyone routed around something similar.

The link between the 9160 and the 52840 is an 115200 HWFC 0 link, wherein the AT command/response occurs.

Thanks,
Chris.

  • Hi Christopher,

    I just wonder if it is possible to do a similar test only on the nRF9160 side. For example, you can test with nRF9160DK with a serial terminal on a PC.

    If a similar issue happens, we would like to see the log file from your experiments.

    Best regards,

    Charlie

  • Do you think I"ll get to see every byte that comes back in a 130k HTTP request, all in one payload?

    I see lots of dropped messages when investigating the LTE Modem software using RTT viewer.

  • Hi Christopher,

    ccasebeer said:

    Do you think I"ll get to see every byte that comes back in a 130k HTTP request, all in one payload?

    Yes, but not in one payload, the max packet payload is 1024 Byte by default, it will get several packets for a big HTTP request response.

    ccasebeer said:
    I see lots of dropped messages when investigating the LTE Modem software using RTT viewer.

    I also see the dropped messages, I think it is due to RTT configuration. Set "CONFIG_LOG_MODE_IMMEDIATE=y" solve the problem on my side.

    Here you can find my test log with Link Monitor and RTT viewer. The HTTP response is 2238 Byte.

    00> *** Booting Zephyr OS build v2.7.99-ncs1  ***
    00> 
    00> [00:00:00.201,782] <inf> slm: Serial LTE Modem
    00> [00:00:00.228,179] <inf> slm_at_host: at_host init done
    (Connection lost)
    00> *** Booting Zephyr OS build v2.7.99-ncs1  ***
    00> 
    00> [00:00:00.201,782] <inf> slm: Serial LTE Modem
    00> [00:00:00.219,238] <dbg> slm_at_host.TX
    00>                                      52 65 61 64 79 0d 0a                             |Ready..          
    00> [00:00:00.220,855] <dbg> slm_fota.slm_fota_post_process: FOTA result 0,0,0
    00> [00:00:00.230,499] <inf> slm_at_host: at_host init done
    00> [00:00:14.394,165] <dbg> slm_at_host.RX
    00>                                      41 54 2b 43 46 55 4e 3f                          |AT+CFUN?         
    00> [00:00:14.402,252] <dbg> slm_at_host.TX
    00>                                      0d 0a                                            |..               
    00> [00:00:14.403,594] <dbg> slm_at_host.TX
    00>                                      2b 43 46 55 4e 3a 20 30  0d 0a 4f 4b 0d 0a       |+CFUN: 0 ..OK..  
    00> [00:00:21.147,033] <dbg> slm_at_host.RX
    00>                                      41 [00:00:21.147,552] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> 54 2b 43 46 55 4e 3d  31                      |AT+CFUN= 1       
    00> [00:00:21.184,753] <dbg> slm_at_host.TX
    00>                                      0d 0a                                            |..               
    00> [00:00:21.185,577] <dbg> slm_at_host.TX
    00>                                      4f 4b 0d 0a                                      |OK..             
    00> [00:00:22.435,821] <dbg> slm_at_host.RX
    00>                                      41 [00:00:22.436,340] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> 54 2b 43 46 55 4e 3f                          |AT+CFUN?         
    00> [00:00:22.437,957] <dbg> slm_at_host.TX
    00>                                      0d 0a                                            |..               
    00> [00:00:22.438,781] <dbg> slm_at_host.TX
    00>                                      2b 43 46 55 4e 3a 20 31  0d 0a 4f 4b 0d 0a       |+CFUN: 1 ..OK..  
    00> [00:00:24.435,455] <dbg> slm_at_host.RX
    00>                                      41 [00:00:24.435,943] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> 54 23 58 48 54 54 50  43 43 4f 4e 3f          |AT#XHTTP CCON?   
    00> [00:00:24.437,530] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 43 4f 4e 3a 20 30 2c |..#XHTTP CCON: 0,
    00>                                      22 22 2c 30 2c 30 0d 0a                          |"",0,0..         
    00> [00:00:24.439,483] <dbg> slm_at_host.TX
    00>                                      0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:00:27.309,631] <dbg> slm_at_host.RX
    00>                                      41 [00:00:27.310,150] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> 54 23 58 48 54 54 50  43 43 4f 4e 3d 31 2c 22 |AT#XHTTP CCON=1,"
    00>                                      6e 65 76 65 72 73 73 6c  2e 63 6f 6d 22 2c 38 30 |neverssl .com",80
    00> [00:00:27.319,183] <dbg> slm_httpc.do_http_connect: Configuring socket timeout (10 s)
    00> [00:00:27.607,269] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 43 4f 4e 3a 20 31 0d |..#XHTTP CCON: 1.
    00>                                      0a                                               |.                
    00> [00:00:27.608,978] <dbg> slm_at_host.TX
    00>                                      0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:13.128,814] <dbg> slm_at_host.RX
    00>                                      41 [00:01:13.129,333] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> 54 23 58 48 54 54 50  43 52 45 51 3d 22 47 45 |AT#XHTTP CREQ="GE
    00>                                      54 22 2c 22 2f 6f 6e 6c  69 6e 65 22 2c 22 22    |T","/onl ine","" 
    00> [00:01:13.132,080] <dbg> slm_at_host.TX
    00>                                      0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:13.133,239] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 52 45 51 3a 20 2d 31 |..#XHTTP CREQ: -1
    00>                                      32 38 0d 0a                                      |28..             
    00> [00:01:13.136,260] <err> slm_httpc: do_http_request fail:-128
    00> [00:01:13.137,023] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 43 4f 4e 3a 20 30 0d |..#XHTTP CCON: 0.
    00>                                      0a                                               |.                
    00> [00:01:13.139,831] <inf> slm_httpc: HTTP thread terminated
    00> [00:01:16.653,503] <dbg> slm_at_host.RX
    00>                                      41 [00:01:16.654,022] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> 54 23 58 48 54 54 50  43 43 4f 4e 3f          |AT#XHTTP CCON?   
    00> [00:01:16.655,609] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 43 4f 4e 3a 20 30 2c |..#XHTTP CCON: 0,
    00>                                      22 6e 65 76 65 72 73 73  6c 2e 63 6f 6d 22 2c 38 |"neverss l.com",8
    00>                                      30 0d 0a                                         |0..              
    00> [00:01:16.658,294] <dbg> slm_at_host.TX
    00>                                      0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:17.432,006] <dbg> slm_at_host.RX
    00>                                      41 [00:01:17.432,525] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> 54 23 58 48 54 54 50  43 43 4f 4e 3d 31 2c 22 |AT#XHTTP CCON=1,"
    00>                                      6e 65 76 65 72 73 73 6c  2e 63 6f 6d 22 2c 38 30 |neverssl .com",80
    00> [00:01:17.435,455] <dbg> slm_httpc.do_http_connect: Configuring socket timeout (10 s)
    00> [00:01:17.536,437] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 43 4f 4e 3a 20 31 0d |..#XHTTP CCON: 1.
    00>                                      0a                                               |.                
    00> [00:01:17.538,116] <dbg> slm_at_host.TX
    00>                                      0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:19.960,296] <dbg> slm_at_host.RX
    00>                                      41 [00:01:19.960,784] <dbg> slm_at_host.uart_callback: RX_DISABLED
    00> 54 23 58 48 54 54 50  43 52 45 51 3d 22 47 45 |AT#XHTTP CREQ="GE
    00>                                      54 22 2c 22 2f 6f 6e 6c  69 6e 65 22 2c 22 22    |T","/onl ine","" 
    00> [00:01:19.963,562] <dbg> slm_at_host.TX
    00>                                      0d 0a 4f 4b 0d 0a                                |..OK..           
    00> [00:01:19.965,667] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 52 45 51 3a 20 30 0d |..#XHTTP CREQ: 0.
    00>                                      0a                                               |.                
    00> [00:01:26.943,115] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 52 53 50 3a 35 32 34 |..#XHTTP CRSP:524
    00>                                      2c 30 0d 0a                                      |,0..             
    00> [00:01:26.946,075] <dbg> slm_at_host.TX
    00>                                      48 54 54 50 2f 31 2e 31  20 32 30 30 20 4f 4b 0d |HTTP/1.1  200 OK.
    00>                                      0a 43 6f 6e 74 65 6e 74  2d 54 79 70 65 3a 20 74 |.Content -Type: t
    00>                                      65 78 74 2f 68 74 6d 6c  0d 0a 43 6f 6e 74 65 6e |ext/html ..Conten
    00>                                      74 2d 4c 65 6e 67 74 68  3a 20 32 32 33 38 0d 0a |t-Length : 2238..
    00>                                      43 6f 6e 6e 65 63 74 69  6f 6e 3a 20 6b 65 65 70 |Connecti on: keep
    00>                                      2d 61 6c 69 76 65 0d 0a  4c 61 73 74 2d 4d 6f 64 |-alive.. Last-Mod
    00>                                      69 66 69 65 64 3a 20 54  68 75 2c 20 30 34 20 4e |ified: T hu, 04 N
    00>                                      6f 76 20 32 30 32 31 20  31 36 3a 33 34 3a 35 39 |ov 2021  16:34:59
    00>                                      20 47 4d 54 0d 0a 41 63  63 65 70 74 2d 52 61 6e | GMT..Ac cept-Ran
    00>                                      67 65 73 3a 20 62 79 74  65 73 0d 0a 53 65 72 76 |ges: byt es..Serv
    00>                                      65 72 3a 20 41 6d 61 7a  6f 6e 53 33 0d 0a 44 61 |er: Amaz onS3..Da
    00>                                      74 65 3a 20 54 75 65 2c  20 30 31 20 4d 61 72 20 |te: Tue,  01 Mar 
    00>                                      32 30 32 32 20 30 35 3a  30 32 3a 35 31 20 47 4d |2022 05: 02:51 GM
    00>                                      54 0d 0a 45 54 61 67 3a  20 22 31 37 32 37 33 35 |T..ETag:  "172735
    00>                                      36 39 30 37 66 32 65 66  39 63 30 30 65 36 64 30 |6907f2ef 9c00e6d0
    00>                                      64 33 63 34 34 66 64 39  35 62 22 0d 0a 56 61 72 |d3c44fd9 5b"..Var
    00>                                      79 3a 20 41 63 63 65 70  74 2d 45 6e 63 6f 64 69 |y: Accep t-Encodi
    00>                                      6e 67 0d 0a 43 61 63 68  65 2d 43 6f 6e 74 72 6f |ng..Cach e-Contro
    00>                                      6c 3a 20 70 75 62 6c 69  63 2c 20 6d 61 78 2d 61 |l: publi c, max-a
    00>                                      67 65 3d 38 36 34 30 30  0d 0a 58 2d 43 61 63 68 |ge=86400 ..X-Cach
    00>                                      65 3a 20 48 69 74 20 66  72 6f 6d 20 63 6c 6f 75 |e: Hit f rom clou
    00>                                      64 66 72 6f 6e 74 0d 0a  56 69 61 3a 20 31 2e 31 |dfront.. Via: 1.1
    00>                                      20 62 63 64 35 64 61 64  63 63 62 30 38 33 31 37 | bcd5dad ccb08317
    00>                                      32 39 39 36 39 63 39 33  38 37 34 37 66 66 37 39 |29969c93 8747ff79
    00>                                      61 2e 63 6c 6f 75 64 66  72 6f 6e 74 2e 6e 65 74 |a.cloudf ront.net
    00>                                      20 28 43 6c 6f 75 64 46  72 6f 6e 74 29 0d 0a 58 | (CloudF ront)..X
    00>                                      2d 41 6d 7a 2d 43 66 2d  50 6f 70 3a 20 4f 53 4c |-Amz-Cf- Pop: OSL
    00>                                      35 30 2d 43 31 0d 0a 58  2d 41 6d 7a 2d 43 66 2d |50-C1..X -Amz-Cf-
    00>                                      49 64 3a 20 4b 6a 4b 68  48 78 6c 37 7a 58 36 54 |Id: KjKh Hxl7zX6T
    00>                                      41 30 2d 54 41 71 39 58  4f 58 66 47 51 73 49 42 |A0-TAq9X OXfGQsIB
    00>                                      75 61 54 48 66 35 51 58  79 41 6e 64 44 38 4a 37 |uaTHf5QX yAndD8J7
    00>                                      33 31 6e 67 34 33 37 4c  56 51 3d 3d 0d 0a 41 67 |31ng437L VQ==..Ag
    00>                                      65 3a 20 33 37 37 34 34  0d 0a 0d 0a             |e: 37744 ....    
    00> [00:01:26.996,246] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 52 53 50 3a 35 30 30 |..#XHTTP CRSP:500
    00>                                      2c 30 0d 0a                                      |,0..             
    00> [00:01:27.042,510] <dbg> slm_at_host.TX
    00>                                      3c 68 74 6d 6c 3e 0a 09  3c 68 65 61 64 3e 0a 09 |<html>.. <head>..
    00>                                      09 3c 74 69 74 6c 65 3e  4e 65 76 65 72 53 53 4c |.<title> NeverSSL
    00>                                      20 2d 20 68 65 6c 70 69  6e 67 20 79 6f 75 20 67 | - helpi ng you g
    00>                                      65 74 20 6f 6e 6c 69 6e  65 3c 2f 74 69 74 6c 65 |et onlin e</title
    00>                                      3e 0a 0a 09 09 3c 73 74  79 6c 65 3e 0a 09 09 62 |>....<st yle>...b
    00>                                      6f 64 79 20 7b 0a 09 09  09 66 6f 6e 74 2d 66 61 |ody {... .font-fa
    00>                                      6d 69 6c 79 3a 20 4d 6f  6e 74 73 65 72 72 61 74 |mily: Mo ntserrat
    00>                                      2c 20 68 65 6c 76 65 74  69 63 61 2c 20 61 72 69 |, helvet ica, ari
    00>                                      61 6c 2c 20 73 61 6e 73  2d 73 65 72 69 66 3b 20 |al, sans -serif; 
    00>                                      0a 09 09 09 66 6f 6e 74  2d 73 69 7a 65 3a 20 31 |....font -size: 1
    00>                                      36 78 3b 0a 09 09 09 63  6f 6c 6f 72 3a 20 23 34 |6x;....c olor: #4
    00>                                      34 34 34 34 34 3b 0a 09  09 09 6d 61 72 67 69 6e |44444;.. ..margin
    00>                                      3a 20 30 3b 0a 09 09 7d  0a 09 09 68 32 20 7b 0a |: 0;...} ...h2 {.
    00>                                      09 09 09 66 6f 6e 74 2d  77 65 69 67 68 74 3a 20 |...font- weight: 
    00>                                      37 30 30 3b 0a 09 09 09  66 6f 6e 74 2d 73 69 7a |700;.... font-siz
    00>                                      65 3a 20 31 2e 36 65 6d  3b 0a 09 09 09 6d 61 72 |e: 1.6em ;....mar
    00>                                      67 69 6e 2d 74 6f 70 3a  20 33 30 70 78 3b 0a 09 |gin-top:  30px;..
    00>                                      09 7d 0a 09 09 70 20 7b  0a 09 09 09 6c 69 6e 65 |.}...p { ....line
    00>                                      2d 68 65 69 67 68 74 3a  20 31 2e 36 65 6d 3b 0a |-height:  1.6em;.
    00>                                      09 09 7d 0a 09 09 2e 63  6f 6e 74 61 69 6e 65 72 |..}....c ontainer
    00>                                      20 7b 0a 09 09 09 6d 61  78 2d 77 69 64 74 68 3a | {....ma x-width:
    00>                                      20 36 35 30 70 78 3b 0a  09 09 09 6d 61 72 67 69 | 650px;. ...margi
    00>                                      6e 3a 20 32 30 70 78 20  61 75 74 6f 20 32 30 70 |n: 20px  auto 20p
    00>                                      78 20 61 75 74 6f 3b 0a  09 09 09 70 61 64 64 69 |x auto;. ...paddi
    00>                                      6e 67 2d 6c 65 66 74 3a  20 31 35 70 78 3b 0a 09 |ng-left:  15px;..
    00>                                      09 09 70 61 64 64 69 6e  67 2d 72 69 67 68 74 3a |..paddin g-right:
    00>                                      20 31 35 70 78 0a 09 09  7d 0a 09 09 2e 68 65 61 | 15px... }....hea
    00>                                      64 65 72 20 7b 0a 09 09  09 62 61 63 6b 67 72 6f |der {... .backgro
    00>                                      75 6e 64 2d 63 6f 6c 6f  72 3a 20 23 34 32 43 30 |und-colo r: #42C0
    00>                                      46 44 3b 0a 09 09 09 63  6f 6c 6f 72 3a 20 23 46 |FD;....c olor: #F
    00>                                      46 46 46 46 46 3b 0a 09  09 09 70 61 64 64 69 6e |FFFFF;.. ..paddin
    00>                                      67 3a 20 31                                      |g: 1             
    00> [00:01:27.090,728] <dbg> slm_httpc.response_cb: Response data received (1024 bytes)
    00> [00:01:27.124,725] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 52 53 50 3a 31 30 32 |..#XHTTP CRSP:102
    00>                                      34 2c 30 0d 0a                                   |4,0..            
    00> [00:01:27.134,918] <dbg> slm_at_host.TX
    00>                                      30 70 78 20 30 20 31 30  70 78 20 30 3b 0a 09 09 |0px 0 10 px 0;...
    00>                                      09 66 6f 6e 74 2d 73 69  7a 65 3a 20 32 2e 32 65 |.font-si ze: 2.2e
    00>                                      6d 3b 0a 09 09 7d 0a 09  09 3c 21 2d 2d 20 43 53 |m;...}.. .<!-- CS
    00>                                      53 20 66 72 6f 6d 20 4d  61 72 6b 20 57 65 62 73 |S from M ark Webs
    00>                                      74 65 72 20 68 74 74 70  73 3a 2f 2f 67 69 73 74 |ter http s://gist
    00>                                      2e 67 69 74 68 75 62 2e  63 6f 6d 2f 6d 61 72 6b |.github. com/mark
    00>                                      63 77 65 62 73 74 65 72  2f 39 62 64 66 33 30 36 |cwebster /9bdf306
    00>                                      35 35 63 64 64 35 32 37  39 62 61 64 31 33 39 39 |55cdd527 9bad1399
    00>                                      33 61 63 38 37 63 38 35  64 20 2d 2d 3e 0a 09 09 |3ac87c85 d -->...
    00>                                      3c 2f 73 74 79 6c 65 3e  0a 09 3c 2f 68 65 61 64 |</style> ..</head
    00>                                      3e 0a 09 3c 62 6f 64 79  3e 0a 0a 09 3c 64 69 76 |>..<body >...<div
    00>                                      20 63 6c 61 73 73 3d 22  68 65 61 64 65 72 22 3e | class=" header">
    00>                                      0a 09 09 3c 64 69 76 20  63 6c 61 73 73 3d 22 63 |...<div  class="c
    00>                                      6f 6e 74 61 69 6e 65 72  22 3e 0a 09 09 3c 68 31 |ontainer ">...<h1
    00>                                      3e 4e 65 76 65 72 53 53  4c 3c 2f 68 31 3e 0a 09 |>NeverSS L</h1>..
    00>                                      09 3c 2f 64 69 76 3e 0a  09 3c 2f 64 69 76 3e 0a |.</div>. .</div>.
    00>                                      09 0a 09 3c 64 69 76 20  63 6c 61 73 73 3d 22 63 |...<div  class="c
    00>                                      6f 6e 74 65 6e 74 22 3e  0a 09 3c 64 69 76 20 63 |ontent"> ..<div c
    00>                                      6c 61 73 73 3d 22 63 6f  6e 74 61 69 6e 65 72 22 |lass="co ntainer"
    00>                                      3e 0a 0a 09 3c 68 32 3e  57 68 61 74 3f 3c 2f 68 |>...<h2> What?</h
    00>                                      32 3e 0a 09 3c 70 3e 54  68 69 73 20 77 65 62 73 |2>..<p>T his webs
    00>                                      69 74 65 20 69 73 20 66  6f 72 20 77 68 65 6e 20 |ite is f or when 
    00>                                      79 6f 75 20 74 72 79 20  74 6f 20 6f 70 65 6e 20 |you try  to open 
    00>                                      46 61 63 65 62 6f 6f 6b  2c 20 47 6f 6f 67 6c 65 |Facebook , Google
    00>                                      2c 20 41 6d 61 7a 6f 6e  2c 20 65 74 63 0a 09 6f |, Amazon , etc..o
    00>                                      6e 20 61 20 77 69 66 69  20 6e 65 74 77 6f 72 6b |n a wifi  network
    00>                                      2c 20 61 6e 64 20 6e 6f  74 68 69 6e 67 20 68 61 |, and no thing ha
    00>                                      70 70 65 6e 73 2e 20 54  79 70 65 20 22 68 74 74 |ppens. T ype "htt
    00>                                      70 3a 2f 2f 6e 65 76 65  72 73 73 6c 2e 63 6f 6d |p://neve rssl.com
    00>                                      22 0a 09 69 6e 74 6f 20  79 6f 75 72 20 62 72 6f |"..into  your bro
    00>                                      77 73 65 72 27 73 20 75  72 6c 20 62 61 72 2c 20 |wser's u rl bar, 
    00>                                      61 6e 64 20 79 6f 75 27  6c 6c 20 62 65 20 61 62 |and you' ll be ab
    00>                                      6c 65 20 74 6f 20 6c 6f  67 20 6f 6e 2e 3c 2f 70 |le to lo g on.</p
    00>                                      3e 0a 0a 09 3c 68 32 3e  48 6f 77 3f 3c 2f 68 32 |>...<h2> How?</h2
    00>                                      3e 0a 09 3c 70 3e 6e 65  76 65 72 73 73 6c 2e 63 |>..<p>ne verssl.c
    00>                                      6f 6d 20 77 69 6c 6c 20  6e 65 76 65 72 20 75 73 |om will  never us
    00>                                      65 20 53 53 4c 20 28 61  6c 73 6f 20 6b 6e 6f 77 |e SSL (a lso know
    00>                                      6e 20 61 73 20 54 4c 53  29 2e 20 4e 6f 0a 09 65 |n as TLS ). No..e
    00>                                      6e 63 72 79 70 74 69 6f  6e 2c 20 6e 6f 20 73 74 |ncryptio n, no st
    00>                                      72 6f 6e 67 20 61 75 74  68 65 6e 74 69 63 61 74 |rong aut henticat
    00>                                      69 6f 6e 2c 20 6e 6f 20  3c 61 0a 09 68 72 65 66 |ion, no  <a..href
    00>                                      3d 22 68 74 74 70 73 3a  2f 2f 65 6e 2e 77 69 6b |="https: //en.wik
    00>                                      69 70 65 64 69 61 2e 6f  72 67 2f 77 69 6b 69 2f |ipedia.o rg/wiki/
    00>                                      48 54 54 50 5f 53 74 72  69 63 74 5f 54 72 61 6e |HTTP_Str ict_Tran
    00>                                      73 70 6f 72 74 5f 53 65  63 75 72 69 74 79 22 3e |sport_Se curity">
    00>                                      48 53 54 53 3c 2f 61 3e  2c 0a 09 6e 6f 20 48 54 |HSTS</a> ,..no HT
    00>                                      54 50 2f 32 2e 30 2c 20  6a 75 73 74 20 70 6c 61 |TP/2.0,  just pla
    00>                                      69 6e 20 6f 6c 64 20 75  6e 65 6e 63 72 79 70 74 |in old u nencrypt
    00>                                      65 64 20 48 54 54 50 20  61 6e 64 20 66 6f 72 65 |ed HTTP  and fore
    00>                                      76 65 72 20 73 74 75 63  6b 20 69 6e 20 74 68 65 |ver stuc k in the
    00>                                      20 64 61 72 6b 0a 09 61  67 65 73 20 6f 66 20 69 | dark..a ges of i
    00>                                      6e 74 65 72 6e 65 74 20  73 65 63 75 72 69 74 79 |nternet  security
    00>                                      2e 3c 2f 70 3e 20 0a 0a  09 3c 68 32 3e 57 68 79 |.</p> .. .<h2>Why
    00>                                      3f 3c 2f 68 32 3e 0a 09  3c 70 3e 4e 6f 72 6d 61 |?</h2>.. <p>Norma
    00>                                      6c 6c 79 2c 20 74 68 61  74 27 73 20 61 20 62 61 |lly, tha t's a ba
    00>                                      64 20 69 64 65 61 2e 20  59 6f 75 20 73 68 6f 75 |d idea.  You shou
    00>                                      6c 64 20 61 6c 77 61 79  73 20 75 73 65 20 53 53 |ld alway s use SS
    00>                                      4c 20 61 6e 64 20 73 65  63 75 72 65 0a 09 65 6e |L and se cure..en
    00>                                      63 72 79 70 74 69 6f 6e  20 77 68 65 6e 20 70 6f |cryption  when po
    00>                                      73 73 69 62 6c 65 2e 20  49 6e 20 66 61 63 74 2c |ssible.  In fact,
    00>                                      20 69 74 27 73 20 73 75  63 68 20 61 20 62 61 64 | it's su ch a bad
    00>                                      20 69 64 65 61 20 74 68  61 74 20 6d 6f 73 74 20 | idea th at most 
    00>                                      77 65 62 73 69 74 65 73  0a 09 61 72 65 20 6e 6f |websites ..are no
    00>                                      77 20 75 73 69 6e 67 20  68 74 74 70 73 20 62 79 |w using  https by
    00> [00:01:27.232,055] <dbg> slm_httpc.response_cb: Response data received (1024 bytes)
    00> [00:01:27.233,184] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 52 53 50 3a 37 31 34 |..#XHTTP CRSP:714
    00>                                      2c 31 0d 0a                                      |,1..             
    00> [00:01:27.322,540] <dbg> slm_at_host.TX
    00>                                      20 64 65 66 61 75 6c 74  2e 3c 2f 70 3e 0a 09 0a | default .</p>...
    00>                                      09 3c 70 3e 41 6e 64 20  74 68 61 74 27 73 20 67 |.<p>And  that's g
    00>                                      72 65 61 74 2c 20 62 75  74 20 69 74 20 61 6c 73 |reat, bu t it als
    00>                                      6f 20 6d 65 61 6e 73 20  74 68 61 74 20 69 66 20 |o means  that if 
    00>                                      79 6f 75 27 72 65 20 72  65 6c 79 69 6e 67 20 6f |you're r elying o
    00>                                      6e 0a 09 70 6f 6f 72 6c  79 2d 62 65 68 61 76 65 |n..poorl y-behave
    00>                                      64 20 77 69 66 69 20 6e  65 74 77 6f 72 6b 73 2c |d wifi n etworks,
    00>                                      20 69 74 20 63 61 6e 20  62 65 20 68 61 72 64 20 | it can  be hard 
    00>                                      74 6f 20 67 65 74 20 6f  6e 6c 69 6e 65 2e 20 20 |to get o nline.  
    00>                                      53 65 63 75 72 65 0a 09  62 72 6f 77 73 65 72 73 |Secure.. browsers
    00>                                      20 61 6e 64 20 77 65 62  73 69 74 65 73 20 75 73 | and web sites us
    00>                                      69 6e 67 20 68 74 74 70  73 20 6d 61 6b 65 20 69 |ing http s make i
    00>                                      74 20 69 6d 70 6f 73 73  69 62 6c 65 20 66 6f 72 |t imposs ible for
    00>                                      20 74 68 6f 73 65 20 77  69 66 69 0a 09 6e 65 74 | those w ifi..net
    00>                                      77 6f 72 6b 73 20 74 6f  20 73 65 6e 64 20 79 6f |works to  send yo
    00>                                      75 20 74 6f 20 61 20 6c  6f 67 69 6e 20 6f 72 20 |u to a l ogin or 
    00>                                      70 61 79 6d 65 6e 74 20  70 61 67 65 2e 20 42 61 |payment  page. Ba
    00>                                      73 69 63 61 6c 6c 79 2c  20 74 68 6f 73 65 20 6e |sically,  those n
    00>                                      65 74 77 6f 72 6b 73 0a  09 63 61 6e 27 74 20 74 |etworks. .can't t
    00>                                      61 70 20 69 6e 74 6f 20  79 6f 75 72 20 63 6f 6e |ap into  your con
    00>                                      6e 65 63 74 69 6f 6e 20  6a 75 73 74 20 6c 69 6b |nection  just lik
    00>                                      65 20 61 74 74 61 63 6b  65 72 73 20 63 61 6e 27 |e attack ers can'
    00>                                      74 2e 20 4d 6f 64 65 72  6e 20 62 72 6f 77 73 65 |t. Moder n browse
    00>                                      72 73 0a 09 61 72 65 20  73 6f 20 67 6f 6f 64 20 |rs..are  so good 
    00>                                      74 68 61 74 20 74 68 65  79 20 63 61 6e 20 72 65 |that the y can re
    00>                                      6d 65 6d 62 65 72 20 77  68 65 6e 20 61 20 77 65 |member w hen a we
    00>                                      62 73 69 74 65 20 73 75  70 70 6f 72 74 73 20 65 |bsite su pports e
    00>                                      6e 63 72 79 70 74 69 6f  6e 20 61 6e 64 0a 09 65 |ncryptio n and..e
    00>                                      76 65 6e 20 69 66 20 79  6f 75 20 74 79 70 65 20 |ven if y ou type 
    00>                                      69 6e 20 74 68 65 20 77  65 62 73 69 74 65 20 6e |in the w ebsite n
    00>                                      61 6d 65 2c 20 74 68 65  79 27 6c 6c 20 75 73 65 |ame, the y'll use
    00>                                      20 68 74 74 70 73 2e 3c  2f 70 3e 20 0a 0a 09 3c | https.< /p> ...<
    00>                                      70 3e 41 6e 64 20 69 66  20 74 68 65 20 6e 65 74 |p>And if  the net
    00>                                      77 6f 72 6b 20 6e 65 76  65 72 20 72 65 64 69 72 |work nev er redir
    00>                                      65 63 74 73 20 79 6f 75  20 74 6f 20 74 68 69 73 |ects you  to this
    00>                                      20 70 61 67 65 2c 20 77  65 6c 6c 20 61 73 20 79 | page, w ell as y
    00>                                      6f 75 20 63 61 6e 0a 09  73 65 65 2c 20 79 6f 75 |ou can.. see, you
    00>                                      27 72 65 20 6e 6f 74 20  6d 69 73 73 69 6e 67 20 |'re not  missing 
    00>                                      6d 75 63 68 2e 3c 2f 70  3e 0a 0a 09 3c 61 20 68 |much.</p >...<a h
    00>                                      72 65 66 3d 22 68 74 74  70 73 3a 2f 2f 74 77 69 |ref="htt ps://twi
    00>                                      74 74 65 72 2e 63 6f 6d  2f 6e 65 76 65 72 73 73 |tter.com /neverss
    00>                                      6c 22 3e 46 6f 6c 6c 6f  77 20 40 6e 65 76 65 72 |l">Follo w @never
    00>                                      73 73 6c 3c 2f 61 3e 0a  0a 09 3c 2f 64 69 76 3e |ssl</a>. ..</div>
    00>                                      0a 09 3c 2f 64 69 76 3e  0a 09 3c 2f 62 6f 64 79 |..</div> ..</body
    00>                                      3e 0a 3c 2f 68 74 6d 6c  3e 0a                   |>.</html >.      
    00> [00:01:27.390,716] <dbg> slm_at_host.TX
    00>                                      0d 0a 23 58 48 54 54 50  43 52 53 50 3a 30 2c 31 |..#XHTTP CRSP:0,1
    00>                                      0d 0a                                            |..               
    00> [00:01:27.453,765] <dbg> slm_httpc.response_cb: Response data received (714 bytes)
    00> [00:01:27.454,498] <inf> slm_httpc: HTTP thread terminated

    Best regards,

    Charlie

Related