Skip to content

Instantly share code, notes, and snippets.

@superCap3
Last active January 4, 2016 03:19
Show Gist options
  • Save superCap3/8561313 to your computer and use it in GitHub Desktop.
Save superCap3/8561313 to your computer and use it in GitHub Desktop.
I, [2014-01-22T18:07:45.269786 #8702] INFO -- : making the call to get the timezone id from console
Adding handle: conn: 0x7f860b156000
Adding handle: send: 0
Adding handle: recv: 0
Curl_addHandleToPipeline: length: 1
- Conn 0 (0x7f860b156000) send_pipe: 1, recv_pipe: 0
About to connect() to go.adap.tv port 443 (#0)
Trying 74.217.78.174...
Connected to go.adap.tv (74.217.78.174) port 443 (#0)
TLS 1.2 connection using TLS_RSA_WITH_RC4_128_SHA
Server certificate: *.adap.tv
Server certificate: Entrust Certification Authority - L1C
Server certificate: Entrust.net Certification Authority (2048)
GET /org/list?id=6423&ts=1390406865&user_id=8842&signature=6XTLgs%2F7EQWvfbzfXeLQQ2qZfJ4%3D HTTP/1.1
Host: go.adap.tv
Accept: */*
User-Agent: Typhoeus - https://github.com/typhoeus/typhoeus
HTTP/1.1 200 OK
Server ribs2.0 is not blacklisted
Server: ribs2.0
Content-Type: application/json
Connection: Keep-Alive
Access-Control-Allow-Origin: -
Access-Control-Allow-Credentials: true
Access-Control-Expose-Header: Set-Cookie
Content-Length: 205
Connection #0 to host go.adap.tv left intact
I, [2014-01-22T18:07:50.505695 #8702] INFO -- : #<Typhoeus::Response:0x007f860b4a8e20 @options={:httpauth_avail=>0, :total_time=>5.234745, :starttransfer_time=>5.234329, :appconnect_time=>5.02191, :pretransfer_time=>5.021977, :connect_time=>4.163069, :namelookup_time=>3.958312, :effective_url=>"https://go.adap.tv:443/org/list?id=6423&ts=1390406865&user_id=8842&signature=6XTLgs%2F7EQWvfbzfXeLQQ2qZfJ4%3D", :primary_ip=>"74.217.78.174", :response_code=>200, :redirect_count=>0, :return_code=>:ok, :response_headers=>"HTTP/1.1 200 OK\r\nServer: ribs2.0\r\nContent-Type: application/json\r\nConnection: Keep-Alive\r\nAccess-Control-Allow-Origin: -\r\nAccess-Control-Allow-Credentials: true\r\nAccess-Control-Expose-Header: Set-Cookie\r\nContent-Length: 205\r\n\r\n", :response_body=>"{\"result\": { \"code\": \"OK\", \"msg\": \"\" },\"orgs\":[{\"id\":6423,\"status\":2,\"company_name\":\"SalesForce-Test1\",\"account_type\":\"TEST\",\"business_unit\":\"US_MARKETPLACE\",\"timezone\":228,\"continent\":43,\"currency\":150}]}", :debug_info=>#<Ethon::Easy::DebugInfo:0x007f860d070158 @messages=[#<Ethon::Easy::DebugInfo::Message:0x007f860b4ab008 @type=:text, @message="Adding handle: conn: 0x7f860b156000\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aaf18 @type=:text, @message="Adding handle: send: 0\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aae28 @type=:text, @message="Adding handle: recv: 0\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aad38 @type=:text, @message="Curl_addHandleToPipeline: length: 1\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aac48 @type=:text, @message="- Conn 0 (0x7f860b156000) send_pipe: 1, recv_pipe: 0\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa8d8 @type=:text, @message="About to connect() to go.adap.tv port 443 (#0)\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa7e8 @type=:text, @message=" Trying 74.217.78.174...\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa6f8 @type=:text, @message="Connected to go.adap.tv (74.217.78.174) port 443 (#0)\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa568 @type=:text, @message="TLS 1.2 connection using TLS_RSA_WITH_RC4_128_SHA\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa478 @type=:text, @message="Server certificate: *.adap.tv\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa388 @type=:text, @message="Server certificate: Entrust Certification Authority - L1C\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa298 @type=:text, @message="Server certificate: Entrust.net Certification Authority (2048)\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa1a8 @type=:header_out, @message="GET /org/list?id=6423&ts=1390406865&user_id=8842&signature=6XTLgs%2F7EQWvfbzfXeLQQ2qZfJ4%3D HTTP/1.1\r\nHost: go.adap.tv\r\nAccept: */*\r\nUser-Agent: Typhoeus - https://github.com/typhoeus/typhoeus\r\n\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4aa068 @type=:header_in, @message="HTTP/1.1 200 OK\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9f28 @type=:text, @message="Server ribs2.0 is not blacklisted\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9e38 @type=:header_in, @message="Server: ribs2.0\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9cf8 @type=:header_in, @message="Content-Type: application/json\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9bb8 @type=:header_in, @message="Connection: Keep-Alive\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9a78 @type=:header_in, @message="Access-Control-Allow-Origin: -\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9938 @type=:header_in, @message="Access-Control-Allow-Credentials: true\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a97f8 @type=:header_in, @message="Access-Control-Expose-Header: Set-Cookie\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a96b8 @type=:header_in, @message="Content-Length: 205\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9528 @type=:header_in, @message="\r\n">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9438 @type=:data_in, @message="{\"result\": { \"code\": \"OK\", \"msg\": \"\" },\"orgs\":[{\"id\":6423,\"status\":2,\"company_name\":\"SalesForce-Test1\",\"account_type\":\"TEST\",\"business_unit\":\"US_MARKETPLACE\",\"timezone\":228,\"continent\":43,\"currency\":150}]}">, #<Ethon::Easy::DebugInfo::Message:0x007f860b4a9050 @type=:text, @message="Connection #0 to host go.adap.tv left intact\n">]>}, @request=#<Typhoeus::Request:0x007f860d070c20 @base_url="https://go.adap.tv:443/org/list?id=6423&ts=1390406865&user_id=8842&signature=6XTLgs%2F7EQWvfbzfXeLQQ2qZfJ4%3D", @original_options={:ssl_verifypeer=>false, :verbose=>true, :method=>:get}, @options={:ssl_verifypeer=>false, :verbose=>true, :method=>:get, :headers=>{"User-Agent"=>"Typhoeus - https://github.com/typhoeus/typhoeus"}, :maxredirs=>50}, @on_headers=[], @response=#<Typhoeus::Response:0x007f860b4a8e20 ...>, @on_complete=[], @on_success=[]>>
I, [2014-01-22T18:07:50.507114 #8702] INFO -- : #<Hashie::Mash orgs=[#<Hashie::Mash account_type="TEST" business_unit="US_MARKETPLACE" company_name="SalesForce-Test1" continent=43 currency=150 id=6423 status=2 timezone=228>] result=#<Hashie::Mash code="OK" msg="">>
D, [2014-01-22T18:07:50.508672 #8702] DEBUG -- request:
url: "https://cs13.salesforce.com/services/data/v26.0/sobjects/Adap_API_Audit_Log__c"
method: :post
headers: {"User-Agent"=>"Faraday v0.8.8", "Content-Type"=>"application/json", "Authorization"=>"OAuth 00DW00000076bIJ!ARgAQDzXFcc8zacaAC9EN.Q23ohBKMzFK714LN40fZD5_PkajPT9RH73fSPjoJfEZvvNeNMVIkuEbUMFaVbDjLTO.K9q_Bmc"}
body: "{\"Publisher_Id__c\":\"6423\",\"Opportunity__c\":\"0065000000NsLYY\",\"Action__c\":\"create campaign\",\"Campaign_Name__c\":\"Test Oppty 599ti ki pow\",\"Error_pushed_to_user__c\":\"CANNOT RETRIEVE THE TIMEZONE ID FROM THE CONSOLE\"}"
D, [2014-01-22T18:07:56.528709 #8702] DEBUG -- response:
status: "201"
headers: {"date"=>"Wed, 22 Jan 2014 16:07:56 GMT", "sforce-limit-info"=>"api-usage=195/5000000", "location"=>"/services/data/v26.0/sobjects/Adap_API_Audit_Log__c/a1YW0000000GorPMAS", "content-type"=>"application/json;charset=UTF-8", "transfer-encoding"=>"chunked", "connection"=>"close"}
body: "{\"id\":\"a1YW0000000GorPMAS\",\"success\":true,\"errors\":[]}"
I, [2014-01-22T18:07:56.528947 #8702] INFO -- : CANNOT RETRIEVE THE TIMEZONE ID FROM THE CONSOLE
::1 - - [22/Jan/2014 18:07:56] "GET /push_to_console/0065000000NsLYY HTTP/1.1" 200 - 30.6330
localhost - - [22/Jan/2014:18:07:25 EET] "GET /push_to_console/0065000000NsLYY HTTP/1.1" 200 0
- -> /push_to_console/0065000000NsLYY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment