coeligenai
2019-9-13 07:10:00

@coeligenai has joined the channel


nma.arvydas.silanskas
2019-9-13 12:04:21

but that’s only for packages directly published right?


soegaard2
2019-9-13 13:45:32

Hi All. I have written a little web-app to show one way of implementing web-apps with Racket. Comments are welcome. https://github.com/soegaard/web-tutorial


pocmatos
2019-9-13 13:51:50

Has anyone seen problems with ssh-connect on windows while building racket?


pocmatos
2019-9-13 13:52:02

I am seeing this: C:\Users\pmatos\Projects\racket\racket\src\worksp&gt;..\..\raco pkg install racket-lib Resolving "racket-lib" via <https://pkgs.racket-lang.org> Downloading repository <git://github.com/racket/racket/?path=pkgs%2Fracket-lib> ssl-connect: connect failed (error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version) context...: C:\Users\pmatos\Projects\racket\racket\collects\openssl\mzssl.rkt:532:0: error/network C:\Users\pmatos\Projects\racket\racket\collects\openssl\mzssl.rkt:1471:0: wrap-ports C:\Users\pmatos\Projects\racket\racket\collects\net\http-client.rkt:67:0: http-conn-open!10


pocmatos
2019-9-13 13:53:25

hummm, this might have to do with git on windows it seems…


githree
2019-9-13 13:57:42

@spdegabrielle if you are looking for ideas for next competition, how about best tutorial? A chance to promote existing tutorials and/or showcasing cool racket features.


pocmatos
2019-9-13 14:07:07

Interesting results straight from git-checkout: C:\Users\pmatos\Projects\racket\racket\src\worksp&gt;..\..\racket -l- net/git-checkout --https <http://github.com\|github.com> racket/racket racket-ups Contacting <http://github.com\|github.com> ssl-connect: connect failed (error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version) context...: C:\Users\pmatos\Projects\racket\racket\collects\openssl\mzssl.rkt:532:0: error/network C:\Users\pmatos\Projects\racket\racket\collects\openssl\mzssl.rkt:1471:0: wrap-ports C:\Users\pmatos\Projects\racket\racket\collects\net\http-client.rkt:67:0: http-conn-open!10 C:\Users\pmatos\Projects\racket\racket\collects\net\http-client.rkt:272:0 C:\Users\pmatos\Projects\racket\racket\collects\racket\contract\private\arrow-val-first.rkt:555:3 C:\Users\pmatos\Projects\racket\racket\collects\net\url.rkt:201:0: <http://getpost-impure-port> C:\Users\pmatos\Projects\racket\racket\collects\net\url.rkt:308:2: redirection-loop C:\Users\pmatos\Projects\racket\racket\collects\racket\contract\private\arrow-val-first.rkt:555:3 C:\Users\pmatos\Projects\racket\racket\collects\net\git-checkout.rkt:238:0: initial-connect C:\Users\pmatos\Projects\racket\racket\collects\net\git-checkout.rkt:54:2: retry-loop (submod "C:\Users\pmatos\Projects\racket\racket\collects\net\git-checkout.rkt" main): [running body]


pocmatos
2019-9-13 14:07:37

I guess next step is to check how git-checkout is implemented, but in any case it doesn’t seem related to the git for Windows app installed natively.


soegaard2
2019-9-13 14:32:02

@pocmatos I believe the git checkout part is implemented in racket.


samth
2019-9-13 14:35:59

looks like that means we’re trying too old a TLS version


soegaard2
2019-9-13 14:38:46

Maybe relevant? (but Feb 2018 is mentioned) https://github.blog/2017-02-27-crypto-deprecation-notice/


soegaard2
2019-9-13 14:42:08

No. Can’t be it. At the end of feb. 2018 they write that all support for TLSv1 was removed. https://github.blog/2018-02-23-weak-cryptographic-standards-removed/


samdphillips
2019-9-13 14:43:19

Shouldn’t that effect all package installs that use git?


samdphillips
2019-9-13 14:43:32

(at least from one or more platforms)


samth
2019-9-13 14:44:48

most likely, @pocmatos’s machine has some openssl version that causes racket to choose something that github thinks only supports an old version of tls


samdphillips
2019-9-13 14:45:15

Ok I see now that he isn’t running the packaged version of Racket


pocmatos
2019-9-13 15:09:05

I am trying to compile Racket on Windows 10 but failing. I don’t remember installing any openssl libraries so I surprised I have a problem with them. I narrowed down the issue to get-pure-port/headers


pocmatos
2019-9-13 15:09:48

I have to find out which libraries racket is trying to ffi to so I can try to update them.


pocmatos
2019-9-13 15:10:17

Hopefully I can turn this machine into a windows testing machine for racket.


soegaard2
2019-9-13 15:13:30

Does Racket on Windows come with OpenSSL? (this user had the same error as you (but using CentOS) and was advised to upgrade to a newer version in OpenSSL 1.0.2. https://github.com/openssl/openssl/issues/5806


soegaard2
2019-9-13 15:14:19

Wait, since you are compiling it yourself - the openssl used might not be the standard Racket one.


samth
2019-9-13 15:14:53

@pocmatos can you figure out which version of openssl racket is using?


pocmatos
2019-9-13 15:16:17

Will try.


pocmatos
2019-9-13 15:16:39

Need awhile cause my kids just got home.


mflatt
2019-9-13 15:19:09

When you build Racket on Windows, it uses the Windows SSL library to get a pre-built OpenSSL library. Since that’s an OpenSSL error message above, I expect that you’ll find a “ssleay32.dll” in “racket/lib”, and that’s the standard Racket build. It should be version 1.1.0-h.


pocmatos
2019-9-13 15:31:29

Thanks. I will take a look.


pocmatos
2019-9-13 15:52:25

no such dll found in the racket directory post build.


pocmatos
2019-9-13 15:52:48

@mflatt is this dll supposed to be built by racket itself or copied from the system?


spdegabrielle
2019-9-13 15:59:25

Great idea @githree! Would you consider running it? (with my support)


soegaard2
2019-9-13 16:03:58

@pocmatos I think the external libraries needs to be built with this script:



mflatt
2019-9-13 16:04:00

Copied from a remote site. Maybe an “ssleay32.dll” is found in the system directory?


mflatt
2019-9-13 16:05:46

That’s how the libraries are built, but a build of just Racket normally downloads versions (as packages) that are already built.


githree
2019-9-13 17:45:44

I don’t think I would be the best person running it (I don’t even use twitter :rolling_on_the_floor_laughing: nor other social media) but I can definitely help!


spdegabrielle
2019-9-13 18:08:00

How about writing it up rules etc. ?


githree
2019-9-13 18:11:37

OK, I will think of it over the weekend


samth
2019-9-13 18:13:07

@soegaard2 your tutorial is pretty cool. you could simplify the setup by having people just do raco pkg install in the directory they check out


samth
2019-9-13 18:13:30

of course, that would require including an info.rkt


soegaard2
2019-9-13 18:14:06

Good point. I’ll do that.


spdegabrielle
2019-9-13 19:22:06

@soegaard2 Which tutorial?


soegaard2
2019-9-13 19:22:44

soegaard2
2019-9-13 19:23:43

Well, the code for a tutorial. I am updating this series of blog posts. http://www.scheme.dk/blog/2007/01/introduction-to-web-development-with.html?showComment=1169391900000