majestrate / XD

meme bittorrent client
https://xd-torrent.github.io/
MIT License
238 stars 25 forks source link

Web UI remote access error #52

Closed MrKsey closed 6 years ago

MrKsey commented 6 years ago

info

git revision / version: XD-0.1.0-e721a8d

OS: Synology DSM 6.1.5-15254 Update 1, Docker 17.05.0-ce

Architecture: Intel x86-64

problem

Web UI remote access error: http://192.168.1.254:1488/

expected host 127.0.0.1 but got 192.168.1.254

torrents.ini:

[i2p]
address=192.168.1.254:7656

[storage]
rootdir=/home/xd/storage
metadata=/home/xd/storage/metadata
downloads=/home/xd/storage/downloads

[rpc]
bind=192.168.1.254:1488
enabled=1

[log]
level=info
pprof=0

[bittorrent]
pex=1
dht=0
swarms=1
tracker-config=trackers.ini

[gnutella]
enabled=0

backtrace / error messages

Error messages: no

Backtrace: yes

NFO] 2018-03-15 04:06:44.403997107 +0000 UTC m=+0.089092651 starting XD-0.1.0-e721a8d
,
NFO] 2018-03-15 04:06:44.506044633 +0000 UTC m=+0.191140039 loaded config torrents.ini
,
NFO] 2018-03-15 04:06:44.506123185 +0000 UTC m=+0.191218604 Ensure filesystem storage
,
NFO] 2018-03-15 04:06:44.506233639 +0000 UTC m=+0.191329057 generated peer id -XD0100-%FA%82%7D%DB%DD%DENf%B2%E7%D6x
,
NFO] 2018-03-15 04:06:44.624241485 +0000 UTC m=+0.309336891 RPC enabled
,
NFO] 2018-03-15 04:06:44.624491056 +0000 UTC m=+0.309586449 create new i2p session with 192.168.1.254:7656
,
NFO] 2018-03-15 04:06:44.624840429 +0000 UTC m=+0.309935823 opening i2p session
,
ERR] 2018-03-15 04:06:44.62527128 +0000 UTC m=+0.310366724  failed to create i2p session: dial tcp 192.168.1.254:7656: getsockopt: connection refused
,
NFO] 2018-03-15 04:06:45.625455101 +0000 UTC m=+1.310550544 opening i2p session
,
ERR] 2018-03-15 04:06:45.625709671 +0000 UTC m=+1.310805102 failed to create i2p session: dial tcp 192.168.1.254:7656: getsockopt: connection refused
,
NFO] 2018-03-15 04:07:10.637633094 +0000 UTC m=+26.322728600    opening i2p session
,
NFO] 2018-03-15 04:07:34.524917932 +0000 UTC m=+50.210013325    i2p session made, we are ahxypu7zvw3fvicgbun6hesth5x74l4optjvuksjik6sq3okekra.b32.i2p
,
NFO] 2018-03-15 04:07:34.575209909 +0000 UTC m=+50.260305327    network obtained
,
NFO] 2018-03-15 04:07:34.57531345 +0000 UTC m=+50.260408868 new network context obtained
,
NFO] 2018-03-15 04:07:34.576486074 +0000 UTC m=+50.261581480    checking local data for System Of A Down - Discography [MP3]
,
NFO] 2018-03-15 04:08:22.658648348 +0000 UTC m=+98.343743992    local data check done for System Of A Down - Discography [MP3]
,
NFO] 2018-03-15 04:08:22.659032348 +0000 UTC m=+98.344127754    System Of A Down - Discography [MP3] is seeding
,
NFO] 2018-03-15 04:08:46.204041509 +0000 UTC m=+121.889136940   http://tracker2.postman.i2p:80/announce.php got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 04:09:02.634075722 +0000 UTC m=+138.319171153   http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 04:09:24.979379045 +0000 UTC m=+160.664474439   http://uajd4nctepxpac4c4bdyrdw7qvja2a5u3x25otfhkptcjgd53ioq.b32.i2p:80/announce got 1 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
WRN] 2018-03-15 04:09:48.380522274 +0000 UTC m=+184.065617680   failed to resolve peer NAMING REPLY RESULT=INVALID_KEY NAME=ahxypu7zvw3fvicgbun6hesth5x74l4optjvuksjik6sq3okekra.b32.i2p
,
,
NFO] 2018-03-15 04:09:53.872734235 +0000 UTC m=+189.557829654   http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 04:36:10.538120347 +0000 UTC m=+1766.223215916  http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 04:36:59.073052447 +0000 UTC m=+1814.758147866  http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
WRN] 2018-03-15 05:03:33.582203682 +0000 UTC m=+3409.267299126  http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a got error while announcing: Get http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a?downloaded=0&event=completed&info_hash=2%18%C3%40%5E%87%7F%E4%EB%3Cp%9A%C4%02%E8%05%ECgTN&ip=mw1Rqmvhel-oj05j8fUv~q3rqgaZkattO~kx0QZAcOVwfn4gQ49bNK7XXqFtiC0DlGR9LZPpZRZAVO130zkxsQkJlvzEmzuTsc-qePEhEV5tqKlklwG6wG-Wr40gfM74ZoqXlhZEyp291KpMPAbXwgrzf8O~Pa8XqmfRCGHVbDGecbhe~~trhSJwTj8hn3j~c~dgQdonaugu8kMjDuolnZVHPYUBIrTSW~b11jJkXXdrQnTOI4GiwcCLqNSDkIxN2Q~JSTvRsSEGyl3DWALzwDEjzvXlgMf-hP2Rpr2N4og4eWgHTWDD0n5wf9YfVXh8aaOiJr9KaoDqgy2VeKtfqIQiBD9PPHxmIsMPMUycNjgAIaIW2giNNY3NQU8mBW0RpYpaYHyrTnewNEfgZye4~yT7liWGiGc3l9cfuToanZ-kUzh1rFvOxQ~jyTaRJdiWK2e5hgI89OYsimNllmtCLUdRJ9gHmxiWkCJQzRCANGFLgql9yEXD91DzNg8g3UFcBQAEAAcAAA%3D%3D.i2p&left=18446744073709336700&numwant=10&peer_id=-XD0100-%FA%82%7D%DB%DD%DENf%B2%E7%D6x&port=6881&uploaded=0: EOF
,
WRN] 2018-03-15 05:03:33.582287983 +0000 UTC m=+3409.267383364  announce to http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p/a failed: Get http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a?downloaded=0&event=completed&info_hash=2%18%C3%40%5E%87%7F%E4%EB%3Cp%9A%C4%02%E8%05%ECgTN&ip=mw1Rqmvhel-oj05j8fUv~q3rqgaZkattO~kx0QZAcOVwfn4gQ49bNK7XXqFtiC0DlGR9LZPpZRZAVO130zkxsQkJlvzEmzuTsc-qePEhEV5tqKlklwG6wG-Wr40gfM74ZoqXlhZEyp291KpMPAbXwgrzf8O~Pa8XqmfRCGHVbDGecbhe~~trhSJwTj8hn3j~c~dgQdonaugu8kMjDuolnZVHPYUBIrTSW~b11jJkXXdrQnTOI4GiwcCLqNSDkIxN2Q~JSTvRsSEGyl3DWALzwDEjzvXlgMf-hP2Rpr2N4og4eWgHTWDD0n5wf9YfVXh8aaOiJr9KaoDqgy2VeKtfqIQiBD9PPHxmIsMPMUycNjgAIaIW2giNNY3NQU8mBW0RpYpaYHyrTnewNEfgZye4~yT7liWGiGc3l9cfuToanZ-kUzh1rFvOxQ~jyTaRJdiWK2e5hgI89OYsimNllmtCLUdRJ9gHmxiWkCJQzRCANGFLgql9yEXD91DzNg8g3UFcBQAEAAcAAA%3D%3D.i2p&left=18446744073709336700&numwant=10&peer_id=-XD0100-%FA%82%7D%DB%DD%DENf%B2%E7%D6x&port=6881&uploaded=0: EOF
,
NFO] 2018-03-15 05:04:05.180764811 +0000 UTC m=+3440.865860242  http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 05:04:09.354752402 +0000 UTC m=+3445.039847808  http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a got 8 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 05:09:05.681148519 +0000 UTC m=+3741.366243962  http://tracker2.postman.i2p:80/announce.php got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 05:09:38.291499196 +0000 UTC m=+3773.976594615  http://uajd4nctepxpac4c4bdyrdw7qvja2a5u3x25otfhkptcjgd53ioq.b32.i2p:80/announce got 1 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
WRN] 2018-03-15 05:09:58.323871923 +0000 UTC m=+3794.008967342  failed to resolve peer NAMING REPLY RESULT=INVALID_KEY NAME=ahxypu7zvw3fvicgbun6hesth5x74l4optjvuksjik6sq3okekra.b32.i2p
,
,
majestrate commented 6 years ago

