{"action":"created","issue":{"url":"https://api.github.com/repos/ThomasLeister/prosody-filer/issues/12","repository_url":"https://api.github.com/repos/ThomasLeister/prosody-filer","labels_url":"https://api.github.com/repos/ThomasLeister/prosody-filer/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ThomasLeister/prosody-filer/issues/12/comments","events_url":"https://api.github.com/repos/ThomasLeister/prosody-filer/issues/12/events","html_url":"https://github.com/ThomasLeister/prosody-filer/issues/12","id":405511617,"node_id":"MDU6SXNzdWU0MDU1MTE2MTc=","number":12,"title":"Version 1.0.0.0 response invalid mac","user":{"login":"centertivevier","id":27358890,"node_id":"MDQ6VXNlcjI3MzU4ODkw","avatar_url":"https://avatars2.githubusercontent.com/u/27358890?v=4","gravatar_id":"","url":"https://api.github.com/users/centertivevier","html_url":"https://github.com/centertivevier","followers_url":"https://api.github.com/users/centertivevier/followers","following_url":"https://api.github.com/users/centertivevier/following{/other_user}","gists_url":"https://api.github.com/users/centertivevier/gists{/gist_id}","starred_url":"https://api.github.com/users/centertivevier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centertivevier/subscriptions","organizations_url":"https://api.github.com/users/centertivevier/orgs","repos_url":"https://api.github.com/users/centertivevier/repos","events_url":"https://api.github.com/users/centertivevier/events{/privacy}","received_events_url":"https://api.github.com/users/centertivevier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-02-01T01:17:49Z","updated_at":"2019-02-02T00:09:06Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nall file uploads are repsonse with invalid mac:\r\n\r\nFeb 01 02:09:24 prosody-filer[34172]: MAC sent:  596rogbetoh3hteb\r\nFeb 01 02:09:24 prosody-filer[34172]: 2019/02/01 02:09:24 fileStorePath: upload/zko4b3j kbrv/1.png\r\nFeb 01 02:09:24 prosody-filer[34172]: 2019/02/01 02:09:24 ContentLength: 26856\r\nFeb 01 02:09:24 prosody-filer[34172]: 2019/02/01 02:09:24 Invalid MAC.\r\n\r\nWith the last release candidat are not this problem. Give it a reason for this problem?"},"comment":{"url":"https://api.github.com/repos/ThomasLeister/prosody-filer/issues/comments/459910407","html_url":"https://github.com/ThomasLeister/prosody-filer/issues/12#issuecomment-459910407","issue_url":"https://api.github.com/repos/ThomasLeister/prosody-filer/issues/12","id":459910407,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1OTkxMDQwNw==","user":{"login":"centertivevier","id":27358890,"node_id":"MDQ6VXNlcjI3MzU4ODkw","avatar_url":"https://avatars2.githubusercontent.com/u/27358890?v=4","gravatar_id":"","url":"https://api.github.com/users/centertivevier","html_url":"https://github.com/centertivevier","followers_url":"https://api.github.com/users/centertivevier/followers","following_url":"https://api.github.com/users/centertivevier/following{/other_user}","gists_url":"https://api.github.com/users/centertivevier/gists{/gist_id}","starred_url":"https://api.github.com/users/centertivevier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centertivevier/subscriptions","organizations_url":"https://api.github.com/users/centertivevier/orgs","repos_url":"https://api.github.com/users/centertivevier/repos","events_url":"https://api.github.com/users/centertivevier/events{/privacy}","received_events_url":"https://api.github.com/users/centertivevier/received_events","type":"User","site_admin":false},"created_at":"2019-02-02T00:09:06Z","updated_at":"2019-02-02T00:09:06Z","author_association":"NONE","body":"Hi,\r\n\r\nyes. With the version v1.0.0-rc3 works alll fine. With Version 1.0.0 i get the problem.\r\n\r\n**Configfile for prosody-filer:**\r\n\r\n`\r\n### IP address and port to listen to, e.g. \"127.0.0.1:8484\"\r\nlistenport      = \"127.0.0.1:8808\"\r\n\r\n### Secret (must match the one in prosody.conf.lua!)\r\nsecret          = \"mysecret\"\r\n\r\n### Where to store the uploaded files\r\nstoreDir        = \"./upload/\"\r\n\r\n### Subdirectory for HTTP upload / download requests (usually \"upload/\")\r\nuploadSubDir    = \"upload/\"\r\n`\r\n**I am using a Apache with the following Config:**\r\n\r\n`\r\n#Port 80\r\n<VirtualHost *:80>\r\nServerName example.server.eu\r\nRedirectPermanent / https://example.server.eu/\r\n</VirtualHost>\r\n\r\n#Aufruf SSL\r\n<VirtualHost *:443>\r\n#Aufruf Webseite\r\nServerName example.server.eu\r\nSSLEngine on\r\nSSLCertificateFile \"\"\r\nSSLCertificateKeyFile \"\r\nHeader always set Public-Key-Pins: ''\r\nHeader always set Strict-Transport-Security \"max-age=63072000; includeSubdomains; preload\"\r\nH2Direct on\r\n\r\n <Location /upload/>\r\n  # Allow cross site requests\r\n  Header always set Access-Control-Allow-Origin \"*\"\r\n  Header always set Access-Control-Allow-Headers \"Content-Type\"\r\n  Header always set Access-Control-Allow-Methods \"OPTIONS, PUT, GET\"\r\n\r\n  RewriteEngine On\r\n\r\n  # modify status code of preflight request\r\n    RewriteCond %{REQUEST_METHOD} OPTIONS\r\n    RewriteRule ^(.*)$ $1 [R=200,L]\r\n </Location>\r\n\r\n SSLProxyEngine on\r\n\r\n    ProxyPreserveHost On\r\n    ProxyRequests Off\r\n    ProxyPass / http://localhost:8808/upload/\r\n    ProxyPassReverse / http://localhost:8808/upload/\r\n<IfModule mod_security2.c>\r\n  SecRuleRemoveById 920420\r\n  SecRuleRemoveById 911100\r\n</IfModule>\r\n</VirtualHost>\r\n`"}}
{"actor":{"display_login":"centertivevier"}}