cli icon indicating copy to clipboard operation
cli copied to clipboard

Unclear error message when custom hostname is already in use

Open knrdl opened this issue 3 years ago • 1 comments

root@0894bd42a72c:/go/cli# ./loophole  http 3000 --hostname test
Loophole - End to end TLS encrypted TCP communication between you and your clients

Registering your domain... Error! Request Error (500): Internal server error - Something unexpected happened, please let developers know
8:19PM ERR Request ended with status code 500
8:19PM ERR Internal server error
8:19PM ERR Details: Something unexpected happened, please let developers know
8:19PM ERR Please fix the above issue and try again
8:19PM FTL Request Error (500): Internal server error - Something unexpected happened, please let developers know

knrdl avatar May 27 '22 20:05 knrdl

Hello,

thank you for your interest in loophole. I'm thankful for all error reports! It helps us improve the product.

About the issue, we are aware of it. We recently switched to new API and currently the client is not yet rewritten to use it. So instead it still hits the old API and the old API serves as a proxy to new one and the new errors are returned. The new responses are not known by the client so it displays that Something unexpected happen.

I have a draft of client rewrite ready, last touches are needed, but recently I had no time to work for loophole that much.

I will leave this issue open until new client is released.

Morishiri avatar May 28 '22 10:05 Morishiri