Skip to content

Connection closed #90

Description

@floitsch

Got the following error on a log-running program that sporadically uses the http connection:

******************************************************************************
Decoding by `jag`, device has version <2.0.0-alpha.74>
******************************************************************************
EXCEPTION error. 
Connection closed
  0: tcp_set_option_           <sdk>/net/modules/tcp.toit:214:3
  1: TcpSocket_.set_option_    <sdk>/net/modules/tcp.toit:89:12
  2: TcpSocket.no_delay=       <sdk>/net/modules/tcp.toit:137:33
  3: Socket.no_delay=          <sdk>/tls/socket.toit:121:22
  4: Connection.send_headers   <pkg:pkg-http>/connection.toit:117:22
  5: RequestOutgoing.send      <pkg:pkg-http>/request.toit:48:32
  6: Client.post_.<block>.<block> <pkg:pkg-http>/client.toit:463:28
  7: Client.try_to_reuse_.<block> <pkg:pkg-http>/client.toit:642:7
  8: catch.<block>             <sdk>/core/exceptions.toit:124:10
  9: catch                     <sdk>/core/exceptions.toit:122:1
 10: catch                     <sdk>/core/exceptions.toit:85:10
 11: Client.try_to_reuse_      <pkg:pkg-http>/client.toit:641:5
 12: Client.post_.<block>      <pkg:pkg-http>/client.toit:460:7
 13: SmallInteger_.repeat      <sdk>/core/numbers.toit:1194:3
 14: Client.post_              <pkg:pkg-http>/client.toit:458:19
 15: Client.post_json          <pkg:pkg-http>/client.toit:523:12
 16: Client.request_           <pkg:toit-supabase>/supabase.toit:270:33
 17: Client.request_           <pkg:toit-supabase>/supabase.toit:301:17
 18: PostgRest.insert          <pkg:toit-supabase>/supabase.toit:453:25
 19: main.<block>.<lambda>.<block> main.toit:116:23
 20: Mutex.do.<block>          <sdk>/monitor.toit:28:27
 21: __Monitor__.locked_.<block> <sdk>/core/monitor_impl_.toit:123:12
 22: __Monitor__.locked_       <sdk>/core/monitor_impl_.toit:95:3
 23: Mutex.do                  <sdk>/monitor.toit:28:3
 24: main.<block>.<lambda>     main.toit:115:15
 25: main.<block>.<lambda>     main.toit:129:17

Probably related to #89

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions