Skip to content

Instantly share code, notes, and snippets.

@vasilakisfil vasilakisfil/create.rb Secret
Created Jun 26, 2018

Embed
What would you like to do?
D, [2018-06-26T03:05:36.159533 #15319] DEBUG -- : [httplog] Sending: POST https://mastodon.social/inbox
D, [2018-06-26T03:05:36.159607 #15319] DEBUG -- : [httplog] Header: Host: mastodon.social
D, [2018-06-26T03:05:36.159620 #15319] DEBUG -- : [httplog] Header: Date: Tue, 26 Jun 2018 00:05:36 GMT
D, [2018-06-26T03:05:36.159628 #15319] DEBUG -- : [httplog] Header: Signature: keyId="https://vasilakisfil.social/actor",headers="(request-target) host date",signature="rm2iVwooWlTNBvFuhNClFm2julRQ29K8Phyv0lbStYE9nArzW33+2ZSkk6W2b6wnka2T5zEpYOXK2qT7HMC7NVQBrRU3puRpLLjAn/eTYXlREki/8cRX/itpcA1XOLy0xuXAdUYreNR8y80awbtSluh25SW/mmCRFUaDk8WFR55FUjI37tmnOlCwSsp6kepYXwtvmDN4OZtNkiD8MqHSJurASAHg5kmhWuERwpCHuG173tRzgdjSKOLXbUwQxJI5T168u5GEhoZihQcb9PntKxLWWLEfWlictAmDPw1hUk4VyA5uKTcImeVJo5Eo1wwUmdf15Vvl7st9RUveWq2hrQ=="
D, [2018-06-26T03:05:36.159636 #15319] DEBUG -- : [httplog] Header: Content-Type: application/ld+json; profile="https://www.w3.org/ns/activitystreams"
D, [2018-06-26T03:05:36.159644 #15319] DEBUG -- : [httplog] Header: Connection: close
D, [2018-06-26T03:05:36.159652 #15319] DEBUG -- : [httplog] Header: User-Agent: http.rb/3.3.0
D, [2018-06-26T03:05:36.159670 #15319] DEBUG -- : [httplog] Data: {
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://vasilakisfil.social/create-hello-world",
"type": "Create",
"actor": "https://vasilakisfil.social/actor",
"object": {
"id": "https://vasilakisfil.social/hello-world",
"type": "Note",
"published": "2018-06-23T17:17:11Z",
"attributedTo": "https://vasilakisfil.social/actor",
"inReplyTo": "https://mastodon.social/@Gargron/100254678717223630",
"content": "<p> Hi </p>",
"to": "https://www.w3.org/ns/activitystreams#Public"
}
}
D, [2018-06-26T03:05:36.159698 #15319] DEBUG -- : [httplog] Connecting: mastodon.social:443
D, [2018-06-26T03:05:36.724886 #15319] DEBUG -- : [httplog] Status: 401
D, [2018-06-26T03:05:36.724958 #15319] DEBUG -- : [httplog] Benchmark: 0.555725 seconds
D, [2018-06-26T03:05:36.725034 #15319] DEBUG -- : [httplog] Header: Date: Tue, 26 Jun 2018 00:05:36 GMT
D, [2018-06-26T03:05:36.725052 #15319] DEBUG -- : [httplog] Header: Content-Type: text/plain; charset=utf-8
D, [2018-06-26T03:05:36.725065 #15319] DEBUG -- : [httplog] Header: Transfer-Encoding: chunked
D, [2018-06-26T03:05:36.725077 #15319] DEBUG -- : [httplog] Header: Connection: close
D, [2018-06-26T03:05:36.725088 #15319] DEBUG -- : [httplog] Header: Server: Mastodon
D, [2018-06-26T03:05:36.725099 #15319] DEBUG -- : [httplog] Header: X-Frame-Options: DENY
D, [2018-06-26T03:05:36.725124 #15319] DEBUG -- : [httplog] Header: X-Content-Type-Options: nosniff
D, [2018-06-26T03:05:36.725135 #15319] DEBUG -- : [httplog] Header: X-Xss-Protection: 1; mode=block
D, [2018-06-26T03:05:36.725146 #15319] DEBUG -- : [httplog] Header: Vary: Accept-Encoding
D, [2018-06-26T03:05:36.725157 #15319] DEBUG -- : [httplog] Header: Cache-Control: no-cache
D, [2018-06-26T03:05:36.725168 #15319] DEBUG -- : [httplog] Header: X-Request-Id: 21e0f32f-8707-4086-909d-b70cbee97529
D, [2018-06-26T03:05:36.725180 #15319] DEBUG -- : [httplog] Header: X-Runtime: 0.170269
D, [2018-06-26T03:05:36.725331 #15319] DEBUG -- : [httplog] Response:
#<HTTP::Response/1.1 401 Unauthorized {"Date"=>"Tue, 26 Jun 2018 00:05:36 GMT", "Content-Type"=>"text/plain; charset=utf-8", "Transfer-Encoding"=>"chunked", "Connection"=>"close", "Server"=>"Mastodon", "X-Frame-Options"=>"DENY", "X-Content-Type-Options"=>"nosniff", "X-Xss-Protection"=>"1; mode=block", "Vary"=>"Accept-Encoding", "Cache-Control"=>"no-cache", "X-Request-Id"=>"21e0f32f-8707-4086-909d-b70cbee97529", "X-Runtime"=>"0.170269"}>
#<HTTP::Response::Body:2b1ae35feed8 @streaming=false>
401 Unauthorized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.