browserify / wzrd.in

browserify as a service.
http://wzrd.in
MIT License
637 stars 96 forks source link

Expired certificate #160

Closed qgustavor closed 7 years ago

qgustavor commented 7 years ago

The current wzrd.in certificate expired today, 04/02/17 15:35. I find it a bit strange, considering it uses Let's Encrypt. Does the auto-renew failed?

voronianski commented 7 years ago

@jfhbrook experiencing this too

jfhbrook commented 7 years ago

Yeah, should be fixed. I think the cron job was busted. Manually ran the renew command and updated the cron job.

Sorry for the delay.

voronianski commented 7 years ago

@jfhbrook something is wrong with cors:

XMLHttpRequest cannot load https://wzrd.in/multi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://esnextb.in' is therefore not allowed access.
jfhbrook commented 7 years ago

I, uh

that sounds unrelated. Can you find me on irc? freenode, this nick. I can help you triage for the next hour or so (I have a dinner) and also get you box access.

jfhbrook commented 7 years ago

Doing some basic curling, it appears that CORS headers don't show up on erroring routes, maybe this route is having a different error of some kind? Can you get me the payload that's trying to send?

jfhbrook commented 7 years ago

@voronianski ^^ we should talk about this in real time

jfhbrook commented 7 years ago

I've repro'd:

$ curl -i -X POST -d '{"dependencies":{"concat-stream":"latest"}}' https://wzrd.in/multi

HTTP/1.1 200 OK
Server: nginx/1.11.3
Date: Sat, 04 Feb 2017 23:42:36 GMT
Content-Type: application/json
Content-Length: 75359
Connection: keep-alive
X-Powered-By: Express
Location: /multi/959f91479a56b2276933705b60e10843
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
jfhbrook commented 7 years ago

This appears to be a problem on all cors stuff, so the issue is with the middleware and not the route:

$ curl -i https://wzrd.in/standalne/concat-stream@latest | less
jfhbrook commented 7 years ago

Hey, I think I fixed it! The CORS middleware was at the wrong stage?

jfhbrook commented 7 years ago

Get ahold of me anyway though @voronianski I can get you access to the box

voronianski commented 7 years ago

@jfhbrook thanks for fixing! I will reach you out tomorrow in irc. I'm going to sleep now as it's late night in my timezone ;)