Closed gtxaspec closed 1 year ago
Hello @gtxaspec I am not familiar with ngenx and the other tools that you are using. That being said HTTP error 500 indicates that there is an error on the server side. Is there a log that you get additional details from ngenx?
for anyone else wanting to attempt this:
Install mono & nginx (example from https://www.mono-project.com/download/stable/#download-lin)
sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-complete mono-xsp4 mono-fastcgi-server4 nginx
configure nginx with ssl
follow the directions at: https://www.mono-project.com/docs/web/fastcgi/nginx/
git clone https://github.com/vbguyny/ws4kp
, place the folderws4kp
at /var/www/html/ws4kp
run fastcgi-mono-server4 /applications=/:/var/www/html /socket=tcp:127.0.0.1:9000 /verbose=True /printlog /loglevels=All /multiplex &
load http://localhost/ws4kp/index.html in your browser
@gtxaspec I don't see anything in the log. Without the error details I can only speculate to what is the issue. I found this on the web: https://ubiq.co/tech-blog/fix-500-internal-server-error-nginx/
Also did you happen to update the code in the switch block for cors/default.aspx accordingly as indicated here: https://github.com/vbguyny/ws4kp#setup
@vbguyny thanks, i will keep digging. I did update the code for the hosts in the switch block. If I may ask, is there a way in the code to easily disable the non working categories?
thanks!
@gtxaspec I know that it's possible. Check out this fork of this project that optionally let's you pick which categories you want: https://github.com/netbymatt/ws4kp#weatherstar-4000
@gtxaspec Thank you for sharing the information, I was successful in running and installing it on Ubuntu 21.04. Very cool, it's like being back in the 90s.
I can confirm that the two categories you listed as non functional, are sadly not working.
@vbguyny I found your project from nedbymatt's repository. Their project is missing some information that this one has.
I hope someone can figure out what is causing missing categories from loading!
@mikeD1970 right, both projects are great it's peculiar that only those two categories don't load. I'll keep digging.
So I wasn't able to get this running properly under mono, but I found that @samhza was able to make some modifications to run it using golang. I have tested this and it works under linux and golang 1.19.2
Awesome!!!
Hello, I actually made the fork after seeing this issue. I figured it'd be easier to have a more portable alternative to the C# bits than to run the C# on Linux. I'm glad to see you stumbled upon it. My fork doesn't remove/modify any of the existing JS/C#, just adds a Go alternative to the C# stuff. I added some build instructions to the readme. It works on macOS/Windows as well. Thanks!
Hello,
I know running on linux is not officially supported, but so far I have found some success using nginx + fastcgi-mono-server4.
All categories load, except for "Regional Forecast" and "Regional Observations", they are stuck on loading:
Could this be a CORS issue? Any advice would be appreciated. Hopefully I can get this working so others may enjoy this great project on linux as well.
here is the console log (chrome):