atauenis / webone

HTTP 1.x proxy that makes old web browsers usable again in the Web 2.0 world.
Other
518 stars 18 forks source link

0.15.2 exception at start under TinyCore #87

Closed Aminuxer closed 1 year ago

Aminuxer commented 1 year ago

// non-critical, need small fix

When start 0.15.2 under tinycore linux this message appears:

Unhadled Exception. System.InvalidOperationException:
Cannot read keys when either application does not have a console or when console input has been redirected.
Try Console.Read.
   at System.ConsolePal.ReadKey(Boolean intercept)
   at System.ConsolePal.ReadKey()
   at WebOne.Program.GetConfigurationFileName()
   at WebOne.Program.Main(Srting[] args)

This message appear after upgrade 0.15.1 to 0.15.2 under this VM with Linux TinyCore: https://rutracker.org/forum/viewtopic.php?t=6258575

WebOne starting inside screen with loop-script.

Proxy server after this starting and listen 8080 tcp-port correctly, webone worked correctly.

atauenis commented 1 year ago

Before this error (seems, it appear over STDERR) there should be a more detailed error in STDOUT, starting with ERROR: Custom configuration file is not found:. But I can't find if STDOUT have logged anywhere. That message does not writes to /var/log/webone.log, as generated before log is initialized.

By manual running webone in console, any error messages don't appear (normal work). /opt/webone_loop.sh also don't produce errors.

atauenis commented 1 year ago

Seems that fix is working, so v0.15.3 don't crashing.

Aminuxer commented 1 year ago

Yes, 0.15.3 work correctly under linux tinycore