DZ
FROM public.ecr.aws/lambda/dotnet:5.0
WORKDIR /var/task
RUN curl -SL https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm > chrome.rpm
RUN yum -y install ./chrome.rpm
RUN ln -sf /opt/google/chrome/google-chrome /usr/bin/google-chrome
RUN chmod 755 /usr/bin/google-chrome
COPY --from=build /app/out ./
CMD ["UITest::UITest.Function::FunctionHandler"]
локально отрабатывает через Lambda Runtime Interface Emulator на ура, а в самой лямбде не хочет( ошибка
unknown error: Chrome failed to start: crashed.\n (chrome not reachable)\n (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
в логах вот так
...
Connection refused 127.0.0.1:36987 (127.0.0.1:36987)
Connection refused 127.0.0.1:36987 (127.0.0.1:36987)
Connection refused 127.0.0.1:36987 (127.0.0.1:36987)
Connection refused 127.0.0.1:36987 (127.0.0.1:36987)
[1609161231.540][SEVERE]: CreatePlatformSocket() failed: Address family not supported by protocol (97)
ChromeDriver was started successfully.
Connection refused 127.0.0.1:36987 (127.0.0.1:36987)
[1609161233.754][SEVERE]: CreatePlatformSocket() failed: Address family not supported by protocol (97)
[1609161233.905][SEVERE]: CreatePlatformSocket() failed: Address family not supported by protocol (97)
что может быть в лямбде такого особенного чего нету в ее эмуляторе?