Closed RussianNeuroMancer closed 7 years ago
Same error on Archlinux.
Ubable to connect via a very plain installation of Fedora 23. Attempting to join a new shared wallet.
[14943:0114/114337:INFO:CONSOLE(13)] ""Joining Wallet:" "{\"secret\":\"REDACTED\",\"myName\":\"Computer\",\"bwsurl\":\"https://bws.bitpay.com/bws/api\"}"", source: file:///tmp/.org.chromium.Chromium.AIzsh7/public/lib/angular.js (13)
[14943:0114/114337:INFO:CONSOLE(13)] ""Joining Wallet:" "{\"secret\":\"REDACTED\",\"myName\":\"Computer\",\"bwsurl\":\"https://bws.bitpay.com/bws/api\",\"networkName\":\"livenet\"}"", source: file:///tmp/.org.chromium.Chromium.AIzsh7/public/lib/angular.js (13)
[14943:0114/114337:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
Do you think this can be related to https://github.com/bitpay/bitcore-wallet-service/issues/368 ?
(ie Linux does not allow TLS <1.2)
I have Ubuntu 16.04 running where this issue is reproducible. What I need to do to help you find if this related or not? How I can test different types of TLS connections? (If this can help.)
thanks a lot. We plan to update the TLS settings later today, if you could check tomorrow it would be great.
Ok, let me know when to perform the test.
Just downloaded 1.7.1. still getting this error
[16799:0120/193342:INFO:CONSOLE(13)] ""Creating Wallet:" "{\"m\":1,\"n\":2,\"name\":\"Test\",\"myName\":\"mammoth\",\"networkName\":\"livenet\",\"bwsurl\":\"https://bws.bitpay.com/bws/api\"}"", source: file:///tmp/.org.chromium.Chromium.xV9GnK/public/lib/angular.js (13)
[16799:0120/193343:INFO:CONSOLE(27)] ""[info] Using existing keys"", source: file:///tmp/.org.chromium.Chromium.xV9GnK/public/lib/angular.js (27)
[16799:0120/193343:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[16799:0120/193343:INFO:CONSOLE(13)] ""Error creating wallet: Network connection error"", source: file:///tmp/.org.chromium.Chromium.xV9GnK/public/lib/angular.js (13)
Downloaded 1.8.2 and still getting this error.
[8761:0125/170450:INFO:CONSOLE(13)] ""Creating Wallet:" "{\"m\":1,\"n\":1,\"name\":\"test\",\"myName\":null,\"networkName\":\"livenet\",\"bwsurl\":\"https://bws.bitpay.com/bws/api\"}"", source: file:///tmp/.org.chromium.Chromium.bJLhKe/public/lib/angular.js (13)
[8761:0125/170450:INFO:CONSOLE(27)] ""[info] Using existing keys"", source: file:///tmp/.org.chromium.Chromium.bJLhKe/public/lib/angular.js (27)
[8761:0125/170450:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[8761:0125/170450:INFO:CONSOLE(13)] ""Error creating wallet: Network connection error"", source: file:///tmp/.org.chromium.Chromium.bJLhKe/public/lib/angular.js (13)
Thanks. We will check this further. Could you please send us again the distro/version you are using? Jfyi, you can use chrome's copay app under linux until this one gets fixed On Mon, Jan 25, 2016 at 10:07 PM JulianTosh notifications@github.com wrote:
Downloaded 1.8.2 and still getting this error.
[8761:0125/170450:INFO:CONSOLE(13)] ""Creating Wallet:" "{\"m\":1,\"n\":1,\"name\":\"test\",\"myName\":null,\"networkName\":\"livenet\",\"bwsurl\":\"https://bws.bitpay.com/bws/api\"}"", source: file:///tmp/.org.chromium.Chromium.bJLhKe/public/lib/angular.js (13) [8761:0125/170450:INFO:CONSOLE(27)] ""[info] Using existing keys"", source: file:///tmp/.org.chromium.Chromium.bJLhKe/public/lib/angular.js (27) [8761:0125/170450:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR [8761:0125/170450:INFO:CONSOLE(13)] ""Error creating wallet: Network connection error"", source: file:///tmp/.org.chromium.Chromium.bJLhKe/public/lib/angular.js (13)
— Reply to this email directly or view it on GitHub https://github.com/bitpay/copay/issues/3723#issuecomment-174754335.
Fedora 23 kernel-4.3.3-301.fc23.x86_64 openssl-1.0.2e-3.fc23.x86_64
Hi, I just installed Ubuntu 16.04 and downloaded the latest version of Copay (1.8.2) and everything works as expected.
Could you check that you are not connecting through a VPN or Firewall?
Thanks.
Still reproducible for me on Kubuntu 16.10 (OpenSSL 1.0.2e, kernel 4.4, but was reproducible also with 4.3) with disabled VPN and firewall.
Connection works fine from Kubuntu 15.10 on same computer (before upgrade to 16.04). Connection works fine from other computers with Kubuntu 15.10 in same network, via same router, via same ISP, etc.
Could you try:
curl -vvv https://bws.bitpay.com/bws/api/v1/version
in your box ?
You should get something like:
{"serviceVersion":"bws-1.4.0"}
I tried in osx and ubuntu 14.04 LTS and worked.
On Thu, Jan 28, 2016 at 8:26 AM, RussianNeuroMancer < notifications@github.com> wrote:
Still reproducible for me on Kubuntu 16.10 (OpenSSL 1.0.2e, kernel 4.4, but was reproducible also with 4.3) with disabled VPN and firewall.
Connection works fine from Kubuntu 15.10 on same computer (before upgrade to 16.04). Connection works fine from other computers with Kubuntu 15.10 in same network, via same router, via same ISP, etc.
— Reply to this email directly or view it on GitHub https://github.com/bitpay/copay/issues/3723#issuecomment-176132110.
Matías Alejo Garcia @ematiu Roads? Where we're going, we don't need roads!
Yes, I get {"serviceVersion":"bws-1.4.0"} on Kubuntu 15.10 and 16.04.
$ curl -vvv https://bws.bitpay.com/bws/api/v1/version
* Trying 104.20.88.87...
* Connected to bws.bitpay.com (104.20.88.87) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* ALPN, server accepted to use http/1.1
* SSL connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=ssl321957.cloudflaressl.com,OU=PositiveSSL Multi-Domain,OU=Domain Control Validated
* start date: Jan 04 00:00:00 2016 GMT
* expire date: Dec 31 23:59:59 2016 GMT
* common name: ssl321957.cloudflaressl.com
* issuer: CN=COMODO ECC Domain Validation Secure Server CA 2,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB
> GET /bws/api/v1/version HTTP/1.1
> Host: bws.bitpay.com
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: cloudflare-nginx
< Date: Thu, 28 Jan 2016 15:16:35 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 30
< Connection: keep-alive
< Set-Cookie: __cfduid=dec8583dccb4b1c6d5becad1f7c1508771453994195; expires=Fri, 27-Jan-17 15:16:35 GMT; path=/; domain=.bitpay.com; HttpOnly
< X-Powered-By: Express
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE
< Access-Control-Allow-Headers: x-signature,x-identity,x-client-version,X-Requested-With,Content-Type,Authorization
< x-service-version: bws-1.4.0
< ETag: W/"1e-jTBcWuVVRh6NDJ85cifL+g"
< CF-RAY: 26bda8c9958e1419-LAX
<
* Connection #0 to host bws.bitpay.com left intact
{"serviceVersion":"bws-1.4.0"}
Highlighting this ssl connection string from above: SSL connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
Not connecting through a firewall (just a wifi router) nor vpn. Still results in same error message.
Same problem here with an existing wallet (was working fine a couple months ago). Impossible to use the wallet as a result...
Fedora 23 (4.3.5-300.fc23.x86_64) No proxy No firewall No VPN The Android app works perfectly using the same network
[8704:0220/115553:INFO:CONSOLE(13)] ""Updating Transaction History"", source: file:///tmp/.org.chromium.Chromium.KznNdO/public/lib/angular.js (13)
[8704:0220/115553:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[8704:0220/115553:INFO:CONSOLE(13)] ""Client ERROR: " "{\"code\":\"CONNECTION_ERROR\"}"", source: file:///tmp/.org.chromium.Chromium.KznNdO/public/lib/angular.js (13)
[8704:0220/115553:INFO:CONSOLE(13)] ""Showing err popup:Error at Wallet Service: Network connection error"", source: file:///tmp/.org.chromium.Chromium.KznNdO/public/lib/angular.js (13)
[8704:0220/115557:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[8704:0220/115557:INFO:CONSOLE(27)] ""[warn] Error receiving notifications."", source: file:///tmp/.org.chromium.Chromium.KznNdO/public/lib/angular.js (27)
[8704:0220/115557:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
The last 3 errors are repeating as long as copay is opened...
$ curl -vvv https://bws.bitpay.com/bws/api/v1/version
:
* Trying 104.20.89.87...
* Connected to bws.bitpay.com (104.20.89.87) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* ALPN, server accepted to use http/1.1
* SSL connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
* Server certificate:
* subject: CN=ssl321957.cloudflaressl.com,OU=PositiveSSL Multi-Domain,OU=Domain Control Validated
* start date: Jan 04 00:00:00 2016 GMT
* expire date: Dec 31 23:59:59 2016 GMT
* common name: ssl321957.cloudflaressl.com
* issuer: CN=COMODO ECC Domain Validation Secure Server CA 2,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB
> GET /bws/api/v1/version HTTP/1.1
> Host: bws.bitpay.com
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: cloudflare-nginx
< Date: Sat, 20 Feb 2016 18:27:27 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 30
< Connection: keep-alive
< Set-Cookie: __cfduid=df293ef12e8b2509f01f58ef973858c551455992847; expires=Sun, 19-Feb-17 18:27:27 GMT; path=/; domain=.bitpay.com; HttpOnly
< X-Powered-By: Express
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE
< Access-Control-Allow-Headers: x-signature,x-identity,x-client-version,X-Requested-With,Content-Type,Authorization
< x-service-version: bws-1.5.0
< ETag: W/"1e-rJEIOqJfoZuOo6RmpZ8g3Q"
< CF-RAY: 277c440223270323-MIA
<
* Connection #0 to host bws.bitpay.com left intact
{"serviceVersion":"bws-1.5.0"}
Can confirm this issue, it is present on my machine too. The wallet was working fine in the past on the same machine. OS: kubuntu 14.04 (with latest updates) Network: No proxy, no vpn, no firewall
I get the same error codes as reported above by fabienb4.
Wallet stop working on Kubuntu 15.10 after latest updates.
We will apply this changes:
https://github.com/bitpay/bitcore-wallet-service/pull/437/files
to the stand alone BWS and install it in production in the next few days. I will update the ticket once it is live, so you can test again. Thanks a lot.
Any news on when 437 will be live?
We have updated bws.bitpay.com to better support TLS 1.2. Could you try now?
This is the output from the console where I launch CoPay 1.8.3 on Fedora 23, kernel 4.3.5-300, openssl 1.0.2f-1:
[4437:0301/063702:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[4437:0301/063703:INFO:CONSOLE(95)] ""There was an error collecting entropy from the browser:"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (95)
[4437:0301/063703:INFO:CONSOLE(95)] "", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (95)
[4437:0301/063703:INFO:CONSOLE(13)] ""Starting Copay v1.8.3 #891f1f2"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Client: isCordova:" "null" "isChromeApp:" "null" "isNodeWebkit:"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Navigator:" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Using file storage:" "null"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Setting default language: en"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""This is not OSX"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Profile is not encrypted"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Profile read"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Preferences read:" "{\"limits\":{\"totalCopayers\":6,\"mPlusN\":100},\"bws\":{\"url\":\"https://bws.bitpay.com/bws/api\"},\"wallet\":{\"requiredCopayers\":2,\"totalCopayers\":3,\"spendUnconfirmed\":true,\"reconnectDelay\":5000,\"idleDurationMin\":4,\"settings\":{\"unitName\":\"bits\",\"unitToSatoshi\":100,\"unitDecimals\":2,\"unitCode\":\"bit\",\"alternativeName\":\"US Dollar\",\"alternativeIsoCode\":\"USD\"}},\"glidera\":{\"enabled\":true,\"testnet\":false},\"rates\":{\"url\":\"https://insight.bitpay.com:443/api/rates\"},\"pushNotifications\":{\"enabled\":true,\"config\":{\"android\":{\"senderID\":\"1036948132229\"},\"ios\":{\"alert\":\"true\",\"badge\":\"true\",\"sound\":\"true\"},\"windows\":{}}}}"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Preferences read"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Set focus:" "null"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Profile is not encrypted"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:INFO:CONSOLE(13)] ""Profile loaded ... Starting UX."", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063703:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[4437:0301/063703:INFO:CONSOLE(13)] ""Profile is not encrypted"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063708:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[4437:0301/063716:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[4437:0301/063719:INFO:CONSOLE(13)] ""Creating Wallet:" "{\"m\":1,\"n\":1,\"name\":\"test\",\"myName\":null,\"networkName\":\"livenet\",\"bwsurl\":\"https://bws.bitpay.com/bws/api\"}"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
[4437:0301/063720:INFO:CONSOLE(27)] ""[info] Using existing keys"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (27)
[4437:0301/063720:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[4437:0301/063720:INFO:CONSOLE(13)] ""Error creating wallet: Network connection error"", source: file:///tmp/.org.chromium.Chromium.w56H4s/public/lib/angular.js (13)
Failed to tell parent about crash.
It does not work yet (Ubuntu 14.04 with latest updates). Copay log:
[16245:0301/154112:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[16245:0301/154112:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[16245:0301/154112:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[16245:0301/154112:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[16245:0301/154113:INFO:CONSOLE(13)] ""Client ERROR: " "{\"code\":\"CONNECTION_ERROR\"}"", source: file:///tmp/.org.chromium.Chromium.aFi28K/public/lib/angular.js (13)
[16245:0301/154113:INFO:CONSOLE(13)] ""Showing err popup:Error at Wallet Service: Network connection error"", source: file:///tmp/.org.chromium.Chromium.aFi28K/public/lib/angular.js (13)
[16245:0301/154116:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
[16245:0301/154116:INFO:CONSOLE(27)] ""[warn] Error receiving notifications."", source: file:///tmp/.org.chromium.Chromium.aFi28K/public/lib/angular.js (27)
[16245:0301/154116:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
API version:
curl -vvv https://bws.bitpay.com/bws/api/v1/version
* Hostname was NOT found in DNS cache
* Trying 104.20.88.87...
* Connected to bws.bitpay.com (104.20.88.87) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-ECDSA-AES128-GCM-SHA256
* Server certificate:
* subject: OU=Domain Control Validated; OU=PositiveSSL Multi-Domain; CN=ssl321957.cloudflaressl.com
* start date: 2016-01-04 00:00:00 GMT
* expire date: 2016-12-31 23:59:59 GMT
* subjectAltName: bws.bitpay.com matched
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO ECC Domain Validation Secure Server CA 2
* SSL certificate verify ok.
> GET /bws/api/v1/version HTTP/1.1
> User-Agent: curl/7.35.0
> Host: bws.bitpay.com
> Accept: */*
>
< HTTP/1.1 200 OK
* Server cloudflare-nginx is not blacklisted
< Server: cloudflare-nginx
< Date: Tue, 01 Mar 2016 14:46:18 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 30
< Connection: keep-alive
< Set-Cookie: __cfduid=def163fecd0562af3758a374183e90eb11456843578; expires=Wed, 01-Mar-17 14:46:18 GMT; path=/; domain=.bitpay.com; HttpOnly
< X-Powered-By: Express
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE
< Access-Control-Allow-Headers: x-signature,x-identity,x-client-version,X-Requested-With,Content-Type,Authorization
< x-service-version: bws-1.5.0
< ETag: W/"1e-rJEIOqJfoZuOo6RmpZ8g3Q"
< CF-RAY: 27cd65cedd7226b4-FRA
<
* Connection #0 to host bws.bitpay.com left intact
{"serviceVersion":"bws-1.5.0"}
Could you try using the Copay Chrome App that the box you are having the problem?
https://chrome.google.com/webstore/detail/copay/cnidaodnidkbaplmghlelgikaiejfhja
Works fine as a chrome app on the same system.
MAybe related to https://github.com/nwjs/nw.js/issues/4017
also possible related: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1520568
I don't know what's changed, but I downloaded 1.8.3 on another computer at work and it works fine now. This new computer at work has never had copay installed on it. The one at home I've been reporting from has had numerous upgrades of copay. I'll clean up at home and try again and report back.
Just downloaded the latest version, removed everything copay from my system, tried opening copay again:
Could not import: Network connection error.
(Good thing I keep text backups!!)[9064:0301/141322:INFO:CONSOLE(13)] ""Importing Wallet Mnemonic"", source: file:///tmp/.org.chromium.Chromium.XmmHJx/public/lib/angular.js (13)
[9064:0301/141323:WARNING:nss_ssl_util.cc(374)] Unknown SSL error -12218 (SSL_ERROR_ENCRYPTION_FAILURE) mapped to net::ERR_SSL_PROTOCOL_ERROR
I'm pretty sure the following errors aren't related (the ones above seem to be due to an SSL problem as @matiu pointed out) but just in case...
[8748:0301/141151:INFO:CONSOLE(1)] "", source: file:///tmp/.org.chromium.Chromium.H37xK0/public/js/copay.js (1)
[8748:0301/141151:INFO:CONSOLE(13)] ""Cannot read property '0' of null"", source: file:///tmp/.org.chromium.Chromium.H37xK0/public/lib/angular.js (13)
[9418:0301/141430:ERROR:channel.cc(305)] RawChannel read error (connection broken)
Failed to tell parent about crash.
System Info:
Fedora 4.4.2-301.fc23.x86_64
OpenSSL 1.0.2f-fips 28 Jan 2016
Copay 1.8.3
As said before, no firewall or proxy of any kind, and the Android app on the same network works fine.
Uninstalled everything copay on my home computer. Re-downloaded 1.8.3 and tried again. Still broken.
System Info:
Fedora 4.4.2-301.fc23.x86_64
OpenSSL 1.0.2f-1.fc23.x86_64
Copay 1.8.3
Will post again tomorrow from work where it did work and verify the same packages.
@work (where it works)...
System Info:
Fedora 4.3.5-300.fc23.x86_64
openssl-1.0.2f-1.fc23.x86_64
CoPay 1.8.3
I had that configuration before, and it still wasn't working (see post).
I'm also going to do a diff between my ssl config files on the home/work computers to see if there's anything going on there.
any luck with this ? i have tried downloading the latest version of copay and deleting the ~/.config/copay directory as well and still get this issue , also cannot create any new wallets either. Is there a cipher combo that needs to be enabled in openssl ?
For the moment, the only available workaround for the affected systems (some linux distros + NW.JS bundles) is to use the Chrome App version of Copay.
On Sat, Mar 5, 2016 at 7:08 PM, troowala notifications@github.com wrote:
any luck with this ? i have tried downloading the latest version of copay and deleting the ~/.config/copay directory as well and still get this issue , also cannot create any new wallets either. Is there a cipher combo that needs to be enabled in openssl ?
— Reply to this email directly or view it on GitHub https://github.com/bitpay/copay/issues/3723#issuecomment-192750730.
Matías Alejo Garcia @ematiu Roads? Where we're going, we don't need roads!
I have feeling that "affected systems" is every Linux distribution with installed security updates - notice how it was only Fedora 23, ArchLinux and Ubuntu/Kubuntu 16.04 that was affected, and then some security update get shipped to Ubuntu/Kubuntu 14.04 and 15.10, so Copay stop working here too.
There is some truth to this assessment.
I had an old Fedora base install snapshot on a VM (no software installed, just a couple of patches when the VM was initially created). I'll call this snapshot "Base Image"
Then I downloaded CoPay 1.9.2, verified the signature, did NOT install/unzip it, shut down and took another snapshot I'll call "Base plus copay".
System Info:
4.2.5-300.fc23.x86_64
openssl-1.0.2d-2.fc23.x86_64
Now I start up "base plus copay", unzip copay and run it. It worked perfectly.
Then I reverted to "base plus copay", run dnf update, reboot, and check the kernel and openssl versions and get:
System Info:
4.4.3-300.fc23.x86_64
openssl-1.0.2g-2.fc23.x86_64
Unzip copay and run it, and it fails with the same SSLERROR message.
Here's a list of the rpms that were upated that seem to cause the break (sigh): copay-test.txt
Is there any update on this? Linux version is not working right now.
@RussianNeuroMancer for the moment: https://github.com/bitpay/copay/issues/3723#issuecomment-192756824
This error is from to NodeWebKit, the framework we use to bundle desktop apps: https://github.com/nwjs/nw.js/issues/4017
Confirming that I am reproducing this error in the Linux desktop app:
Could not join wallet: Network connection error
Ha so copay doesn't work in Linux then? For like 5 months now?
Desktop app - yep, doesn't work.
So does copay have a command line interface or would I be better of using bitcore-wallet for that anyway? Want to use copay features in a headless environment, to tie it in with other services and automate distribution of funds...
Or really an API is what I need
With intention to run it in linux
@tomtruitt please try: https://github.com/bitpay/bitcore-wallet
Also, check bitcore-wallet-client and bitcore-wallet-server, is an API to access wallets is what you need.
@tomtruitt It does work under Linux if you run it under Chrome browser. But the native Linux Copay client has been broken by something in the Linux operating system, across several distros, for some time now. (It's not a copay bug per se - there was a patch deployed on several linux distros that broke Copay ability to successfully handshake ssl connections).
But again, you can run CoPay from the Chrome app store on a linux OS.
Thank you guys very helpful
We did a clean installation of Ubuntu 16.04 on a virtual machine (VirtualBox v5), downloaded latest version of Copay v1.12.1 (https://github.com/bitpay/copay/releases/download/v1.12.1/Copay-linux.zip) and unfortunately we were not able to reproduce this issue.
Here is a screenshot:
Copay 1.6.3 can't connect to Wallet Service on Ubuntu/Kubuntu 16.04. Works fine on 15.10 before upgrade. Error message "Error at Wallet Service: Network connection error".