Hello,
I have a lab network set up for my vintage computers, and WebOne running on server with 2x NICs, one in the lab network and one in the "real" network (where it can reach the outside world). Using Firefox and IE, accessing the inode.com homepage is fine, as are some of the sites within Protoweb, but many give the following error from WebOne:
500 InternalServerError
Guru meditaion at URL http://google.com/:
The response ended prematurely, with at least 89 additional bytes expected.
at System.Net.Http.HttpConnection.ContentLengthReadStream.Read(Span`1 buffer)
at System.Net.Http.HttpBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
at System.IO.Stream.CopyTo(Stream destination)
at WebOne.Program.ReadAllBytes(Stream stream)
at WebOne.HttpTransit.MakeOutput(HttpOperation Operation)
at WebOne.HttpTransit.SendRequest(HttpOperation HTTPO)
at WebOne.HttpTransit.ProcessTransit()WebOne Proxy Server 0.17.5
on Microsoft Windows 10.0.26100
500 InternalServerError
Guru meditaion at URL http://www.weather.com/:
The response ended prematurely, with at least 89 additional bytes expected.
at System.Net.Http.HttpConnection.ContentLengthReadStream.Read(Span`1 buffer)
at System.Net.Http.HttpBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
at System.IO.Stream.CopyTo(Stream destination)
at WebOne.Program.ReadAllBytes(Stream stream)
at WebOne.HttpTransit.MakeOutput(HttpOperation Operation)
at WebOne.HttpTransit.SendRequest(HttpOperation HTTPO)
at WebOne.HttpTransit.ProcessTransit()WebOne Proxy Server 0.17.5
on Microsoft Windows 10.0.26100
I am not sure where this issue stems from (is it a protoweb issue or Webone). Please can this be assessed and fixed?
Full webone.conf contents are as follows, in case it is a config issue.
; WebOne Configuration File
; Its format is like INI, but also can contain raw lists inside some sections.
; For binary options use: 1/0, y/n, yes/no, on/off, enable/disable, true/false.
; Help and documentation: https://github.com/atauenis/webone/wiki/Configuration-file
[Server]
; Server settings
; Port=Port to listen for incoming connections
; DefaultHostName=Proxy's host name (set to valid IP or domain name for use with/on Linux or macOS)
; Authenticate=Set if the proxy needs to be protected by "login:password" or leave blank
; OutputEncoding=Codepage for patched output content (list of available: http://localhost/!codepages/)
; UseMsHttpApi=Enable if you have problems with communicating with the proxy (but will disable SSL&FTP)
; HideClientErrors=Hide client connection error messages in log (for Netscape 3 PNG rejections)
; SearchInArchive=Enable searching for unavailable pages (Server Not Found or 404) in archive.org
; HideArchiveRedirect=Display archived pages just as they are still live
; ArchiveUrlSuffix=May be "fw_" to hide archive.org toolbar or "id_" to keep original links
; ShortenArchiveErrors=Enable shortening of 404s on web.archive.org to get off large scipts and images
; ArchiveDateLimit=Upper limit of date for web.archive.org archived pages
; SecurityProtocols=Forcely set SSL/TLS protocols that can be used for retrieving web content
; ValidateCertificates=Break network operations when the remote TLS certificate is bad
; MultipleHttp2Connections=Allow multiple HTTP/2 connections to servers
; RemoteHttpVersion=Version of HTTP(S) protocol, used to communicate with servers (min/max/exact)
; UpperProxy=Another proxy server, used by WebOne to connect to Internet (optional)
; UserAgent=Override user-agent string to fetch uncut content
; AllowHttpCompression=Uncomment & disable to fix work of WSUS or LegacyUpdate (but proxy will slow)
; TemporaryDirectory=Directory which should be used for temporary files (%TEMP%, $TEMP or any other)
; LogFile=Path to server log file. To use a log file without erasing, use AppendLogFile instead
; DisplayStatusPage=Set status page display style (no, short, full)
Port=8080
DefaultHostName=host.vintage.net
;Authenticate=login:password
OutputEncoding=AsIs
;OutputEncoding=Windows
;OutputEncoding=DOS
;OutputEncoding=Apple
;UseMsHttpApi=yes
HideClientErrors=yes
SearchInArchive=no
HideArchiveRedirect=yes
ArchiveUrlSuffix=fw_
ShortenArchiveErrors=yes
;ArchiveDateLimit=20070101
;SecurityProtocols=4032
ValidateCertificates=yes
MultipleHttp2Connections=yes
;RemoteHttpVersion=>1.1
UpperProxy=wayback.protoweb.org:7851
;UpperProxy=yes
;UserAgent=%Original% WebOne/%WOVer%
UserAgent=Mozilla/4.75 [en] (Windows NT 5.0; U)
;AllowHttpCompression=yes
TemporaryDirectory=%TEMP%
LogFile=%SYSLOGDIR%/webone_protoweb.log
AppendLogFile=%SYSLOGDIR%/webone_protoweb.log
DisplayStatusPage=full
[SecureProxy]
; HTTPS proxy options
; SslEnable=Enable Secure proxy mode
; SslCertificate=Path to CA Certificate file (PEM)
; SslPrivateKey=Path to CA Certificate Private Key file (PEM)
; SslProtocols=Versions of SSL/TLS used to communicate with clients (System.Security.Authentication.SslProtocols)
; SslRootValidAfter, SslRootValidBefore=Begin and end of life period of CA Certificate
; SslCertVaildBeforeNow, SslCertVaildAfterNow=Begin and end of life period of site certificates (relative to today)
; SslHashAlgorithm=Hashing algorithm for certificates (MD5, SHA1 is ok for old browsers; SHA256 for modern)
; SslSiteCerts=Path to site certificate files (if use external generator)
; SslSiteCertGenerator=External utility which will generate site certificates and private keys
; AllowNonHttpsCONNECT=Allow use HTTPS proxy tunnel (CONNECT method) with non-HTTPS protocols
SslEnable=yes
SslCertificate=%WOConfigDir%/ssl.crt
SslPrivateKey=%WOConfigDir%/ssl.key
SslProtocols=4092
; 4092 = Ssl2=12 | Ssl3=48 | Tls=192 | Tls11=768 | Tls12=3072
SslRootValidAfter=1970-01-01 00:00:00+0
SslRootValidBefore=2070-12-31 23:59:00+0
SslCertVaildBeforeNow=-7
SslCertVaildAfterNow=7
SslHashAlgorithm=SHA1
;SslSiteCerts=/var/webone/ssl/%Subject%
;SslSiteCertGenerator=openssl --do --some-magic /var/webone/ssl/%Subject%
AllowNonHttpsCONNECT=true
[ForceHttps]
; list of domains that should be always accessed via HTTPS
phantom.sannata.org
www.phantom.sannata.org
login.vk.com
m.vk.com
vk.com
webdav
webdav.yandex.ru
web.archive.org
googlevideo.com
commondatastorage.googleapis.com
u.icq.net
rutracker.org
www.vogons.org
[ForceUtf8]
; list of URLs that should be always downloaded as UTF-8
^http://.*yandex.ru/
[TextTypes]
; list of MIME type mask that means files which should be patched during transfer
text/
javascript
json
cdf
x-netcdf
x-cdf
xml
[Converters]
; Whitelist of known local format converters
convert %SRC% %ARG1% %DESTEXT%:- %ARG2%
magick %SRC% %ARG1% %DEST% %ARG2%
ffmpeg -i pipe: %ARG1% pipe:
; Save a dump of HTTP traffic
; Use only for debug purposes!
; uncomment section below to enable traffic sniffing
;[Edit]
;AddDumping=dump-%Url%.log
[Include:%WOConfigDir%/*.conf]
Hello,
I have a lab network set up for my vintage computers, and WebOne running on server with 2x NICs, one in the lab network and one in the "real" network (where it can reach the outside world). Using Firefox and IE, accessing the inode.com homepage is fine, as are some of the sites within Protoweb, but many give the following error from WebOne:
I am not sure where this issue stems from (is it a protoweb issue or Webone). Please can this be assessed and fixed?
Full webone.conf contents are as follows, in case it is a config issue.