StratoSource / StratoSource

Salesforce.com backup, source & release management
75 stars 23 forks source link

SSL3_GET_RECORD:decryption failed or bad record mac #11

Open zoomingrocket opened 12 years ago

zoomingrocket commented 12 years ago

I am using Stratosource on Fedora 17 and it errors out due to: SSL3_GET_RECORD:decryption failed or bad record mac

From /tmp/DEV_DEV_20120025090001_pull.log Starting Snapshot of DEV DEV 2012-09-25 08:00:02,629 - download - DEBUG - user='xxxx@xxx.com.dev' path='/tmp' types=[CustomPageWebLink CustomLabels CustomApplication CustomObject CustomObjectTranslation Translations CustomSite CustomTab DataCategoryGroup EmailTemplate HomePageLayout Layout Portal Profile RecordType RemoteSiteSetting HomePageComponent ArticleType ApexPage ApexClass ApexTrigger ApexComponent ReportType Scontrol StaticResource Workflow EntitlementTemplate] url='https://test.salesforce.com/services/Soap/u/23.0' 2012-09-25 08:00:03,830 - download - INFO - fetching audit data.. 2012-09-25 08:00:03,830 - download - INFO - loading changes for ApexClass,ApexPage,ApexTrigger,CustomObject,Workflow 2012-09-25 08:00:05,131 - download - DEBUG - Loaded 36 records for type ApexTrigger 2012-09-25 08:00:05,807 - download - DEBUG - Loaded 133 records for type CustomObject 2012-09-25 08:00:06,971 - download - DEBUG - Loaded 235 records for type ApexClass 2012-09-25 08:00:07,668 - download - DEBUG - Loaded 146 records for type ApexPage 2012-09-25 08:00:08,228 - download - DEBUG - Loaded 123 records for type Workflow 2012-09-25 08:00:14,975 - download - DEBUG - Loaded 1673 records for type CustomField 2012-09-25 08:00:14,976 - download - INFO - connecting to REST endpoint at cs11.salesforce.com 2012-09-25 08:00:14,976 - download - INFO - loading changes for EmailTemplate 2012-09-25 08:00:14,976 - download - DEBUG - invoking /services/data/v23.0/query/?q=select+Id%2C+Name%2C+DeveloperName%2C+LastModifiedById%2C+LastModifiedBy.Name%2C+LastModifiedBy.Email%2C+LastModifiedDate+from+EmailTemplate+where+NamespacePrefix+%3D+%27%27+order+by+name Traceback (most recent call last): File "manage.py", line 28, in execute_manager(settings) File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 459, in execute_manager utility.execute() File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv self.execute(_args, _options.dict) File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute output = self.handle(_args, _options) File "/usr/django/stratosource/../stratosource/admin/management/commands/download.py", line 56, in handle chgmap = agent.retrieve_changesaudit(types, br.api_pod) File "/usr/django/stratosource/admin/management/SalesforceAgent.py", line 163, in retrieve_changesaudit tmpemails = self._getEmailChangesMap(rest_conn) File "/usr/django/stratosource/admin/management/SalesforceAgent.py", line 213, in _getEmailChangesMap data = self._invokeGetREST(rest_conn, "query/?%s" % params) File "/usr/django/stratosource/admin/management/SalesforceAgent.py", line 232, in _invokeGetREST resultPayload = response.read() File "/usr/lib64/python2.7/httplib.py", line 541, in read return self._read_chunked(amt) File "/usr/lib64/python2.7/httplib.py", line 605, in _read_chunked self._safe_read(2) # toss the CRLF at the end of the chunk File "/usr/lib64/python2.7/httplib.py", line 647, in _safe_read chunk = self.fp.read(min(amt, MAXAMOUNT)) File "/usr/lib64/python2.7/socket.py", line 380, in read data = self._sock.recv(left) File "/usr/lib64/python2.7/ssl.py", line 241, in recv return self.read(buflen) File "/usr/lib64/python2.7/ssl.py", line 160, in read return self._sslobj.read(len) ssl.SSLError: [Errno 1] _ssl.c:1359: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac

Googled and it points to some openssl libraries issue with python and couple of workarounds, but not sure how to put in the workaround for Stratosource.

Any light on this will be helpful.

tiaank commented 11 years ago

Again, what exact OS are you using? We have not seen this. Can you run

uname -a

And paste that here?

zoomingrocket commented 11 years ago

[root@host-3 ~]# uname -a Linux host-3 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug 29 18:46:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

On Fri, Nov 16, 2012 at 2:54 PM, Jan Kruger notifications@github.comwrote:

Again, what exact OS are you using? We have not seen this. Can you run

uname -a

And paste that here?

— Reply to this email directly or view it on GitHubhttps://github.com/StratoSource/StratoSource/issues/11#issuecomment-10459780.

tiaank commented 11 years ago

I am unable to reproduce this issue. Sorry!