nami007 wrote:Salut, pour qu'on puisse vraiment t'aider, il nous faudrait les logs rutorrent, les logs headphones, ton rutorrent.conf et ton headphones.conf
Au final après arret de headphone puis une ballade au soleil rutorrent remarche !!! ...
Je relance headphone et paf ! ca plante rutorrent avec le message suivant dans le panel inférieur :
EDIT : un arrêt de headphone + restart de nginx regle remet rutorrent d'applomb.
<body> <h1>An error occurred.</h1> <p>Sorry, the page you are looking for is currently unavailable.<br/> Please try again later.</p> <p>If you are the system administrator of this resource then you should check the <a href="http://nginx.org/r/error_log">error log</a> for details.</p> <p><em>Faithfully yours, nginx.</em></p> </body> </html>
Note : j'ai choisi le port 8082 pour headphone qui suit le port de sickrage 8081.
Bonne lecture
rutorrent.conf
2015/12/13 13:26:06 [error] 17211#17211: *53576 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server:
_, request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 13:26:21 [error] 17211#17211: *53589 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server:
_, request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 13:26:27 [error] 17211#17211: *53584 open() "/var/www/rutorrent/favicon.ico" failed (2: No such file or directory), client: 78.245.88.44, server: _, request:
"GET /rutorrent/favicon.ico HTTP/1.1", host: "serveur.domaine"
2015/12/13 13:27:09 [error] 17211#17211: *53617 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server:
_, request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 13:27:12 [error] 17211#17211: *53617 open() "/var/www/rutorrent/favicon.ico" failed (2: No such file or directory), client: 78.245.88.44, server: _, request:
"GET /rutorrent/favicon.ico HTTP/1.1", host: "serveur.domaine"
2015/12/13 13:27:21 [error] 17211#17211: *53617 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server:
_, request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 13:27:24 [error] 17211#17211: *53618 open() "/var/www/rutorrent/favicon.ico" failed (2: No such file or directory), client: 78.245.88.44, server: _, request:
"GET /rutorrent/favicon.ico HTTP/1.1", host: "serveur.domaine"
2015/12/13 13:29:22 [error] 17211#17211: *53617 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server:
_, request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 13:31:22 [error] 17211#17211: *53726 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server:
_, request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 13:33:22 [error] 17211#17211: *53726 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server:
_, request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 14:18:54 [error] 10130#10130: *3 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server: _,
request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 14:19:30 [error] 10130#10130: *41 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server: _,
request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 14:21:50 [error] 10130#10130: *128 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 78.245.88.44, server: _
, request: "POST /EDDIE HTTP/1.1", upstream: "scgi://127.0.0.1:5001", host: "serveur.domaine", referrer: "[url]http://serveur.domaine/rutorrent/[/url]"
2015/12/13 14:21:53 [error] 10130#10130: *127 open() "/var/www/rutorrent/favicon.ico" failed (2: No such file or directory), client: 78.245.88.44, server: _, request: "
GET /rutorrent/favicon.ico HTTP/1.1", host: "serveur.domaine"
Headphone.log
13-Dec-2015 18:34:03 - INFO :: CP Server Thread-11 : Parsing results from Mininova
13-Dec-2015 18:34:03 - INFO :: CP Server Thread-11 : No results found from Mininova for Christine and the Queens Chaleur humaine
13-Dec-2015 18:34:03 - INFO :: CP Server Thread-11 : No appropriate matches found for Christine and the Queens - Chaleur humaine
13-Dec-2015 18:34:03 - INFO :: CP Server Thread-11 : Search for wanted albums complete
13-Dec-2015 18:35:34 - INFO :: CP Server Thread-8 : Searching for wanted albums
13-Dec-2015 18:35:34 - INFO :: CP Server Thread-8 : Searching for "Christine and the Queens - Chaleur humaine"
13-Dec-2015 18:35:34 - INFO :: CP Server Thread-8 : Searching Kick Ass Torrents using term: Christine and the Queens Chaleur humaine
13-Dec-2015 18:35:35 - INFO :: CP Server Thread-8 : Christine And The Queens - Chaleur Humaine - 2015 - EAC is larger than the maxsize, the wrong format or has too l
ittle seeders for this category, skipping. (Size: 479141444 bytes, Seeders: 15, Format: True)
13-Dec-2015 18:35:35 - INFO :: CP Server Thread-8 : Searching The Pirate Bay using term: Christine and the Queens Chaleur humaine
13-Dec-2015 18:35:37 - INFO :: CP Server Thread-8 : "Christine and the Queens - Chaleur humaine (2014)" only has a magnet link, skipping
13-Dec-2015 18:35:37 - INFO :: CP Server Thread-8 : Parsing results from Old Pirate Bay
13-Dec-2015 18:35:37 - ERROR :: CP Server Thread-8 : Request raised exception: Invalid URL u'/search.php?q=Christine+and+the+Queens+Chaleur+humaine&iht=6': No schema
supplied. Perhaps you meant http:///search.php?q=Christine+and+the+Queens+Chaleur+humaine&iht=6?
13-Dec-2015 18:35:37 - INFO :: CP Server Thread-8 : Searching Strike using term: Christine and the Queens Chaleur humaine
13-Dec-2015 18:35:37 - ERROR :: CP Server Thread-8 : Unhandled exception in the Strike parser
Traceback (most recent call last):
File "/opt/headphones/headphones/searcher.py", line 1559, in searchTorrent
url = item['magnet_uri']
KeyError: 'magnet_uri'
13-Dec-2015 18:35:37 - INFO :: CP Server Thread-8 : Parsing results from Mininova
13-Dec-2015 18:35:37 - INFO :: CP Server Thread-8 : No results found from Mininova for Christine and the Queens Chaleur humaine
13-Dec-2015 18:35:45 - INFO :: CP Server Thread-5 : Making sure we can download the chosen result
13-Dec-2015 18:35:46 - INFO :: CP Server Thread-5 : Found best result from Kick Ass Torrents: <a href="https://torcache.net/torrent/E5937E058C102A668F64C1BEBFA5D5146
391FF12.torrent?title=[kat.cr]christine.and.the.queens.chaleur.humaine.2015.eac">Christine And The Queens - Chaleur Humaine - 2015 - EAC</a> - 456.0 MB
13-Dec-2015 18:35:46 - ERROR :: CP Server Thread-5 : Could not write torrent file '/home/eddie/watch/music/Christine and the Queens - Chaleur humaine [2014].torrent':
. Skipping.
rutorrent.conf
server {
listen 80 default_server;
listen 443 default_server ssl http2;
server_name _;
index index.html index.php;
charset utf-8;
client_max_body_size 10M;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
include /etc/nginx/conf.d/ciphers.conf;
access_log /var/log/nginx/rutorrent-access.log combined;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
## début config accueil serveur ##
location ^~ / {
root /var/www/base;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
## fin config accueil serveur ##
## début config proxy ##
location ^~ /proxy {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config proxy ##
## début config rutorrent ##
location ^~ /rutorrent {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}
## fin config rutorrent ##
## début config munin ##
location ^~ /graph {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
location ^~ /graph/img {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
error_log /dev/null crit;
}
location ^~ /monitoring {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config munin ##
## début config seedbox-manager ##
location ^~ /seedbox-manager {
alias /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php-manager.conf;
include /etc/nginx/conf.d/cache.conf;
}
## fin config seedbox-manager ##
## config utilisateurs ##
location /EDDIE {
include scgi_params;
scgi_pass 127.0.0.1:5001; #ou socket : unix:/home/username/.session/username.socket
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_eddie";
}
location /PIRATE1 {
include scgi_params;
scgi_pass 127.0.0.1:5003; #ou socket : unix:/home/username/.session/username.socket
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_pirate1";
}
## debut config cakebox-light ##
location /cakebox/ {
rewrite ^/cakebox(/.*)$ $1 break;
proxy_pass http://127.0.0.1:81;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
}
location /cakebox/eddie/ {
alias /home/eddie/video/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /cakebox/pirate1/ {
alias /home/pirate1/video/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
## etc si d'autre utilisateur ##
## fin config cakebox-light ##
}
/etc/defaut/headphone
HP_USER=headphones #$RUN_AS, username to run headphones under, the default is headphones
HP_HOME=/opt/headphones #$APP_PATH, the location of Headphones.py, the default is /opt/headphones
HP_DATA=/opt/headphones #$DATA_DIR, the location of headphones.db, cache, logs, the default is /opt/headphones
/opt/headphone/config.ini
[General]
nzb_downloader = 0
cue_split = 1
libraryscan = 1
music_encoder = 0
open_magnet_links = 0
preferred_quality = 0
customport = 5000
download_scan_interval = 5
preferred_bitrate = ""
destination_dir = /home/eddie/music
encodervbrcbr = cbr
xldprofile = ""
delete_lossless_files = 1
encoderquality = 2
autowant_all = 0
ignored_words = ""
freeze_db = 0
encoder_multicore_count = 0
keep_torrent_files = 1
http_root = /
download_dir = ""
http_proxy = 0
launch_browser = 1
http_username = ""
lossless_destination_dir = ""
mb_ignore_age = 365
file_underscores = 0
cue_split_flac_path = ""
lossless_bitrate_from = 0
do_not_override_git_branch = 0
include_extras = 0
samplingfrequency = 44100
http_host = 0.0.0.0
album_art_format = folder
encoder_path = ""
hpuser = ""
detect_bitrate = 0
enable_https = 0
check_github = 1
custompass = ""
mirror = musicbrainz.org
api_enabled = 0
correct_metadata = 1
customuser = ""
cue_split_shntool_path = ""
do_not_process_unmatched = 0
lastfm_username = ""
autowant_upcoming = 1
config_version = 5
check_github_interval = 360
customauth = 0
file_permissions = 0644
prefer_torrents = 1
encoderoutputformat = mp3
search_interval = 1440
preferred_bitrate_low_buffer = 0
ignore_clean_releases = 0
http_password = ""
usenet_retention = 1500
add_album_art = 1
headphones_indexer = 0
wait_until_release_date = 0
rename_files = 1
file_format = $Track $Artist - $Album [$Year] - $Title
customhost = gloubiboulga.tk
interface = default
folder_format = $Artist/$Album [$Year]
move_files = 1
cleanup_files = 0
replace_existing_folders = 1
preferred_bitrate_allow_lossless = 0
embed_album_art = 0
check_github_on_startup = 1
http_port = 8082
download_torrent_dir = /home/eddie/torrents/Done/music
folder_permissions = 0755
official_releases_only = 0
magnet_links = 0
log_dir = /opt/headphones/logs
update_db_interval = 24
git_path = ""
required_words = ""
advancedencoder = ""
numberofseeders = 10
torrentblackhole_dir = /home/eddie/watch/music
cache_dir = /opt/headphones/cache
blackhole = 0
libraryscan_interval = 300
keep_nfo = 0
preferred_bitrate_high_buffer = 0
https_cert = /opt/headphones/server.crt
hppass = ""
customsleep = 1
api_key = ""
encoderlossless = 1
torrent_downloader = 0
torrent_removal_interval = 720
blackhole_dir = ""
keep_original_folder = 0
extras = ""
autowant_manually_added = 1
encoder_multicore = 0
encoderfolder = ""
preferred_words = ""
https_key = /opt/headphones/server.key
encoder = ffmpeg
git_user = rembo10
bitrate = 192
music_dir = /home/eddie/music
auto_add_artists = 1
git_branch = master
embed_lyrics = 1
lossless_bitrate_to = 0
[Growl]
growl_enabled = 0
growl_onsnatch = 0
growl_host = ""
growl_password = ""
[Subsonic]
subsonic_host = ""
subsonic_password = ""
subsonic_enabled = 0
subsonic_username = ""
[Waffles]
waffles_passkey = ""
waffles = 0
waffles_uid = ""
waffles_ratio = ""
[Email]
email_onsnatch = 0
email_smtp_password = ""
email_tls = 0
email_smtp_port = 25
email_smtp_server = ""
email_enabled = 0
email_smtp_user = ""
email_ssl = 0
email_to = ""
email_from = ""
[Plex]
plex_token = ""
plex_client_host = ""
plex_notify = 0
plex_update = 0
plex_username = ""
plex_password = ""
plex_server_host = ""
plex_enabled = 0
[Old Piratebay]
oldpiratebay = 1
oldpiratebay_ratio = ""
oldpiratebay_url = ""
[Pushover]
pushover_apitoken = ""
pushover_onsnatch = 0
pushover_enabled = 0
pushover_keys = ""
pushover_priority = 0
[NZBget]
nzbget_priority = 0
nzbget_password = ""
nzbget_host = ""
nzbget_category = ""
nzbget_username = nzbget
[NZBsorg]
nzbsorg_hash = ""
nzbsorg = 0
nzbsorg_uid = ""
[NMA]
nma_priority = 0
nma_onsnatch = 0
nma_apikey = ""
nma_enabled = 0
[Advanced]
verify_ssl_cert = 1
ignored_files = ,
journal_mode = wal
album_completion_pct = 80
ignored_folders = ,
cache_sizemb = 32
[Newznab]
newznab = 0
newznab_apikey = ""
newznab_enabled = 1
extra_newznabs = ,
newznab_host = ""
[Prowl]
prowl_onsnatch = 0
prowl_enabled = 0
prowl_priority = 0
prowl_keys = ""
[Twitter]
twitter_prefix = Headphones
twitter_enabled = 0
twitter_username = ""
twitter_password = ""
twitter_onsnatch = 0
[Torznab]
extra_torznabs = ,
torznab_host = ""
torznab_apikey = ""
torznab = 0
torznab_enabled = 1
[SABnzbd]
sab_category = ""
sab_password = ""
sab_host = ""
sab_username = ""
sab_apikey = ""
[Songkick]
songkick_apikey = nd1We7dFW2RqxPw8
songkick_location = ""
songkick_enabled = 1
songkick_filter_enabled = 0
[uTorrent]
utorrent_password = ""
utorrent_host = ""
utorrent_username = ""
utorrent_label = ""
[LMS]
lms_enabled = 0
lms_host = ""
[PushBullet]
pushbullet_deviceid = ""
pushbullet_apikey = ""
pushbullet_enabled = 0
pushbullet_onsnatch = 0
[Pushalot]
pushalot_enabled = 0
pushalot_onsnatch = 0
pushalot_apikey = ""
[Kat]
kat_ratio = ""
kat = 1
kat_proxy_url = ""
[Piratebay]
piratebay_ratio = ""
piratebay = 1
piratebay_proxy_url = ""
[Strike]
strike = 1
strike_ratio = ""
[MPC]
mpc_enabled = 0
[XBMC]
xbmc_username = ""
xbmc_host = ""
xbmc_enabled = 0
xbmc_update = 0
xbmc_password = ""
xbmc_notify = 0
[Beets]
idtag = 0
[Rutracker]
rutracker_user = ""
rutracker_ratio = ""
rutracker = 0
rutracker_password = ""
[Boxcar]
boxcar_onsnatch = 0
boxcar_enabled = 0
boxcar_token = ""
[Transmission]
transmission_password = ""
transmission_username = ""
transmission_host = ""
[Mininova]
mininova = 1
mininova_ratio = ""
[OSX_Notify]
osx_notify_enabled = 0
osx_notify_app = /Applications/Headphones
osx_notify_onsnatch = 0
[What.cd]
whatcd_password = ""
whatcd_username = ""
whatcd = 0
whatcd_ratio = ""
[Synoindex]
synoindex_enabled = 0
[omgwtfnzbs]
omgwtfnzbs = 0
omgwtfnzbs_uid = ""
omgwtfnzbs_apikey = ""