babashka / pods

Pods support for JVM and babashka
Eclipse Public License 1.0
123 stars 12 forks source link

Fix (benign) socket closed error message #49

Closed borkdude closed 2 years ago

borkdude commented 2 years ago

With this repo, when you repeatedly execute bb bar, then you see a socket closed exception being printed, which is probably benign, but we should fix this.

https://github.com/sheluchin/bb-spire-pod-repro

cc @lispyclouds @cap10morgan

lispyclouds commented 2 years ago

What's a recommended fix? A more graceful failure message?

borkdude commented 2 years ago

@lispyclouds Before fixing we should first diagnose the problem, but I expect that we try to read from a closed socket, perhaps after the pod has already been shut down.