Hmmm...Sequel most likely is removing the connection from the pool and thus
re-establishing with a new connection, because its only one connection and
the app works if I resubmit the page that failed.  Any suggestions for
mitigating this so that it happens within same request and application flow
is not interrupted?  I could turn off SSL as I don't need encryption on
localhost <=> localhost.

Michael


On Tue, Oct 22, 2013 at 10:14 AM, Jeremy Evans <[email protected]>wrote:

> On Tuesday, October 22, 2013 5:49:58 AM UTC-7, Michael Lang wrote:
>
>> I'm getting this error in my Sinatra application:
>>
>> PG::UnableToSend: SSL error: sslv3 alert bad record mac: SELECT * FROM
>> "domains" WHERE ("uri" = 'www.somedomain.com') LIMIT 1
>>
>> (actual domain obfuscated)
>>
>> This probably isn't coming out of the Sequel library itself, but googling
>> is not turning up any real answers.  The answers I saw were strictly
>> concerning HTTPS requests.  I am not using SSL or HTTPS.  This is just a
>> regular HTTP request.  The error is surfacing with a frequency of about 1
>> in 100 queries.
>>
>
> You are using SSL in the connection from your app to the database.  That's
> where the error is coming from.  It's probably related to a connection
> being dropped.  Does Sequel remove the related connection from the pool
> when it happens?
>
> Thanks,
> Jeremy
>
> --
> You received this message because you are subscribed to the Google Groups
> "sequel-talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sequel-talk.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
http://cybrains.net

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to