[SOLVED] Nginx “Bad Gateway” error

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Raphael
Messages: 9
Registered: July 26, 2016 - 12:28

January 6, 2020 - 11:42

Hello and best wishes.

I'm currently testing Wapt on a Hyper-V VM.
The installation went smoothly, and the workstations are reporting correctly.
However, after a while, the connection to the server is intermittent, failing to connect
via either the console or the web interface.
Access to the repository is fine.
If I restart the virtual machine, it works again.
I've attached screenshots.

Could this be due to insufficient RAM? (My test machine has only 6GB, with 2GB allocated for the VM.)

Thank you in advance.
Raphaël Larronde.

Wapt server 1.7.4 Debian in a Hyper-V VM running Windows Server 2012 R2.
WaptConsole running Windows 10.
Attachments
wapt1.png
wapt1.png (35.53 KB) Viewed 3872 times
wapt2.png
wapt2.png (214.93 KB) Viewed 3872 times
wapt3.png
wapt3.png (78.46 KB) Viewed 3872 times
Raphaël Larronde,
Saint Joseph High School
, 64240 Hasparren
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 6, 2020 - 2:33 PM

Hi Raphael,

2GB should be enough for a normal Linux installation. However, with Windows Server 2012 R2 running Windows Update, I'm not sure it will be sufficient, and the OOMkiller might start using a lot of resources. Is there any information in the Event Viewer?

How many user workstations are on the network? If the agent deployment is rapid and all agents try to register and upload their inventory simultaneously, that could also increase RAM consumption.

Best regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Raphael
Messages: 9
Registered: July 26, 2016 - 12:28

January 6, 2020 - 4:27 PM

No, nothing unusual in the observer.
My tests were conducted during the holidays, with virtually no access.
Since this morning, and despite everyone returning to work and numerous connections, it's working.
160 jobs were reported today (I emptied the database on the server).

I'm going to increase the server's RAM anyway; I'll keep you posted.
Thanks for everything
Attachments
wapt4.jpg
wapt4.jpg (201.03 KB) Viewed 3861 times
Raphaël Larronde,
Saint Joseph High School
, 64240 Hasparren
Raphael
Messages: 9
Registered: July 26, 2016 - 12:28

January 13, 2020 - 4:44 PM

Hello.
I can confirm the RAM is insufficient: 4GB is needed in my case.
Have a good day.
Raphaël Larronde,
Saint Joseph High School
, 64240 Hasparren
Locked