· 6 years ago · Feb 18, 2020, 02:22 AM
1HTTP/1.1 500 Internal Server Error
2#hasheq((errors . #hasheq((detail . Internal server error) (reason . %BadFunctionError{term: %Phoenix.ActionClauseError{args: [%Plug.Conn{adapter: {Plug.Cowboy.Conn, :...}, assigns: %{locale: "en", token: %Pleroma.Web.OAuth.Token{__meta__: #Ecto.Schema.Metadata<:loaded, "oauth_tokens">, app: #Ecto.Association.NotLoaded<association :app is not loaded>, app_id: 1168104, id: 1337945, inserted_at: ~N[2020-02-18 01:30:25], refresh_token: "zmiseZrnvJCA3XzPQQdODxYCzmKfsRCG4Yylc8yUG0I", scopes: ["read", "write"], token: "zqybM2U9T2cZo-hgmme0LtEwxCmA6U_IWQuGjhpPuUQ", updated_at: ~N[2020-02-18 01:30:25], user: %Pleroma.User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, ap_id: "https://shitposter.club/users/MarioBot", avatar: %{"name" => "blob.png", "type" => "Image", "url" => [%{"href" => "https://shitposter.club/media/0a766747f6010fc9d43c535a589dd654a6c4764886065063642eac6ba352e24a.png?name=blob.png", "mediaType" => "image/png", "type" => "Link"}]}, bio: nil, deliveries: #Ecto.Association.NotLoaded<association :deliveries is not loaded>, email: "brentgordon146@gmail.com", follower_address: "https://shitposter.club/users/MarioBot/followers", following: ["https://shitposter.club/users/MarioBot/followers", "https://shitposter.club/users/moonman/followers"], following_address: nil, id: "9s99Hq44Cnv8PKBwWG", info: %Pleroma.User.Info{background: %{}, salmon: nil, show_role: true, mutes: [], banner: %{"name" => "types-away.jpg", "type" => "Image", "url" => [%{"href" => "https://shitposter.club/media/cb2481b997e90f67cfef5e9522f660db363015d51a90768044dd307230818fda.jpg?name=types-away.jpg", "mediaType" => "image/jpeg", "type" => "Link"}]}, hide_follows: false, hide_followers_count: false, blocks: [], no_rich_text: false, confirmation_token: "MwkVTLC7jZRnfTNh8i1rD_KjrPuDDBQTDcfQfr2DBlw=", hub: nil, locked: false, hide_followers: false, raw_fields: [], is_admin: false, domain_blocks: [], uri: nil, hide_favorites: true, fields: nil, is_moderator: false, pleroma_settings_store: %{}, following_count: nil, ...}, inserted_at: ~N[2020-02-18 01:22:26], last_digest_emailed_at: ~N[2020-02-17 18:22:26], last_refreshed_at: nil, local: true, name: "Mario Bot", nickname: "MarioBot", notifications: #Ecto.Association.NotLoaded<association :notifications is not loaded>, password: nil, password_confirmation: nil, password_hash: "$pbkdf2-sha512$160000$PXS9.qDJZ1yRvpKIyJ/8EQ$F.MOHeB5hTWRiLjONUu8W0oDgMZf0Z4vs8VHtzNpJLYPppR47hCkG4UkrWz8gfiuIxEjLaVwBfOYI6bF/6lNug", registrations: #Ecto.Association.NotLoaded<association :registrations is not loaded>, search_rank: nil, search_type: nil, tags: [], updated_at: ~N[2020-02-18 01:25:49]}, user_id: "9s99Hq44Cnv8PKBwWG", valid_until: ~N[2020-02-18 01:40:25.804063]}, user: %Pleroma.User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, ap_id: "https://shitposter.club/users/MarioBot", avatar: %{"name" => "blob.png", "type" => "Image", "url" => [%{"href" => "https://shitposter.club/media/0a766747f6010fc9d43c535a589dd654a6c4764886065063642eac6ba352e24a.png?name=blob.png", "mediaType" => "image/png", "type" => "Link"}]}, bio: nil, deliveries: #Ecto.Association.NotLoaded<association :deliveries is not loaded>, email: "brentgordon146@gmail.com", follower_address: "https://shitposter.club/users/MarioBot/followers", following: ["https://shitposter.club/users/MarioBot/followers", "https://shitposter.club/users/moonman/followers"], following_address: nil, id: "9s99Hq44Cnv8PKBwWG", info: %Pleroma.User.Info{background: %{}, salmon: nil, show_role: true, mutes: [], banner: %{"name" => "types-away.jpg", "type" => "Image", "url" => [%{"href" => "https://shitposter.club/media/cb2481b997e90f67cfef5e9522f660db363015d51a90768044dd307230818fda.jpg?name=types-away.jpg", "mediaType" => "image/jpeg", "type" => "Link"}]}, hide_follows: false, hide_followers_count: false, blocks: [], no_rich_text: false, confirmation_token: "MwkVTLC7jZRnfTNh8i1rD_KjrPuDDBQTDcfQfr2DBlw=", hub: nil, locked: false, hide_followers: false, raw_fields: [], is_admin: false, domain_blocks: [], uri: nil, hide_favorites: true, fields: nil, is_moderator: false, pleroma_settings_store: %{}, following_count: nil, magic_key: nil, id: "a6fb8c7f-c5a8-4a56-b02a-0de5b486a623", keys: "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAv5flH+AoMN4dAo/L5x6gaQiA1WHjp1t+l+EJl3lJW6WmwcfL\nuBRCqJHlSn0HWl0ynlY4A6XtPqRVzVb4xSYHDEmxLHQVMn1kzMf2uXevbEYYc3iC\nNFao+68/Z7MWXZJrpZ/1A6x3kwO/PJHkFLX+xt1XJNT+RJoTln4IndFbKqFeuZDB\n9ZJMAg1S9/28KVknLZI1sHH6XqRSkuT7EY+OYfu0OVf1QhcfhsCwmwB1Zxv3cr98\nJ6EeW75JEUmEUU+BTU3ugYB95V8M06pA5kKedcOKNQXSQoJnqC0QLE7S+SycQsVT\n3aSevvz+A+OSD7xAAWgiJmfqe7r7Y83HDDtaoQIDAQABAoIBAE9mi7YiF4XpBuzA\n2yf1MVVWCM5luwroiBY5VNhJk3U/uVQlkO/Atb9Wd0ffeOSiKxAjeyNH6IJFaKmo\nmYBauiEFiT96/C3oeZXEaSODzld41TlFf/Bg2bc0cXpwZZxxydrh55CWMRfkPaTE\ncVmD8wpHQI4rFxUnJWcA5GFDGh0X+p6wCCzk9p0LOXP+j3RIecNCIKnC50vH0ltx\n5noc5zZpT2m3K0q11XWxArARe4rFU0J/crbLNUe0zMWG5BIhVmna07a84ZbjTMdm\nRFmOPZTb+0i5WL5eIqOcVyTLV8+3sx0Rt2jG0d6CuponkSwBxnG4ESOsEXij8SRg\nYiPiTeECgYEA9rqNP0ng7FeIabATpiVLBYfT1+1/NgH+KCcrJEY5xA4M1vrsE2DQ\nuxpzZQIfL23XIAVkxToU0oSh6gza43l4jyMsAzdS6XsrqyXkiULeW0Tuy2iWGssE\nyXrV3hYxsEos2yzXnGO4nJR9q9qzuMTSc7bqDC1dfuuZd1rO5WR7x3sCgYEAxsr1\nkjurAbFJztI1AY3lbl/hxQeb0KpTFkHCt/2/zBs5O+yLgVgG+Z3IM68Cfi+NZlJC\nKKe+Gb5vDFn7eEP+reSY7l3aZ6oFzWg4X33Qx0Vm4Pz0HTDYxeYq+3uCllN2Q6Rm\nBVicDeECcJQXPEQGDUHVwUH70YqmlruKUb4GvZMCgYBoptw+mgGTfdVYrtzGvk7B\n+8j5b71jlRjOwz5jVn4uEJ+VmD0GQyyGEEQd9fZwUbDL3j3OAkLOwH9FHUrC7cUb\nQZnri03ZxurQ33O+XOSf5e87zBLPLonLRBTu7I8K7Yt1M+IIbavijoF3oX5VwvZZ\nKp6/p4ZezWP84kGbvzFZfQKBgFyQXNB+oB3lo2x+TNgwbkh6tPG9nTwIUy/l5vkt\nWoV7l6bjegH8LyND6NjIAO0ozzp5yvyLPuVV2vdxXrqdTpVCAEPdx7jFXnZKtRUh\nzHk9Q643mqOM/yMHDbSTyjadHlBY2Hhczi1YPH6XNkqFkhvSL+oRA2SKnw9IvBtb\n1F+pAoGBAJW1B0dEj/LXEyOhISrr4QAU4n9svqVV+B+ofy3its9CgCQu86CiBuvV\n6d/puJjwqj6K0uJDNxI5zDIqLpcUTsCWq9tB1eZ3mgj4SZATQbegx6Xxvdy4Bvd9\nM8OliLHBDshqiWywE2aSsWTl8c1P2JCF6/XVgattdyvNH9y/j9p1\n-----END RSA PRIVATE KEY-----", confirmation_pending: true, password_reset_pending: false, muted_notifications: [], skip_thread_containment: false, topic: nil, mascot: nil, ...}, inserted_at: ~N[2020-02-18 01:22:26], last_digest_emailed_at: ~N[2020-02-17 18:22:26], last_refreshed_at: nil, local: true, name: "Mario Bot", nickname: "MarioBot", notifications: #Ecto.Association.NotLoaded<association :notifications is not loaded>, password: nil, password_confirmation: nil, password_hash: "$pbkdf2-sha512$160000$PXS9.qDJZ1yRvpKIyJ/8EQ$F.MOHeB5hTWRiLjONUu8W0oDgMZf0Z4vs8VHtzNpJLYPppR47hCkG4UkrWz8gfiuIxEjLaVwBfOYI6bF/6lNug", registrations: #Ecto.Association.NotLoaded<association :registrations is not loaded>, search_rank: nil, search_type: nil, tags: [], updated_at: ~N[2020-02-18 01:25:49]}}, before_send: [#Function<0.32542428/1 in Plug.Session.before_send/2>, #Function<0.49113890/1 in Pleroma.Web.Endpoint.PipelineInstrumenter.call/2>, #Function<1.129014997/1 in Plug.Logger.call/2>], body_params: %{}, cookies: %{}, halted: false, host: "shitposter.club", method: "POST", owner: #PID<0.19255.147>, params: %{}, path_info: ["api", "v1", "media"], path_params: %{}, port: 80, private: %{Pleroma.Web.Router => {[], %{Plug.Swoosh.MailboxPreview => ["mailbox"]}}, :phoenix_action => :upload, :phoenix_controller => Pleroma.Web.MastodonAPI.MastodonAPIController, :phoenix_endpoint => Pleroma.Web.Endpoint, :phoenix_format => "json", :phoenix_layout => {Pleroma.Web.LayoutView, "app.html"}, :phoenix_router => Pleroma.Web.Router, :phoenix_view => Pleroma.Web.MastodonAPI.MastodonAPIView, :plug_multipart => :done, :plug_session => %{"user_id" => "9s99Hq44Cnv8PKBwWG"}, :plug_session_fetch => :done, :plug_session_info => :write}, query_params: %{}, query_string: "", remote_ip: {127, 0, 0, 1}, req_cookies: %{}, req_headers: [{"accept-encoding", "gzip"}, {"authorization", "Bearer zqybM2U9T2cZo-hgmme0LtEwxCmA6U_IWQuGjhpPuUQ"}, {"connection", "upgrade"}, {"content-length", "227092"}, {"content-type", "multipart/form-data; boundary=2812517a1d503d275d5c0839ac049be5"}, {"host", "shitposter.club"}, {"user-agent", "Racket/7.2 (net/http-client)"}], request_path: "/api/v1/media", resp_body: nil, resp_cookies: %{}, resp_headers: [{"cache-control", "max-age=0, private, must-revalidate"}, {"access-control-allow-origin", "*"}, {"access-control-expose-headers", "Link,X-RateLimit-Reset,X-RateLimit-Limit,X-RateLimit-Remaining,X-Request-Id,Idempotency-Key"}, {"access-control-allow-credentials", "true"}, {"x-xss-protection", "1; mode=block"}, {"x-permitted-cross-domain-policies", "none"}, {"x-frame-options", "DENY"}, {"x-content-type-options", "nosniff"}, {"referrer-policy", "same-origin"}, {"x-download-options", "noopen"}, {"content-security-policy", "default-src 'none'; base-uri 'self'; frame-ancestors 'none'; img-src 'self' data: https:; media-src 'self' https:; style-src 'self' 'unsafe-inline'; font-src 'self'; manifest-src 'self'; connect-src 'self' https://shitposter.club wss://shitposter.club http://localhost:3035/; script-src 'self' 'unsafe-eval'; upgrade-insecure-requests;"}, {"x-request-id", "FfRcgsprn2VMNqMA8XmD"}], scheme: :http, script_name: [], secret_key_base: :..., state: :unset, status: nil}, %{}], arity: 2, clauses: nil, function: :upload, kind: nil, module: Pleroma.Web.MastodonAPI.MastodonAPIController}}))))