{"action":"created","issue":{"url":"https://api.github.com/repos/rembo10/headphones/issues/2752","repository_url":"https://api.github.com/repos/rembo10/headphones","labels_url":"https://api.github.com/repos/rembo10/headphones/issues/2752/labels{/name}","comments_url":"https://api.github.com/repos/rembo10/headphones/issues/2752/comments","events_url":"https://api.github.com/repos/rembo10/headphones/issues/2752/events","html_url":"https://github.com/rembo10/headphones/issues/2752","id":183624406,"number":2752,"title":"Unable to save options with Reverse Proxy","user":{"login":"Rouzax","id":4103090,"avatar_url":"https://avatars.githubusercontent.com/u/4103090?v=3","gravatar_id":"","url":"https://api.github.com/users/Rouzax","html_url":"https://github.com/Rouzax","followers_url":"https://api.github.com/users/Rouzax/followers","following_url":"https://api.github.com/users/Rouzax/following{/other_user}","gists_url":"https://api.github.com/users/Rouzax/gists{/gist_id}","starred_url":"https://api.github.com/users/Rouzax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rouzax/subscriptions","organizations_url":"https://api.github.com/users/Rouzax/orgs","repos_url":"https://api.github.com/users/Rouzax/repos","events_url":"https://api.github.com/users/Rouzax/events{/privacy}","received_events_url":"https://api.github.com/users/Rouzax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T08:44:30Z","updated_at":"2016-10-20T01:55:03Z","closed_at":null,"body":"I've always had this issue.\r\ncurrently running: 5a598fe6116e20d7b0a3595339efa08aa385b967 \r\nWindows 2012R2 + IIS 8.5\r\nPython Version: 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)]\r\nSSL Version: OpenSSL 1.0.2h 3 May 2016\r\n\r\nWhen I open Headphones through an IIS reverse proxy everything works except saving the options.\r\n![image](https://cloud.githubusercontent.com/assets/4103090/19469958/e40b9cba-951d-11e6-8bf5-1d1bcfbaa2e4.png)\r\n\r\nI have enabled the proxy setting in the config\r\n```\r\nhttp_proxy = 1\r\n```\r\n\r\nIf I open headphones on the internal IP and port I'm able to save the settings. There are no entries in the debug log.\r\nWhen I look in my IIS rewrite log I see the a 404 error.\r\n(All personal data is removed)\r\n```\r\n#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken\r\n2016-10-18 08:33:32 192.168.2.2 GET /configUpdate http_host=0.0.0.0&http_port=8181&http_username=USER&http_password=PASSWORD&https_cert=C%3A%5CGitHub%5Cheadphones%5Cserver.crt&https_key=C%3A%5CGitHub%5Cheadphones%5Cserver.key&api_enabled=1&api_key=APIKEY&search_interval=1440&download_scan_interval=5&libraryscan_interval=300&update_db_interval=24&mb_ignore_age=365&nzb_downloader=0&sab_host=&sab_username=&sab_password=&sab_apikey=&sab_category=&nzbget_host=&nzbget_username=nzbget&nzbget_password=&nzbget_category=&nzbget_priority=0&blackhole_dir=&download_dir=&usenet_retention=1500&torrent_downloader=2&torrentblackhole_dir=&magnet_links=1&transmission_host=&transmission_username=&transmission_password=&utorrent_host=http%3A%2F%2Flocalhost%3A10443&utorrent_username=USER&utorrent_password=PASSWORD&utorrent_label=Music&deluge_host=&deluge_cert=&deluge_password=&deluge_label=&deluge_done_directory=&numberofseeders=2&download_torrent_dir=C%3A%5C_Data%5CPrivate%5CuTorrent%5C_Proccessed%5CMusic&prefer_torrents=1&newznab_host=&newznab_apikey=&newznab_enabled=1&nzbsorg_hash=&omgwtfnzbs_uid=&omgwtfnzbs_apikey=&use_piratebay=1&piratebay_proxy_url=&piratebay_ratio=&kat_proxy_url=&kat_ratio=&waffles_uid=&waffles_passkey=&waffles_ratio=&use_rutracker=1&rutracker_user=USER&rutracker_password=PASSWORD&rutracker_ratio=&whatcd_username=&whatcd_password=&whatcd_ratio=&use_strike=1&strike_ratio=&torznab_host=&torznab_apikey=&torznab_enabled=1&use_oldpiratebay=1&oldpiratebay_url=&oldpiratebay_ratio=&use_mininova=1&mininova_ratio=&tquattrecentonze_user=&tquattrecentonze_password=&preferred_quality=0&lossless_bitrate_from=0&lossless_bitrate_to=0&preferred_bitrate=&preferred_bitrate_low_buffer=0&preferred_bitrate_high_buffer=0&ignored_words=&preferred_words=&required_words=&rename_files=1&correct_metadata=1&cue_split=1&cleanup_files=1&add_album_art=1&album_art_format=folder&destination_dir=&lossless_destination_dir=&boxcar_token=&email_enabled=1&email_from=headphones%40mgdn.nl&email_to=martijn.groothuis%40gmail.com&email_smtp_server=MAILSERVER&email_smtp_user=MAILUSER&email_smtp_password=PASSWORD&email_smtp_port=26&growl_host=&growl_password=&xbmc_enabled=1&xbmc_host=KODI&xbmc_username=kodi&xbmc_password=PASSWORD&xbmc_update=1&lms_host=&nma_apikey=&nma_priority=0&osx_notify_app=%2FApplications%2FHeadphones&plex_server_host=&plex_client_host=&plex_username=&plex_password=&plex_token=&prowl_keys=&prowl_priority=0&pushalot_apikey=&pushbullet_apikey=&pushbullet_deviceid=&pushover_keys=&pushover_priority=0&pushover_apitoken=&subsonic_host=&subsonic_username=&subsonic_password=&telegram_token=&telegram_userid=&folder_format=%24Artist%2F%24Year+-+%24Album&file_format=%24Disc.%24Track+-+%24Artist+-+%24Title&encoderlossless=1&delete_lossless_files=1&encoder=ffmpeg&encoder_multicore=1&encoder_multicore_count=0&encoderoutputformat=mp3&encodervbrcbr=cbr&encoderquality=2&bitrate=192&samplingfrequency=44100&advancedencoder=&xldprofile=&encoderoutputformat=mp3&encoder_path=&include_extras=1&compilation_temp=1&remix_temp=1&dj_mix_temp=1&compilation=1&remix=1&dj_mix=1&official_releases_only=1&autowant_manually_added=1&folder_permissions=0755&file_permissions=0644&cache_sizemb=512&log_dir=C%3A%5CGitHub%5Cheadphones%5Clogs&cache_dir=C%3A%5CGitHub%5Cheadphones%5Ccache&songkick_enabled=1&songkick_apikey=APIKEY&songkick_filter_enabled=1&songkick_location=clientip&mirror=custom&customhost=MUSICBRAINZ&customport=5000&customuser=&custompass=&customsleep=0&hpuser=&hppass= 443 - 192.168.2.254 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.3;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/53.0.2785.143+Safari/537.36 https://headphones.XXX.YYY/config 404 15 0 0\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/rembo10/headphones/issues/comments/254989052","html_url":"https://github.com/rembo10/headphones/issues/2752#issuecomment-254989052","issue_url":"https://api.github.com/repos/rembo10/headphones/issues/2752","id":254989052,"user":{"login":"jsaddiction","id":4644849,"avatar_url":"https://avatars.githubusercontent.com/u/4644849?v=3","gravatar_id":"","url":"https://api.github.com/users/jsaddiction","html_url":"https://github.com/jsaddiction","followers_url":"https://api.github.com/users/jsaddiction/followers","following_url":"https://api.github.com/users/jsaddiction/following{/other_user}","gists_url":"https://api.github.com/users/jsaddiction/gists{/gist_id}","starred_url":"https://api.github.com/users/jsaddiction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsaddiction/subscriptions","organizations_url":"https://api.github.com/users/jsaddiction/orgs","repos_url":"https://api.github.com/users/jsaddiction/repos","events_url":"https://api.github.com/users/jsaddiction/events{/privacy}","received_events_url":"https://api.github.com/users/jsaddiction/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T01:55:03Z","updated_at":"2016-10-20T01:55:03Z","body":"I am also seeing this issue with reverse proxy and synology.  I do not have http_proxy = 1 set.  I can use heaphones as normal however I do see the \"error\" message.  Logs/actions reflect as if there were no errors.  Example. If I set an album to wanted I receive the \"error\" message above but the album is snatched and processed as expected and log shows no error.  Every action results in an \"error\" message."}}
{"actor":{"display_login":"jsaddiction"}}