ConvertX icon indicating copy to clipboard operation
ConvertX copied to clipboard

[Improvement] On HTTP connection, make it clear ConvertX won't work without the proper environment variable set.

Open nicktheone opened this issue 1 year ago • 2 comments

Finally got around to setting up ConvertX and I had to bash my had for a few minutes on why it would start, allow me to register an account and even select my file to convert and the desired output format but when it came to actually converting the UI wouldn't let me click on the "Convert" button. It finally dawned on me that maybe it was because I'm using HTTP only on my local network and I had not set the appropriate variable when writing my compose file.

I think it'd be beneficial to either completely block any HTTP connection (with a clear error message) in case the appropriate environment variable isn't set HTTP_ALLOWED=true or, at least, make it clear that despite being able to access the web UI you won't be converting anything and that's why the button was useless.

nicktheone avatar Jan 04 '25 17:01 nicktheone

Yes definitely almost all bugs reported for this project is people forgetting to set HTTP_ALLOWED=true. I even made the mistake myself a week ago

C4illin avatar Jan 07 '25 09:01 C4illin

Holy moly... yes, I just came here to say "cannot log in after user creation was successful", HTTP_ALLOWED was the reason. This should be a big fat warning both on DOC and App I guess (something like "detect current protocol, if not SSL, put a info on the screen or so)

Thanks, trying out the app now :)

smileBeda avatar Feb 24 '25 19:02 smileBeda