jwtproxy icon indicating copy to clipboard operation
jwtproxy copied to clipboard

Clean up socket on shutdown

Open ecordell opened this issue 9 years ago • 1 comments

Right now if jwtproxy shuts itself down (because it can't publish a key, for example), it leaves the socket it was listening on behind, which causes an error when it restarts later. (Right now I'm manually cleaning it up in the init file)

Also I noticed that we're calling close on the file descriptor rather then on the "socket" object (which does a tiny bit of additional cleanup)

ecordell avatar Apr 23 '16 01:04 ecordell

Since this issue exits for long time, hope it will be fixed soon. time="2020-02-29T10:01:52Z" level=error msg="Failed to start reverse proxy: listen unix /tmp/jwtproxy_secscan.sock: bind: address already in use"

zhangchl007 avatar Feb 29 '20 10:02 zhangchl007