Shields: Shields.io shows that my site is turned off. However, it is not.

Created on 19 Jan 2019  Â·  19Comments  Â·  Source: badges/shields

Are you experiencing an issue with...

  • [* ] [shields.io](https://shields.io/#/)

:beetle: Description

Shilds.io shows that my site is turned off. However, it is not.
This happened after I updated the certificates, and the SSL settings of the web server

www.ssllabs.com shows that my server has an A + rating

:link:

https://img.shields.io/website-up-down-green-red/https/dorokhin.moscow.svg?label=dorokhin.moscow

ssllabs report

* Screenshots *
Screenshot 1
Screenshot 1

:bulb: Possible Solution

Update your ssl client library.

bug service-badge

Most helpful comment

Tried this locally and its throwing:

{
Error: write EPROTO 139639970006848:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3
alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802: at
WriteWrap.afterWrite [as oncomplete] (net.js:868:14) errno: 'EPROTO', code: 'EPROTO', syscall: 'write'
}

Can make a HEAD request OK with curl:

$ curl -I --head "https://dorokhin.moscow/"
HTTP/1.1 200 OK

All 19 comments

Tried this locally and its throwing:

{
Error: write EPROTO 139639970006848:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3
alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802: at
WriteWrap.afterWrite [as oncomplete] (net.js:868:14) errno: 'EPROTO', code: 'EPROTO', syscall: 'write'
}

Can make a HEAD request OK with curl:

$ curl -I --head "https://dorokhin.moscow/"
HTTP/1.1 200 OK

I can't reproduce that locally in Node 10, though I can in Node 9 and Node 8. I don't have access to upgrade Node on the servers, but it seems like that's what we'll need to do.

We could also try setting secureProtocol to the Node 10 value to see if it fixes this. There's some differences in the docs in Node 9 and the subsequent versions.

Suspect its probably this then: https://github.com/nodejs/node/issues/3692 Might be some settings we can fiddle with if you trawl that thread, but node 10 has a more recent version of openssl which fixes this.

The ssl test report shows a handful of client failures:

This is from their documentation:

In order to support older clients, you may need to continue to support TLS v1.0 and TLS v1.1 for now. However, you should plan to retire TLS v1.0 in the near future. For example, the PCI DSS standard will require all sites that accept credit card payments to remove support for TLS v1.0 by June 2018.

screen shot 2019-01-20 at 8 56 35 am

screen shot 2019-01-20 at 8 56 45 am

Sort of tangential: it would be cool to have a TLS version support badge.

By adding this service test, I confirmed that TLS 1.2 is _not_ the issue with dorokhin.moscow.

t.create('status of a TLS 1.2 site')
  .only()
  .get('/website/https/tls-v1-2.badssl.com:1012.json')
  .expectJSON({ name: 'website', value: 'online' })

That passes in Node 8 and 9.

So… it's failing for some other reason. I'm guessing it's related to the ciphers.

How to fix:

Website

Site .htaccess is https://github.com/BhadooMail/BhadooMail/blob/master/.htaccess

at AWS with SSL Rating A at ssllabs.com

or u can add
require("tls").DEFAULT_ECDH_CURVE = "auto"
to server.js

@dorokhin: how did u solve your problem?

@dorokhin: how did u solve your problem?

try my comment with server.js

it works with self-hosted version. but the shield.io version always shows down.

The production servers are now running Node 10.20.1 so this should be resolved.

Can anyone confirm?

I can't confirm this is fixed but I'm going to close it. If this isn't fixed, feel free to comment here and we'll reopen.

nice, it works for my page now :)

I can't confirm this is fixed but I'm going to close it. If this isn't fixed, feel free to comment here and we'll reopen.

it works!

@paulmelnikow Not working for Cloud flare Site

https://site-status.hashapp.ga/?q=big.driveindex.ga

Hi! Could you open a new issue, please?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexWayfer picture AlexWayfer  Â·  3Comments

Turnerj picture Turnerj  Â·  3Comments

calebcartwright picture calebcartwright  Â·  3Comments

bruno-garcia picture bruno-garcia  Â·  3Comments

irgolic picture irgolic  Â·  3Comments