STM32F103 + W5500 running a Webserver will freeze after some time?!
im running a small webserver on the STM32F103STM32F103Microcontrollers and processors…19.html . ag123 Sat Apr 28, 2018 5:54 pm come to think of it blue pill / maple mini ( stm32f103 ) is an *ideal* keyboard controller, the scanning can be done with assistance of sh…View in hardware catalog with an attached W5500W5500Communications, navigation, interfaces and RFID… extra time library – I2C (Wire) viewtopic.php?f=39&t=2804&p=37376#p37376 – supports W5500 -based Ethernet modules (see viewtopic.php?f=13&t=503&p=32063#p32063) – DAC, see viewtop…View in hardware catalog . The Service is requesting values vomr an array and returning it as a json result. But unfortunatly after some time (maybe an hour), the webserver does not respond anymore. I was using Firefox.
Some Tests i did already:
– the system was running over night without any requests. but after a few requests in the morning, it stopped again.
– i changed the W5500W5500Communications, navigation, interfaces and RFID… extra time library – I2C (Wire) viewtopic.php?f=39&t=2804&p=37376#p37376 – supports W5500 -based Ethernet modules (see viewtopic.php?f=13&t=503&p=32063#p32063) – DAC, see viewtop…View in hardware catalog to a diffrent one
– until it stopped, im running a request every second.
Update:
– Tested with Microsoft Edge => Same Problem
– Set Firefox http.max-connection and websockets.max-connection both to 4 in FF. Now running test. Update: I was running the test for more than 3h. And all was fine ![]()
So it has somethign to do with requests. Its running hundreds of request, but than it suddenly stopped. Maybe i did something wring in the code – i dont know. Help wld be vy appreciated.
Thanks for looking into it and a great easter time,
Mike.
