Title: Websocket error
Last modified: May 21, 2021

---

# Websocket error

 *  Resolved [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years ago](https://wordpress.org/support/topic/websocket-error-2/)
 * Hello,
 * Klarna is not working, the iframe is showing up showing 2 times “pay in 14 days”,
   klarna sofort is showing this payment method is not available.
 * Sessions are successfully created in the klarna backend logs
 * in console, there are tons of this websocket error that probably are the problem
   why its not working?
 *     ```
       WebSocket connection to 'wss://127.0.0.1:5931/' failed: WebSocket is closed before the connection is established.
       td_n9 @ blob:https://klarna-…61a-3b8865642a81:18
       td_El @ blob:https://klarna-…61a-3b8865642a81:17
       (anonymous) @ blob:https://klarna-…61a-3b8865642a81:17
       ​ WebSocket connection to 'wss://127.0.0.1:5950/' failed: WebSocket is closed before the connection is established.
       td_n9 @ blob:https://klarna-…be6-14170f50cbed:18
       td_El @ blob:https://klarna-…be6-14170f50cbed:17
       (anonymous) @ blob:https://klarna-…be6-14170f50cbed:17
       ​ WebSocket connection to 'wss://127.0.0.1:3389/' failed: WebSocket is closed before the connection is established.
       td_n9 @ blob:https://klarna-…fed-4a57b580c2c1:18
       td_El @ blob:https://klarna-…fed-4a57b580c2c1:17
       (anonymous) @ blob:https://klarna-…fed-4a57b580c2c1:17
       ​ WebSocket connection to 'wss://127.0.0.1:5939/' failed: WebSocket is closed before the connection is established.
       ```
   
 * How can I solve this? Cloudflare reports no blocking error, my webserver also
   shows no problems blocking something all seems ok, all other payment gateways
   working

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [simplidev](https://wordpress.org/support/users/simplidev/)
 * (@simplidev)
 * [5 years ago](https://wordpress.org/support/topic/websocket-error-2/#post-14466915)
 * I was in frequent contact with Klarna Support to discuss exactly the same problem.
   In the end, I have been told that this is a SSL certificate related problem, 
   meaning that they simply do not accept self-signed certificates like Let’s Encrypt.
   They referred to this article as a “solution”: [https://kinsta.com/knowledgebase/neterr-cert-authority-invalid/](https://kinsta.com/knowledgebase/neterr-cert-authority-invalid/)
 * Sad but true.
 * Maybe it’s the same thing with your shop.
 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years ago](https://wordpress.org/support/topic/websocket-error-2/#post-14466982)
 * How to Fix the NET::ERR_CERT_AUTHORITY_INVALID Error
 * I don’t have this error I think. My Cert is signed for the domain, no self signed.
 *  Plugin Support [montazar](https://wordpress.org/support/users/montazaraj/)
 * (@montazaraj)
 * [5 years ago](https://wordpress.org/support/topic/websocket-error-2/#post-14467955)
 * Hello [@kawo83](https://wordpress.org/support/users/kawo83/) ,
 * We have seen things like Cloudflare or security plugins block some signals that
   we are dependent on. As a test could you try to disable any of these that you
   might have temporarily. If that solves the issue you might need to look at whitelisting
   some of the IPs that our partners are using.
 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years ago](https://wordpress.org/support/topic/websocket-error-2/#post-14467975)
 * Hello,
 * it is not related to cloudflare, any cloudflare security is disabled on cart /
   checkout to prevent problems. also on top of the websocket errors, I get this
   message:
 * Fehler beim Bezahlvorgang. Versuche es bitte nochmal.
 * there is no additional error on this in console, in ajax response, in php or 
   apache logs.
 * It is not template related (same in default template of wordpress)
 *  Thread Starter [kawo83](https://wordpress.org/support/users/kawo83/)
 * (@kawo83)
 * [5 years ago](https://wordpress.org/support/topic/websocket-error-2/#post-14469052)
 * Ok, on my development system I got it to work.
 * The problem is caused by following plugin: PayPal Plus (the one by angelleye)
 * once deactivated, it works. How to fix this now? PayPal Plus is mandatory for
   me so I can’t just go without it.
 *  Plugin Support [montazar](https://wordpress.org/support/users/montazaraj/)
 * (@montazaraj)
 * [5 years ago](https://wordpress.org/support/topic/websocket-error-2/#post-14475638)
 * We have not tested PayPal Plus but we do have support for the PayPal payment 
   method, PayPal Standard, that is included in WooCommerce. I’ll discuss this issue
   with our developers and get back to you once I have more information.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Websocket error’ is closed to new replies.

 * ![](https://ps.w.org/klarna-payments-for-woocommerce/assets/icon-256x256.png?
   rev=3174333)
 * [Klarna for WooCommerce](https://wordpress.org/plugins/klarna-payments-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/klarna-payments-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [montazar](https://wordpress.org/support/users/montazaraj/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/websocket-error-2/#post-14475638)
 * Status: resolved