failed (104: Connection reset by peer) while reading response header from upstream, - magento

I'm getting a weird error in my Magento Installation after I try to checkout an order.
[error] 20850#0: *221038 recv() failed (104: Connection reset by peer)
while reading response header from upstream, client: xxx.xxx.xxx.xxx,
server: xxx.nl, request: "POST /rest/default/V1/guest-
carts/1b7f447450f3a9a062acdaaf62959048/payment-information
I only see this error whenever I click on the pay now button on the checkout page.
Nothing excepts the error in the logs.
Any ideas on how to solve this?

check and set proper log level in nginx.conf
error_log log_file [ log_level ]
possible options: emerg | alert | crit | error | warn | notice | info | debug

Related

Email sampler Jmeter with yopmail

i trying to get emails from the "Mail reader sampler" using yopmail, but i only recieve
Response message:javax.mail.MessagingException: Connection timed out: connect;
nested exception is:
java.net.ConnectException: Connection timed out: connect
Conf:
protocol: imaps
server host: imap.yopmail.com
Username: ${email}
Folder: INBOX
Use SSL with "Trust all certificates"
Trying to get emails from "mail reader sampler" but i get 500 error

Unable to upgrade https to websocket in envoy (https to ws upgrade)

I'm using the following code to upgrade https connection websocket connection receiving 403 error.
https to ws upgrade
Configuration:
match:
safe_regex:
google_re2: {}
regex: "/api/1/(web|rest)/ws.*"
upgrade_configs:
- upgrade_type: websocket
Access logs shows as upgrade_failed with 403 code and debug logs shows the following
':authority', 'localhost'
':path', '/api/1/rest/ws'
':method', 'GET'
'sec-websocket-version', '13'
'sec-websocket-key', 'winoU3MVKB9q2s02lVj7ug=='
'connection', 'Upgrade'
'upgrade', 'websocket'
'sec-websocket-extensions', 'permessage-deflate; client_max_window_bits'
[2022-11-01 15:48:09.757][21026][debug][http] [external/envoy/source/common/http/filter_manager.cc:883] [C2183][S8415942046573715112] Sending local reply with details upgrade_failed
[2022-11-01 15:48:09.757][21026][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:1400] [C2183][S8415942046573715112] closing connection due to connection close header
[2022-11-01 15:48:09.757][21026][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:1455] [C2183][S8415942046573715112] encoding headers via codec (end_stream=true):
':status', '403'
'date', 'Tue, 01 Nov 2022 15:48:09 GMT'
'server', 'envoy'
'connection', 'close'
Any insights what might be the issue.

Chrome closes itself just after it loads for mobile web automation

Chrome browser opens and automatically closes while mobile web automation.
The code doesn't proceeds any further. I'm using real device and appium version 1.6 and chrome version 54.
Desired Capabilities :
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "chrome");
capabilities.setCapability("deviceName", "Testing device");
capabilities.setCapability("platformVersion", "5.0");
capabilities.setCapability("platformName", "Android");
capabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 7200);
Driver Initialisation :
AndroidDriver<AndroidElement> aDriver = new AndroidDriver<AndroidElement>(new URL(
"http://127.0.0.1:4723/wd/hub"), setCapabilities());
System.out.println(aDriver.getSessionId());
aDriver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
aDriver.get("https://www.google.com");
Appium log :
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] Android bootstrap socket is now connected
[AndroidDriver] Starting a chrome-based browser session
[debug] [Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: /usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-chromedriver/chromedriver/mac/chromedriver
[Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-chromedriver/chromedriver/mac/chromedriver.*--port=9515"
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[Chromedriver] No old chromedrivers seemed to exist
[Chromedriver] Spawning chromedriver with: /usr/local/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-chromedriver/chromedriver/mac/chromedriver --url-base=wd/hub --port=9515 --adb-port=5037
[Chromedriver] [STDOUT] Starting ChromeDriver 2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4) on port 9515
Only local connections are allowed.
[JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
[Chromedriver] [STDERR] [warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"stat...
[JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"ch...
[JSONWP Proxy] Got response with status 200: {"sessionId":"e1cc8c5acefcf...
[debug] [Chromedriver] Changed state to 'online'
[Appium] New AndroidDriver session created successfully, session 4cd47498-3a35-495e-8cdd-1fd02e69427c added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webSto...
[HTTP] <-- POST /wd/hub/session 200 21605 ms - 875
[HTTP] --> POST /wd/hub/session/4cd47498-3a35-495e-8cdd-1fd02e69427c/timeouts {"type":"implicit","ms":10000}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/4cd47498-3a35-495e-8cdd-1fd02e69427c/timeouts] to [POST http://127.0.0.1:9515/wd/hub/session/e1cc8c5acefcf0ef250abfcf6b59b61d/timeouts] with body: {"type":"implicit","ms":10000}
[JSONWP Proxy] Got response with status 200: {"sessionId":"e1cc8c5acefcf...
[JSONWP Proxy] Replacing sessionId e1cc8c5acefcf0ef250abfcf6b59b61d with 4cd47498-3a35-495e-8cdd-1fd02e69427c
[HTTP] <-- POST /wd/hub/session/4cd47498-3a35-495e-8cdd-1fd02e69427c/timeouts 200 12 ms - 220
Could it be the some version problem of chrome installed or chrome-driver?

Magento Nginx 502 Gateway Error

After updating Magento with Patch 6788 and update the Intenso Theme I am getting the following error on some of the product URLs:
2015/11/14 16:55:12 [notice] 1594#0: signal process started
2015/11/14 16:56:10 [error] 1602#0: *1 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 69.204.XXX.XXX, server: localhost, request: "GET /houseware/karu-non-stick-bowl-w-g-16cm.html HTTP/1.1", upstream: "fastcgi://127.0.0.1:7161", host: "107.170.XXX.XXX", referrer: "http://107.170.XXX.XXX/houseware.html"
Basically I am getting a 502 on some of the product pages.
does anyone knows how to resolve this.
I have NGINX server + PHP_FPM + MYSQL setup.

RECV TLSv1 ALERT: fatal, handshake_failure

Im using Jmeter2.9 for testing secured webservice.
i've created a keystore and truststore for the client and the root certificates and they seem to be fine.
however, when I start using the test script I get the following error message:
...
AWT-EventQueue-0, READ: TLSv1 Alert, length = 2
AWT-EventQueue-0, RECV TLSv1 ALERT: fatal, handshake_failure
AWT-EventQueue-0, called closeSocket()
AWT-EventQueue-0, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
i tried to modify the parameters in user.properties, jmeter.properties and system.properties for jmeter, but it didnt help.
have you any hint or tips what causes the issue and how it could be solved?
thank you.

Resources