summaryrefslogtreecommitdiff
path: root/doc/bugs/Creating_second_repository_leads_to_wrong_ip___40__using_git-annex_webapp_--listen__41__.mdwn
blob: 28b74bd989323b95469bbaf4ae83a7f71ead8472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
### Please describe the problem.
Using the git-annex webapp in remote mode will forward to the wrong IP (localhost) when creating the second repository

### What steps will reproduce the problem?
Needs two computers (C1, C2)

- C1: run "git-annex webapp --listen=[IP of C1]
- C2: use a browser to go to the address you just got on C1 (should contain IP of C1)
- C2: create an repository as prompted (should work fine)
- C2: In the dropdown on the top right select "Add another repository", choose desired location, select keep separate
- C2: Browser forwards to new address, but instead of the IP of C1, 127.0.0.1 is used (which obviously fails)

### What version of git-annex are you using? On what operating system?

[[!format sh """
$ git-annex version
git-annex version: 4.20130802
build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP
$ lsb_release -d
Description:    Ubuntu 13.04
$ uname -a
Linux nas 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:19:35 UTC 2013 i686 i686 i686 GNU/Linux
"""]]

### Please provide any additional information below.

[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log


# End of transcript or log.
"""]]

> This is a different effect of the same bug in [[Hangs on creating repository when using --listen]]. Closing as [[dup|done]] --[[Joey]]