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

Connection closed #90

Open
floitsch opened this issue Apr 15, 2023 · 0 comments
Open

Connection closed #90

floitsch opened this issue Apr 15, 2023 · 0 comments

Comments

@floitsch
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant