[Geoserver-users] Geoserver Binary or Src in air gapped Env

I am trying to get Geoserver running on a Stand Alone/Air gapped machine (no internet access) and hoping I can be provided some pointers.

I have a Virtual Machine with Internet access and have confirmed on RHEL 8 GeoServer Binary will run just fine. But as soon as I put it on a Stand Alone machine it starts but I get a 504 error just trying to get to http://localhost:8080/geoserver.

I have tried looking through the start.ini, the xml files, everywhere I can think off. But I am missing something. The error basically says jetty has not started. And I have tried to unzip start.jar to see what might be in there. However, I just can not find what is requiring the Internet or the answer from the internet to actually start. If someone could point me in the direction to strip out the Internet requirement I would appreciate it.

Thank you for any assistance,
Brian Broking

Op 07-09-2021 om 16:30 schreef Broking, Brian R:

I am trying to get Geoserver running on a Stand Alone/Air gapped machine (no internet access) and hoping I can be provided some pointers.

I have a Virtual Machine with Internet access and have confirmed on RHEL 8 GeoServer Binary will run just fine. But as soon as I put it on a Stand Alone machine it starts but I get a 504 error just trying to get to http://localhost:8080/geoserver.

I have tried looking through the start.ini, the xml files, everywhere I can think off. But I am missing something. The error basically says jetty has not started. And I have tried to unzip start.jar to see what might be in there. However, I just can not find what is requiring the Internet or the answer from the internet to actually start. If someone could point me in the direction to strip out the Internet requirement I would appreciate it.

does networking work at all? if the machine is disconnected it might drop (part of) tcp/ip networking and jetty would fail to bind to 0.0.0.0:8080. perhaps you can get jetty to bind to a loopback address only like 127.0.0.1:8080.

Note I could be way off; it's been a long time since I've seen disconnected machines.

also using eg. curl with high verbosity may give better diagnostic info than a browser

-M

Hello Brian,

In addition to the suggestions from Mark earlier, I have another.

On the stand-alone machine you are running GeoServer in a RHEL-VM.

Are you trying to connect to localhost from within the VM?

In that case I think Mark’s comments are very much to the point.

Are you trying to comment from the host-machine to the geoserver inside the VM?

Then maybe you need to configure the VM to connect to (bridge) to a address/port of the host-machine. Without that your VM is, in essence, air-gapped, even though it is present on the same physical machine.

Kind regards,

···

Jan Tjalling van der Wal

Jan_Tjalling.vanderWal@anonymised.com10991…

Tel. +31 (0)317-4 87147 #

GSM +31(0)626120915 (privé) #

Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00

From: Broking, Brian R brb10@anonymised.com
Sent: 07 September 2021 16:31
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Geoserver Binary or Src in air gapped Env

I am trying to get Geoserver running on a Stand Alone/Air gapped machine (no internet access) and hoping I can be provided some pointers.

I have a Virtual Machine with Internet access and have confirmed on RHEL 8 GeoServer Binary will run just fine. But as soon as I put it on a Stand Alone machine it starts but I get a 504 error just trying to get to http://localhost:8080/geoserver.

I have tried looking through the start.ini, the xml files, everywhere I can think off. But I am missing something. The error basically says jetty has not started. And I have tried to unzip start.jar to see what might be in there. However, I just can not find what is requiring the Internet or the answer from the internet to actually start. If someone could point me in the direction to strip out the Internet requirement I would appreciate it.

Thank you for any assistance,

Brian Broking

Thanks both for the replies.

http://127.0.0.1:8080 fails just like http://localhost:8080

Jan Tjalling sorry if I confused things. The Stand Alone is a physical computer.
I created a clone of it as a VM on my desktop for testing purposes.

Brian

···

From: Wal, Jan Tjalling van der jan_tjalling.vanderwal@anonymised.com
Sent: Tuesday, September 7, 2021 11:58
To: Broking, Brian R brb10@anonymised.com
Cc: geoserver-users@lists.sourceforge.net geoserver-users@anonymised.comsourceforge.net
Subject: RE: Geoserver Binary or Src in air gapped Env

Hello Brian,

In addition to the suggestions from Mark earlier, I have another.

On the stand-alone machine you are running GeoServer in a RHEL-VM.

Are you trying to connect to localhost from within the VM?

In that case I think Mark’s comments are very much to the point.

Are you trying to comment from the host-machine to the geoserver inside the VM?

Then maybe you need to configure the VM to connect to (bridge) to a address/port of the host-machine. Without that your VM is, in essence, air-gapped, even though it is present on the same physical machine.

Kind regards,

Jan Tjalling van der Wal

Jan_Tjalling.vanderWal@anonymised.com

Tel. +31 (0)317-4 87147 #

GSM +31(0)626120915 (privé) #

Ma+Di 09:00-18:00, Wo XX, Do+Vr 09:00-18:00

From: Broking, Brian R brb10@anonymised.com
Sent: 07 September 2021 16:31
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Geoserver Binary or Src in air gapped Env

I am trying to get Geoserver running on a Stand Alone/Air gapped machine (no internet access) and hoping I can be provided some pointers.

I have a Virtual Machine with Internet access and have confirmed on RHEL 8 GeoServer Binary will run just fine. But as soon as I put it on a Stand Alone machine it starts but I get a 504 error just trying to get to http://localhost:8080/geoserver.

I have tried looking through the start.ini, the xml files, everywhere I can think off. But I am missing something. The error basically says jetty has not started. And I have tried to unzip start.jar to see what might be in there. However, I just can not find what is requiring the Internet or the answer from the internet to actually start. If someone could point me in the direction to strip out the Internet requirement I would appreciate it.

Thank you for any assistance,

Brian Broking