solution:

[rpc]
bind=192.168.1.254:1488
host=192.168.1.254 enabled=1

On Thu, Mar 15, 2018 at 05:34:43AM +0000, ksey wrote:

info

git revision / version: XD-0.1.0-e721a8d

OS: Synology DSM 6.1.5-15254 Update 1, Docker 17.05.0-ce

Architecture: Intel x86-64

problem

Web UI remote access error: http://192.168.1.254:1488/

expected host 127.0.0.1 but got 192.168.1.254

torrents.ini:

[i2p]
address=192.168.1.254:7656

[storage]
rootdir=/home/xd/storage
metadata=/home/xd/storage/metadata
downloads=/home/xd/storage/downloads

[rpc]
bind=192.168.1.254:1488
enabled=1

[log]
level=info
pprof=0

[bittorrent]
pex=1
dht=0
swarms=1
tracker-config=trackers.ini

[gnutella]
enabled=0

backtrace / error messages

Error messages: no

Backtrace: yes

NFO] 2018-03-15 04:06:44.403997107 +0000 UTC m=+0.089092651   starting XD-0.1.0-e721a8d
,
NFO] 2018-03-15 04:06:44.506044633 +0000 UTC m=+0.191140039   loaded config torrents.ini
,
NFO] 2018-03-15 04:06:44.506123185 +0000 UTC m=+0.191218604   Ensure filesystem storage
,
NFO] 2018-03-15 04:06:44.506233639 +0000 UTC m=+0.191329057   generated peer id -XD0100-%FA%82%7D%DB%DD%DENf%B2%E7%D6x
,
NFO] 2018-03-15 04:06:44.624241485 +0000 UTC m=+0.309336891   RPC enabled
,
NFO] 2018-03-15 04:06:44.624491056 +0000 UTC m=+0.309586449   create new i2p session with 192.168.1.254:7656
,
NFO] 2018-03-15 04:06:44.624840429 +0000 UTC m=+0.309935823   opening i2p session
,
ERR] 2018-03-15 04:06:44.62527128 +0000 UTC m=+0.310366724    failed to create i2p session: dial tcp 192.168.1.254:7656: getsockopt: connection refused
,
NFO] 2018-03-15 04:06:45.625455101 +0000 UTC m=+1.310550544   opening i2p session
,
ERR] 2018-03-15 04:06:45.625709671 +0000 UTC m=+1.310805102   failed to create i2p session: dial tcp 192.168.1.254:7656: getsockopt: connection refused
,
NFO] 2018-03-15 04:07:10.637633094 +0000 UTC m=+26.322728600  opening i2p session
,
NFO] 2018-03-15 04:07:34.524917932 +0000 UTC m=+50.210013325  i2p session made, we are ahxypu7zvw3fvicgbun6hesth5x74l4optjvuksjik6sq3okekra.b32.i2p
,
NFO] 2018-03-15 04:07:34.575209909 +0000 UTC m=+50.260305327  network obtained
,
NFO] 2018-03-15 04:07:34.57531345 +0000 UTC m=+50.260408868   new network context obtained
,
NFO] 2018-03-15 04:07:34.576486074 +0000 UTC m=+50.261581480  checking local data for System Of A Down - Discography [MP3]
,
NFO] 2018-03-15 04:08:22.658648348 +0000 UTC m=+98.343743992  local data check done for System Of A Down - Discography [MP3]
,
NFO] 2018-03-15 04:08:22.659032348 +0000 UTC m=+98.344127754  System Of A Down - Discography [MP3] is seeding
,
NFO] 2018-03-15 04:08:46.204041509 +0000 UTC m=+121.889136940 http://tracker2.postman.i2p:80/announce.php got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 04:09:02.634075722 +0000 UTC m=+138.319171153 http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 04:09:24.979379045 +0000 UTC m=+160.664474439 http://uajd4nctepxpac4c4bdyrdw7qvja2a5u3x25otfhkptcjgd53ioq.b32.i2p:80/announce got 1 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
WRN] 2018-03-15 04:09:48.380522274 +0000 UTC m=+184.065617680 failed to resolve peer NAMING REPLY RESULT=INVALID_KEY NAME=ahxypu7zvw3fvicgbun6hesth5x74l4optjvuksjik6sq3okekra.b32.i2p
,
,
NFO] 2018-03-15 04:09:53.872734235 +0000 UTC m=+189.557829654 http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 04:36:10.538120347 +0000 UTC m=+1766.223215916    http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 04:36:59.073052447 +0000 UTC m=+1814.758147866    http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
WRN] 2018-03-15 05:03:33.582203682 +0000 UTC m=+3409.267299126    http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a got error while announcing: Get http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a?downloaded=0&event=completed&info_hash=2%18%C3%40%5E%87%7F%E4%EB%3Cp%9A%C4%02%E8%05%ECgTN&ip=mw1Rqmvhel-oj05j8fUv~q3rqgaZkattO~kx0QZAcOVwfn4gQ49bNK7XXqFtiC0DlGR9LZPpZRZAVO130zkxsQkJlvzEmzuTsc-qePEhEV5tqKlklwG6wG-Wr40gfM74ZoqXlhZEyp291KpMPAbXwgrzf8O~Pa8XqmfRCGHVbDGecbhe~~trhSJwTj8hn3j~c~dgQdonaugu8kMjDuolnZVHPYUBIrTSW~b11jJkXXdrQnTOI4GiwcCLqNSDkIxN2Q~JSTvRsSEGyl3DWALzwDEjzvXlgMf-hP2Rpr2N4og4eWgHTWDD0n5wf9YfVXh8aaOiJr9KaoDqgy2VeKtfqIQiBD9PPHxmIsMPMUycNjgAIaIW2giNNY3NQU8mBW0RpYpaYHyrTnewNEfgZye4~yT7liWGiGc3l9cfuToanZ-kUzh1rFvOxQ~jyTaRJdiWK2e5hgI89OYsimNllmtCLUdRJ9gHmxiWkCJQzRCANGFLgql9yEXD91DzNg8g3UFcBQAEAAcAAA%3D%3D.i2p&left=18446744073709336700&numwant=10&peer_id=-XD0100-%FA%82%7D%DB%DD%DENf%B2%E7%D6x&port=6881&uploaded=0: EOF
,
WRN] 2018-03-15 05:03:33.582287983 +0000 UTC m=+3409.267383364    announce to http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p/a failed: Get http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a?downloaded=0&event=completed&info_hash=2%18%C3%40%5E%87%7F%E4%EB%3Cp%9A%C4%02%E8%05%ECgTN&ip=mw1Rqmvhel-oj05j8fUv~q3rqgaZkattO~kx0QZAcOVwfn4gQ49bNK7XXqFtiC0DlGR9LZPpZRZAVO130zkxsQkJlvzEmzuTsc-qePEhEV5tqKlklwG6wG-Wr40gfM74ZoqXlhZEyp291KpMPAbXwgrzf8O~Pa8XqmfRCGHVbDGecbhe~~trhSJwTj8hn3j~c~dgQdonaugu8kMjDuolnZVHPYUBIrTSW~b11jJkXXdrQnTOI4GiwcCLqNSDkIxN2Q~JSTvRsSEGyl3DWALzwDEjzvXlgMf-hP2Rpr2N4og4eWgHTWDD0n5wf9YfVXh8aaOiJr9KaoDqgy2VeKtfqIQiBD9PPHxmIsMPMUycNjgAIaIW2giNNY3NQU8mBW0RpYpaYHyrTnewNEfgZye4~yT7liWGiGc3l9cfuToanZ-kUzh1rFvOxQ~jyTaRJdiWK2e5hgI89OYsimNllmtCLUdRJ9gHmxiWkCJQzRCANGFLgql9yEXD91DzNg8g3UFcBQAEAAcAAA%3D%3D.i2p&left=18446744073709336700&numwant=10&peer_id=-XD0100-%FA%82%7D%DB%DD%DENf%B2%E7%D6x&port=6881&uploaded=0: EOF
,
NFO] 2018-03-15 05:04:05.180764811 +0000 UTC m=+3440.865860242    http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p:80/a got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 05:04:09.354752402 +0000 UTC m=+3445.039847808    http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p:80/a got 8 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 05:09:05.681148519 +0000 UTC m=+3741.366243962    http://tracker2.postman.i2p:80/announce.php got 10 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
NFO] 2018-03-15 05:09:38.291499196 +0000 UTC m=+3773.976594615    http://uajd4nctepxpac4c4bdyrdw7qvja2a5u3x25otfhkptcjgd53ioq.b32.i2p:80/announce got 1 peers for 3218c3405e877fe4eb3c709ac402e805ec67544e
,
WRN] 2018-03-15 05:09:58.323871923 +0000 UTC m=+3794.008967342    failed to resolve peer NAMING REPLY RESULT=INVALID_KEY NAME=ahxypu7zvw3fvicgbun6hesth5x74l4optjvuksjik6sq3okekra.b32.i2p
,
,

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/majestrate/XD/issues/52

majestrate commented 6 years ago

these values are also set using the XD_RPC_HOST and XD_RPC_ADDRESS environmental variables, which take precedence over the values in the config file.