New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to sign in with my (SNI) SSL site #148

Closed
barryf opened this Issue May 17, 2017 · 6 comments

Comments

2 participants
@barryf

barryf commented May 17, 2017

I'm no longer able to use IndieAuth.com to log in with my site (https://barryfrost.com).

When trying to fetch my rels, I'm getting:

Unknown error retrieving https://barryfrost.com/: too many connection resets (due to SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: tlsv1 alert internal error - OpenSSL::SSL::SSLError)

I can fetch with a local version of IndieAuth.com, but not on your server. I use Heroku's SNI service so this leads me to think it may be related to #78: perhaps your version of Ruby and/or OpenSSL has changed?

@aaronpk

This comment has been minimized.

Owner

aaronpk commented May 17, 2017

Nothing has changed on the server recently. I just tested fetching your site manually and it worked fine. Maybe this was a transient error? Can you check if it's working now?

@barryf

This comment has been minimized.

barryf commented May 17, 2017

@aaronpk

This comment has been minimized.

Owner

aaronpk commented May 17, 2017

huh, well I have no explanation for this, but I restarted the app and now it finds your site.

@barryf

This comment has been minimized.

barryf commented May 21, 2017

I'm still seeing this: sometimes it works but mostly not. But it seems isolated to my server for whatever reason so rather than clog up your issues I'll close this and focus my efforts on building an indieauth/token endpoint. Good excuse to build one.

@aaronpk

This comment has been minimized.

Owner

aaronpk commented May 30, 2017

Based on sparklemotion/mechanize#123, I just tried adding keep_alive=false to the code. Let me know if this improves things.

@barryf

This comment has been minimized.

barryf commented May 30, 2017

Yes, that's helped, thanks! Failure rate is down to about 50% but I can now log in to the IndieWeb wiki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment