Async elegant ota over ethernet shield

Hi community… I am working on platformio and esp32…
I am using this library for doing ota updates via wifi…

I would like to know if there is an example about how to use this lib with an etherney shield in stead of the wifi…

i made this code

#include <Arduino.h>
#include <SPI.h>
#include <Ethernet.h>
#include "Ethernet_pinout_setting.h"
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <AsyncElegantOTA.h>

SPIClass ethernetSPI(ETH_SPI_BUS);
AsyncWebServer server(80);

/**
 * @brief  Function to execute the setup generated by the arduino framework
 * @param  None
 * @retval None
 */
void setup()
{

  Ethernet.init(ETH_CS, &ethernetSPI, ETH_SCLK, ETH_MISO, ETH_MOSI);
  Serial.begin(115200);
  while (!Serial)
  {
    ; // wait for serial port to connect. Needed for native USB port only
  }
  Ethernet.begin(mac);
  // Check for Ethernet hardware present
  if (Ethernet.hardwareStatus() == EthernetNoHardware)
  {
    Serial.println("Ethernet shield was not found.  Sorry, can't run without hardware. :(");
    while (true)
    {
      delay(1); // do nothing, no point running without Ethernet hardware
    }
  }
  if (Ethernet.linkStatus() == LinkOFF)
  {
    Serial.println("Ethernet cable is not connected.");
  }

  Serial.print("Joined LAN with IP ");
  Serial.println(Ethernet.localIP());
  Serial.flush();
  delay(2000);

  server.on("/", HTTP_GET, [](AsyncWebServerRequest *request)
            { request->send(200, "text/plain", "Hi! This is a sample response."); });

  AsyncElegantOTA.begin(&server); // Start AsyncElegantOTA
  server.begin();
  Serial.println("HTTP server started");
}
/**
 * @brief  Function to execute the loop of the mqtt connection
 * @param  None
 * @retval None
 */
void loop()
{
}

I got

Joined LAN with IP 192.168.0.46
assertion “Invalid mbox” failed: file “/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c”, line 416, function: tcpip_api_call
abort() was called at PC 0x400e642f on core 1

Backtrace: 0x400852a4:0x3ffb1e50 0x40085521:0x3ffb1e70 0x400e642f:0x3ffb1e90 0x4012120b:0x3ffb1ec0 0x401174ac:0x3ffb1ef0 0x400da08e:0x3ffb1f40 0x400d2546:0x3ffb1f60 0x400e4072:0x3ffb1fb0 0x40086532:0x3ffb1fd0
#0 0x400852a4:0x3ffb1e50 in invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:715
#1 0x40085521:0x3ffb1e70 in abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:715
#2 0x400e642f:0x3ffb1e90 in __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/…/…/…/…/./newlib/libc/stdlib/assert.c:63 (discriminator 8)
#3 0x4012120b:0x3ffb1ec0 in tcpip_api_call at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c:416 (discriminator 1)
#4 0x401174ac:0x3ffb1ef0 in AsyncServer::begin() at .pio/libdeps/esp32dev/AsyncTCP/src/AsyncTCP.cpp:1020
(inlined by) AsyncServer::begin() at .pio/libdeps/esp32dev/AsyncTCP/src/AsyncTCP.cpp:1264
#5 0x400da08e:0x3ffb1f40 in AsyncWebServer::begin() at .pio/libdeps/esp32dev/ESP Async WebServer/src/ESPAsyncWebServer.h:310
#6 0x400d2546:0x3ffb1f60 in setup() at src/main.cpp:75
#7 0x400e4072:0x3ffb1fb0 in loopTask(void*) at C:/Users/simone.gasparella/.platformio/packages/framework-arduinoespressif32@3.10006.210326/cores/esp32/main.cpp:18
#8 0x40086532:0x3ffb1fd0 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)

Rebooting…
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
Joined LAN with IP 192.168.0.46
assertion “Invalid mbox” failed: file “/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c”, line 416, function: tcpip_api_call
abort() was called at PC 0x400e642f on core 1

ELF file SHA256: 0000000000000000

Backtrace: 0x400852a4:0x3ffb1e50 0x40085521:0x3ffb1e70 0x400e642f:0x3ffb1e90 0x4012120b:0x3ffb1ec0 0x401174ac:0x3ffb1ef0 0x400da08e:0x3ffb1f40 0x400d2546:0x3ffb1f60 0x400e4072:0x3ffb1fb0 0x40086532:0x3ffb1fd0
#0 0x400852a4:0x3ffb1e50 in invoke_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:715
#1 0x40085521:0x3ffb1e70 in abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp32/panic.c:715
#2 0x400e642f:0x3ffb1e90 in __assert_func at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/…/…/…/…/./newlib/libc/stdlib/assert.c:63 (discriminator 8)
#3 0x4012120b:0x3ffb1ec0 in tcpip_api_call at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c:416 (discriminator 1)
#4 0x401174ac:0x3ffb1ef0 in AsyncServer::begin() at .pio/libdeps/esp32dev/AsyncTCP/src/AsyncTCP.cpp:1020
(inlined by) AsyncServer::begin() at .pio/libdeps/esp32dev/AsyncTCP/src/AsyncTCP.cpp:1264
#5 0x400da08e:0x3ffb1f40 in AsyncWebServer::begin() at .pio/libdeps/esp32dev/ESP Async WebServer/src/ESPAsyncWebServer.h:310
#6 0x400d2546:0x3ffb1f60 in setup() at src/main.cpp:75
#7 0x400e4072:0x3ffb1fb0 in loopTask(void*) at C:/Users/simone.gasparella/.platformio/packages/framework-arduinoespressif32@3.10006.210326/cores/esp32/main.cpp:18
#8 0x40086532:0x3ffb1fd0 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)

Thanks a lot for your help.