-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to save options with Reverse Proxy #2752
Comments
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. |
This issue is happening on Windows with proxy enabled or not. |
I'm another one with this issue - I've just installed Headphones today, when running it under the Localhost:8181/headphones (I've set it from this and this works without issue) When I set up the reverse proxy via IIS (The same way I've set it up for all my other tools, which works without issue) I get the above error. (I've attached an image from my IIS to show how it is configured.) I've set up for the "http_proxy" to be set to 1 (And saved and restarted Headphones after) During all this time I can confirm that the connection via the localhost address works fine, it is just when under the reverse proxy. Please see below the log I'm getting from IIS (Headphones isn't logging any errors, removed my address from the log): 2017-01-31 18:19:49 192.168.1.106 GET /headphones/configUpdate http_host=0.0.0.0&http_port=8181&http_username=&http_password=&launch_browser=1&https_cert=S%3A%5CWebsites%5CHeadphones%5Cserver.crt&https_key=S%3A%5CWebsites%5CHeadphones%5Cserver.key&api_key=7ca79e3fafb69b0130271e1f1dd00cc6&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=0&torrentblackhole_dir=&magnet_links=0&transmission_host=&transmission_username=&transmission_password=&utorrent_host=&utorrent_username=&utorrent_password=&utorrent_label=&deluge_host=&deluge_cert=&deluge_password=&deluge_label=&deluge_done_directory=&numberofseeders=10&download_torrent_dir=&prefer_torrents=0&newznab_host=&newznab_apikey=&newznab_enabled=1&nzbsorg_hash=&omgwtfnzbs_uid=&omgwtfnzbs_apikey=&piratebay_proxy_url=&piratebay_ratio=&kat_proxy_url=&kat_ratio=&waffles_uid=&waffles_passkey=&waffles_ratio=&rutracker_user=&rutracker_password=&rutracker_ratio=&whatcd_username=&whatcd_password=&whatcd_url=https%3A%2F%2Fwhat.cd&whatcd_ratio=&pth_username=&pth_password=&pth_url=https%3A%2F%2Fpasstheheadphones.me&pth_ratio=&strike_ratio=&torznab_host=&torznab_apikey=&torznab_enabled=1&oldpiratebay_url=&oldpiratebay_ratio=&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=&cue_split=1&album_art_format=folder&destination_dir=&lossless_destination_dir=&boxcar_token=&email_from=&email_to=&email_smtp_server=&email_smtp_user=&email_smtp_password=&email_smtp_port=25&growl_host=&growl_password=&xbmc_host=&xbmc_username=&xbmc_password=&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%24Album+%5B%24Year%5D&file_format=%24Track+%24Artist+-+%24Album+%5B%24Year%5D+-+%24Title&encoderlossless=1&delete_lossless_files=1&encoder=ffmpeg&encoder_multicore_count=0&encoderoutputformat=mp3&encodervbrcbr=cbr&encoderquality=2&bitrate=192&samplingfrequency=44100&advancedencoder=&xldprofile=&encoderoutputformat=mp3&encoder_path=&autowant_upcoming=1&autowant_manually_added=1&folder_permissions=0755&file_permissions=0644&cache_sizemb=32&log_dir=S%3A%5CWebsites%5CHeadphones%5Clogs&cache_dir=S%3A%5CWebsites%5CHeadphones%5Ccache&songkick_enabled=1&songkick_apikey=nd1We7dFW2RqxPw8&songkick_location=&mirror=musicbrainz.org&customhost=localhost&customport=5000&customuser=&custompass=&customsleep=1&hpuser=&hppass= 443 - 81.174.168.84 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/51.0.2704.79+Safari/537.36+Edge/14.14393 https://{My Address}/headphones/config 404 15 0 19 |
I've always had this issue.
currently running: 5a598fe
Windows 2012R2 + IIS 8.5
Python Version: 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)]
SSL Version: OpenSSL 1.0.2h 3 May 2016
When I open Headphones through an IIS reverse proxy everything works except saving the options.

I have enabled the proxy setting in the config
If I open headphones on the internal IP and port I'm able to save the settings. There are no entries in the debug log.
When I look in my IIS rewrite log I see the a 404 error.
(All personal data is removed)
The text was updated successfully, but these errors were encountered: