开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Mini-Webserver


 

Hopefully this message doesn't show up twice. My first one didn't seem to get through.

I'm trying to get the mini-webserver functionality to work, but have been unsuccessful.

I first tried accessing from the default port of 8008, and then assigned a different port and tried that one. I had no luck in either case.

Is there something that I'm overlooking to make this work? ?I did some small amount of research, but didn't find anything.

I'm running YAAC 1.0-beta 143 on a Raspberry Pi 2B with a Raspbian Buster build.

Greg
WB6ZSU


 

开云体育

The problem here is that you are running YAAC in -nogui mode. The mini-webserver in YAAC depends on the graphics libraries to render the map image, so it won't work in headless mode.

For your setup, I recommend using vncserver to remotely access YAAC running in graphical mode.

Andrew, KA2DDO
author of YAAC


Sent from my Verizon 4G LTE smartphone


-------- Original message --------
From: Greg WB6ZSU <gregn1@...>
Date: 12/26/19 16:07 (GMT-05:00)
To: [email protected]
Subject: [yaac-users] Mini-Webserver

I have recently switched over to using YAAC for my two-way IGate. I am trying to run it headless, and therefore I would like to be able to remotely access it from another computer on the same subnet. ?I have thus far been unable to make the mini-webserver work. ?I've tried using the default port of 8008 and also a different port, but with no luck. Is something else required to make this feature work? ?I've done some minimal amount of research, but haven't found anything.

I am running YAAC 1.0-beta 143 on a RPI 2B with Raspbian Buster.

Thanks,
Greg
WB6ZSU


 

Andrew,

I actually am running in the GUI mode. I'm using the full desktop version of Buster which has the GUI. ?I was thinking about it a little more, and wondered if it has something to do with the Java version. ?Buster comes preloaded with Java build 11.0.5+10-post-Raspbian-ldeb10ul. Any reason to believe there's an issue with this?


 

开云体育

That's odd. Do you have the mini-webserver enabled? Go to File->Configure->Expert Mode and see what port number is specified for the mini-webserver. There might be a port conflict, depending on what other applications are running on your Pi.

Try restarting YAAC from a command prompt and look at the startup messages to see if any exception happened (such as a SocketException indicating the webserver listening port couldn't be opened).



Sent from my Verizon 4G LTE smartphone


-------- Original message --------
From: Greg WB6ZSU <gregn1@...>
Date: 12/27/19 11:28 (GMT-05:00)
To: [email protected]
Subject: Re: [yaac-users] Mini-Webserver

Andrew,

I actually am running in the GUI mode. I'm using the full desktop version of Buster which has the GUI. ?I was thinking about it a little more, and wondered if it has something to do with the Java version. ?Buster comes preloaded with Java build 11.0.5+10-post-Raspbian-ldeb10ul. Any reason to believe there's an issue with this?


 

I’ll do the restart when I get home this afternoon, but I have looked at the log in the past and didn’t see any clues.

I originally tried with the default port of 8008, but after that didn’t work, I tried another port. ?Still no luck. ?I’ve also tried 127.0.0.1 on the local machine, and that also doesn’t work.


 

Andrew...

I did a restart and didn't see anything in the startup messages or the syslog related to an exception. I really don't see any errors. It's just as if the web server isn't being enabled.


 

I'm not able to access the mini webserver either (Debian 10). I haven't
tried in 1-2+ years, so I couldn't say when it became an issue on my system.

Via 'netstat -tea' I see that tcp6 under port 8008 is set to LISTEN
under my local (non-root) account, but I'm unable to access it. Some
sort of permissions issue when running the server under an ordinary user?

I have http (80) and https (443) running on that PC, but nothing on 8008.

73, KD0KZE / Paul

On 12/27/2019 7:51 PM, Greg WB6ZSU wrote:
Andrew...

I did a restart and didn't see anything in the startup messages or the
syslog related to an exception. I really don't see any errors. It's just
as if the web server isn't being enabled.


 

No, it's a code bug. YAAC is receiving the query from your browser, but the min-webserver thread is hanging instead of sending the reply.

I have the fix for the next build. I hope to put the next build out this weekend, once I finish testing other bugfixes.

Andrew, KA2DDO
author of YAAC

________________________________________
From: [email protected] <[email protected]> on behalf of Paul Bramscher <pfbram@...>
Sent: Thursday, January 2, 2020 7:39 PM
To: [email protected]
Subject: Re: [yaac-users] Mini-Webserver

I'm not able to access the mini webserver either (Debian 10). I haven't
tried in 1-2+ years, so I couldn't say when it became an issue on my system.

Via 'netstat -tea' I see that tcp6 under port 8008 is set to LISTEN
under my local (non-root) account, but I'm unable to access it. Some
sort of permissions issue when running the server under an ordinary user?

I have http (80) and https (443) running on that PC, but nothing on 8008.

73, KD0KZE / Paul

On 12/27/2019 7:51 PM, Greg WB6ZSU wrote:
Andrew...

I did a restart and didn't see anything in the startup messages or the
syslog related to an exception. I really don't see any errors. It's just
as if the web server isn't being enabled.