• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] netPI stops working (502 - Bad Gateway)
#1
Hey everyone,

I was facing the problem many times now, that my netPis stoped working. When I tried to reach the edge-gateway-manager than, the Error "502 - Bad Gateway" was shown. I've been using software version 1.1.4/1.1.5/1.1.6

It happened to me, when I ran a mariadb-database-server on the netPi and other containers tried to read/write data from/to it. (I know the database-sd-card-issue with 3000 w/e cycles). How can it happen, that the nginX-Server does not respond anymore? The "act"-LED keeps flashing, though.

I've attached the syslog from right before the freeze and right after it.

Best Regards,
Andi


Attached Files
.txt   syslog.txt (Size: 105.84 KB / Downloads: 0)
  Reply
#2
Hello Andi,

you already stated using a database on netPI could get critical caused by the limited read/write cycles. In Revision #2 (matrix code of netPI states a number in the lower right corner, this is a revision number) of netPI hardware we solved that problem that the SD card is no longer sealed and can be replaced by any other SD card of your choice. For example an SD card of type SLC with read/write 100.000w/e cycles per block which is 33 times more compared to the current preinstalled one or an SD card of bigger size of up to 128GByte for example which multiplies the endurance again to a nearly "undestroyable" value and a quality usually SSD drives are reaching. An issue we have seen with #REV1 SD cards that writing to a single file continously with small data packages smaller than 4kByte could crash the Linux system. Since you are using a database I could imagine this is the root cause of your problem. So I recommend to upgrade to revision #2 of netPI. 
Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Hey Armin,

I've got two netPi's of Revision 2 here, the new micro-sd-cars for them will arrive this week. I will be back to you, when I've tested them.

Thanks,
Andi
  Reply
#4
The new netPis of Revision 2 did not show this Problem anymore. Thanks for your help!

BR,
Andi
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Hdmi not working s.stucchi 13 6,012 February-28th-2022, 09:24 AM
Last Post: Armin@netPI
  [SOLVED]DHCP server not working m-yoshikawa 24 13,613 June-11th-2021, 07:04 AM
Last Post: tad
  Profinet stopped working (spidev spi0.0: SPI transfer timed out) Schranz 7 5,014 November-2nd-2020, 04:20 PM
Last Post: Armin@netPI
  Fieldbus Ports not working Schoko 13 8,522 June-29th-2020, 09:43 PM
Last Post: Armin@netPI
  Node-Red "http in"-Node not working DWxPro 8 7,491 June-19th-2020, 01:12 AM
Last Post: DWxPro
  Node Red stop working DSongra 1 2,921 February-12th-2020, 08:19 AM
Last Post: Armin@netPI
  [SOLVED] netPI with Raspbian Desktop firefly 8 5,654 November-28th-2019, 06:01 PM
Last Post: Armin@netPI
  [SOLVED] Help with fieldbus node Farani 5 3,873 August-20th-2019, 07:22 AM
Last Post: Armin@netPI
  Default Gateway does not work lunz1 16 8,709 August-15th-2019, 02:01 PM
Last Post: Armin@netPI
  [SOLVED] How to update firmware philippbruhin.ch 12 9,078 July-16th-2019, 11:20 AM
Last Post: patrick

Forum Jump:


Users browsing this thread: 1 Guest(s)