Can not access typesafe.com and it kills Scala life


#1

Hi! Let’s see:

>>> curl -v http://typesafe.com                                                                     
* Rebuilt URL to: http://typesafe.com/
*   Trying 34.197.14.40...
* TCP_NODELAY set
* Connected to typesafe.com (34.197.14.40) port 80 (#0)
> GET / HTTP/1.1
> Host: typesafe.com
> User-Agent: curl/7.60.0
> Accept: */*
> 
* Recv failure: Connection reset by peer
* stopped the pause stream!
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer


>>> curl -v https://repo.typesafe.com            
* Rebuilt URL to: https://repo.typesafe.com/
*   Trying 34.205.198.2...
* TCP_NODELAY set
* Connected to repo.typesafe.com (34.205.198.2) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS alert, Server hello (2):
* error:14094419:SSL routines:ssl3_read_bytes:tlsv1 alert access denied
* stopped the pause stream!
* Closing connection 0
curl: (35) error:14094419:SSL routines:ssl3_read_bytes:tlsv1 alert access denied

As a result I can not update any SBT project, Scala life is dead.
The same issue takes place with access from other ISPs in my city (I have asked friends to tyr) as well as via my mobile provider. Well, via Tor I can access sites, but it doesn’t help SBT update.

Have you any clue to resolve this mysticism?


(Dominik Dorn) #2

repo.typesafe.com

This is a redirection service for the Typesafe repositories. To insulate yourself from future migrations, please use the proxy URL instead of where it redirects (currently https://dl.bintray.com):

Resolver.typesafeIvyRepo("releases") https://repo.typesafe.com/typesafe/ivy-releases/
Resolver.typesafeRepo("releases") https://repo.typesafe.com/typesafe/maven-releases/

https://repo.typesafe.com/typesafe/ivy-releases/ redirects to https://dl.bintray.com/typesafe/ivy-releases/
the other to https://dl.bintray.com/typesafe/maven-releases/


#3

Yes, I’m aware of redirection. The problem is I have got few projects in hands as is. Is it possible to add some settings to ~/.sbt to mitigate the problem? Say, to redefine predefined repos?

And, of course, it would be great to understand the root reason of the issue (that is network problem).