reading-am / reading

The dreams! The dreams! It's all just absurdity in the light of day but the dreams!
MIT License
10 stars 0 forks source link

SSL problems can prevent page crawling #402

Open leppert opened 11 years ago

leppert commented 11 years ago

Posting this url causes a 500 error: https://neocities.org/blog/neocities-can-now-handle-two-million-web-sites

With this in the logs:

2013-07-10T19:41:09.052697+00:00 heroku[nginx]: 173.245.56.139 - - [10/Jul/2013:19:41:09 +0000] "GET /assets/bookmarklet/loader.js HTTP/1.1" 200 488 "https://neocities.org/blog/neocities-can-now-handle-two-million-web-sites" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36" reading.am
2013-07-10T19:41:09.052697+00:00 heroku[nginx]: 127.0.0.1 - - [10/Jul/2013:19:41:09 +0000] "GET /assets/bookmarklet/loader.js HTTP/1.0" 200 772 "https://neocities.org/blog/neocities-can-now-handle-two-million-web-sites" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36" reading.am
2013-07-10T19:41:09.219871+00:00 app[web.2]: Started POST "/api/posts" for 173.245.56.155 at 2013-07-10 19:41:09 +0000
2013-07-10T19:41:09.455317+00:00 app[web.2]: OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
2013-07-10T19:41:09.455317+00:00 app[web.2]:
2013-07-10T19:41:09.455317+00:00 app[web.2]:   app/models/page.rb:312:in `mech'
2013-07-10T19:41:09.455317+00:00 app[web.2]:   app/models/page.rb:331:in `remote_canonical_url'
2013-07-10T19:41:09.455317+00:00 app[web.2]:   app/models/page.rb:318:in `remote_resolved_url'
2013-07-10T19:41:09.455317+00:00 app[web.2]:   app/models/page.rb:88:in `find_by_url'
2013-07-10T19:41:09.455317+00:00 app[web.2]:   app/models/page.rb:322:in `remote_normalized_url'
2013-07-10T19:41:09.455317+00:00 app[web.2]:   app/controllers/api/posts_controller.rb:94:in `create'
2013-07-10T19:41:09.455317+00:00 app[web.2]:   app/models/page.rb:99:in `find_or_create_by_url'
2013-07-10T19:41:08+00:00 app[heroku-postgres]: source=HEROKU_POSTGRESQL_WHITE measure.current_transaction=5435584 measure.db_size=1512948536bytes measure.tables=12 measure.active-connections=13 measure.waiting-connections=0 measure.index-cache-hit-rate=0.96638 measure.table-cache-hit-rate=0.90679
2013-07-10T19:41:09.455534+00:00 app[web.2]:
2013-07-10T19:41:09.455317+00:00 app[web.2]:
2013-07-10T19:41:09.464189+00:00 heroku[nginx]: 173.245.56.155 - - [10/Jul/2013:19:41:09 +0000] "POST /api/posts HTTP/1.1" 500 48 "https://neocities.org/blog/neocities-can-now-handle-two-million-web-sites" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36" reading.am
2013-07-10T19:41:09.464189+00:00 heroku[nginx]: 127.0.0.1 - - [10/Jul/2013:19:41:09 +0000] "POST /api/posts HTTP/1.0" 500 48 "https://neocities.org/blog/neocities-can-now-handle-two-million-web-sites" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36" reading.am