A username and password are being requested by http://localhost:48981. The site says: "administrator"

Asked by kirkbed

A username and password are being requested by http://localhost:48981. The site says: "administrator"

I do not know the username and password

kirk@M3A78H-HDMI:~$ sudo netstat --tcp --udp --listening --program --numeric
[sudo] password for kirk:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:48981 0.0.0.0:* LISTEN 3852/beam.smp
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1808/cupsd
tcp 0 0 0.0.0.0:504 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 0.0.0.0:12865 0.0.0.0:* LISTEN 1666/netserver
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 0.0.0.0:2020 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 0.0.0.0:5222 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1506/citserver
tcp 0 0 127.0.0.1:48048 0.0.0.0:* LISTEN 4777/ssl_esock
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 1506/citserver
tcp6 0 0 ::1:631 :::* LISTEN 1808/cupsd
tcp6 0 0 :::445 :::* LISTEN 1689/smbd
tcp6 0 0 :::139 :::* LISTEN 1689/smbd
udp 0 0 0.0.0.0:41312 0.0.0.0:* 1153/avahi-daemon:
udp 0 0 0.0.0.0:5353 0.0.0.0:* 1153/avahi-daemon:
udp 0 0 192.168.178.35:137 0.0.0.0:* 1685/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 1685/nmbd
udp 0 0 192.168.178.35:138 0.0.0.0:* 1685/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 1685/nmbd
udp 0 0 0.0.0.0:68 0.0.0.0:* 3200/dhclient

compulsory-auth.ini

[couch_httpd_auth]
require_valid_user = true

desktop-couchdb.ini

[admins]
YJhgImAiCb = -hashed-4d597365d3d45c8fd8426d4d81846f5f8fd263e0,a4e5018330cff3effadd083e297a1710

[couch_httpd_auth]
require_valid_user=true

[couchdb]
database_dir=/home/kirk/.local/share/desktop-couch
view_index_dir=/home/kirk/.local/share/desktop-couch

[httpd]
bind_address=127.0.0.1
port=0

[log]
file=/home/kirk/.cache/desktop-couch/desktop-couchdb.log
level=info

[oauth_consumer_secrets]
nAQVcpgCWl=YEbAmzmHjH

[oauth_token_secrets]
VwpCBBdCJY=qMxKlQkHQQ

[oauth_token_users]
VwpCBBdCJY=YJhgImAiCb

compulsory-auth.ini

[couch_httpd_auth]
require_valid_user = true

I did nothing

I did intall firefox bindwood 0.4.2 from synaptic

I assume ubuntu one is not working correctly

Thank for the help

kirk

Question information

Language:
English Edit question
Status:
Answered
For:
desktopcouch Edit question
Assignee:
Stuart Langridge Edit question
Last query:
Last reply:
Revision history for this message
Zachery Bir (urbanape) said :
#1

Hi, Kirk.

Thanks for asking. Most likely 48981 is the port your desktop CouchDB is (or was) running on. When you navigate directly to it in the browser, it will ask you for basic auth credentials, and if you have your browser set to re-open windows from previous sessions on launch, it can try to open the direct port again. I see this myself, and I usually immediately browse to: file:///home/myusername/.local/share/desktop-couch/couchdb.html, which will, in turn, log me into my desktop CouchDB with the appropriate credentials already established.

Please let me know if this solves the question.

Thanks,

Zac

Revision history for this message
kirkbed (kirkbed) said :
#2

Hello Zac

Thanks for the quick response

I opened file:///home/myusername/.local/share/desktop-couch/couchdb.html
with Firefox and still received the mesage
A username and password are being requested by http://localhost:48981. The
site says: "administrator"I took the
href="http://YJhgImAiCb:eCMEVeohKl@localhost:59446/_utils" from
couchdb.html and went to *http://YJhgImAiCb:eCMEVeohKl@localhost:48981
/_utils* with Firefox

Now it seems that*
file:///home/myusername/.local/share/desktop-couch/couchdb.html* will log
into my desktop CouchDB
with the appropriate credentials already established.

I will check thing out better, when I have time

thanks again

Kirk

Please find test results below

from couch_tests.js

config failure 52ms 1. Run with debuggerAssertion failed:
config.httpd.port == port

oauth failure 1005ms 1. Run with debuggerAssertion failed:
xhr.status == expectedCode

                                                   2. Run with
debuggerAssertion failed: xhr.status == expectedCode

replication error 545ms 1. Run with debuggerException raised:
                     {"message":"docB is null","fileName":"
http://localhost:59446/_utils/script/couch_test_runner.js","lineNumber":53,"stack":"([object
Object],[object Object])@
http://localhost:59446/_utils/script/couch_test_runner.js:53\u000a((void
0))@http://localhost:59446/_utils/script/couch_test_runner.js:66
\u000arun(-5)@http://localhost:59446/_utils/script/couch_test_runner.js:78
\u000a"

 Overview <http://localhost:59446/_utils/index.html> *Test Suite*

   - Run All
   - Reload
   - Custom Test

 *Note:* Each of the tests will block the browser. If the connection to your
CouchDB server is slow, running the tests will take some time, and you'll
not be able to do much with your browser while a test is being executed.
 Tests Name Status Elapsed Time Details basicssuccess439ms
all_docssuccess69ms
attachmentssuccess288ms
attachment_namessuccess48ms
attachment_pathssuccess152ms
attachment_viewssuccess81ms
batch_savesuccess2076ms
bulk_docssuccess152ms
changessuccess1443ms
compactsuccess170ms
configfailure121ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Assertion failed:* false

conflictssuccess93ms
content_negotiationsuccess19ms
cookie_authsuccess364ms
copy_docsuccess56ms
delayed_commitssuccess142ms
design_docssuccess2086ms
design_optionssuccess160ms
design_pathssuccess124ms
erlang_viewssuccess96ms
etags_headsuccess37ms
etags_viewssuccess440ms
form_submitsuccess23ms
httpsuccess26ms
invalid_docidssuccess55ms
jsonpsuccess33ms
large_docssuccess263ms
list_viewssuccess2006ms
lots_of_docssuccess779ms
multiple_rowssuccess46ms
oauthfailure1027ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Assertion failed:* false
   2. *Assertion failed:* false

purgesuccess420ms
recreate_docsuccess286ms
reducesuccess2286ms
reduce_builtinsuccess2080ms
reduce_falsesuccess30ms
replicationerror545ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"message":"docB is null","fileName":"
   http://localhost:59446/_utils/script/couch_test_runner.js","lineNumber":53,"stack":"([object
   Object],[object Object])@
   http://localhost:59446/_utils/script/couch_test_runner.js:53\u000a((void
   0))@http://localhost:59446/_utils/script/couch_test_runner.js:66
   \u000arun(-5)@
   http://localhost:59446/_utils/script/couch_test_runner.js:78\u000a"}

rev_stemmingsuccess927ms
security_validationsuccess1699ms
show_documentssuccess445ms
statssuccess564ms
update_documentssuccess85ms
utf8success500ms
uuidssuccess88ms
view_collationsuccess242ms
view_conflictssuccess60ms
view_errorssuccess1075ms
view_include_docssuccess375ms
view_multi_key_all_docssuccess93ms
view_multi_key_designsuccess357ms
view_multi_key_tempsuccess135ms
view_offsetssuccess1039ms
view_paginationsuccess724ms
view_sandboxingsuccess466ms
view_xmlsuccess145ms
 55 of 55 test(s) run, 3 failures (27580 ms)
 [image: Apache CouchDB: Relax] <http://localhost:59446/_utils/index.html>

   - Tools
      - Overview <http://localhost:59446/_utils/index.html>
      - Configuration <http://localhost:59446/_utils/config.html>
      - Replicator <http://localhost:59446/_utils/replicator.html>
      - Status <http://localhost:59446/_utils/status.html>
      - Test Suite<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js>
   - Recent Databases

 Futon on Apache CouchDB <http://couchdb.apache.org/> 0.10.0

On Mon, Nov 23, 2009 at 11:24 PM, Zachery Bir <
<email address hidden>> wrote:

> Your question #91382 on desktopcouch changed:
> https://answers.edge.launchpad.net/desktopcouch/+question/91382
>
> Zachery Bir posted a new comment:
> Hi, Kirk.
>
> Thanks for asking. Most likely 48981 is the port your desktop CouchDB is
> (or was) running on. When you navigate directly to it in the browser, it
> will ask you for basic auth credentials, and if you have your browser
> set to re-open windows from previous sessions on launch, it can try to
> open the direct port again. I see this myself, and I usually immediately
> browse to: file:///home/myusername/.local/share/desktop-
> couch/couchdb.html, which will, in turn, log me into my desktop CouchDB
> with the appropriate credentials already established.
>
> Please let me know if this solves the question.
>
> Thanks,
>
> Zac
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
kirkbed (kirkbed) said :
#3

Hello Zac

New Results

 Overview <http://localhost:59446/_utils/index.html> *Test Suite*

   - Run All
   - Reload
   - Custom Test

 *Note:* Each of the tests will block the browser. If the connection to your
CouchDB server is slow, running the tests will take some time, and you'll
not be able to do much with your browser while a test is being executed.
 Tests Name Status Elapsed Time Details basicserror2410ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

all_docserror982ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

attachmentserror857ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

attachment_nameserror650ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

attachment_pathserror848ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

attachment_viewserror730ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

batch_saveerror954ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

bulk_docserror821ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

changeserror552ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

compacterror596ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

configerror651ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

conflictserror492ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

content_negotiationerror544ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

cookie_autherror475ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

copy_docerror504ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

delayed_commitserror462ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

design_docserror727ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

design_optionserror538ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

design_pathserror436ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

erlang_viewserror946ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

etags_headerror563ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

etags_viewserror513ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

form_submiterror447ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

httperror429ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

invalid_docidserror538ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

jsonperror455ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

large_docserror496ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

list_viewserror486ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

lots_of_docserror510ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

multiple_rowserror503ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

oautherror2002ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

purgeerror802ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

recreate_docerror897ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

reduceerror813ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

reduce_builtinerror729ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

reduce_falseerror768ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

replicationerror688ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

rev_stemmingerror810ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

security_validationerror845ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

show_documentserror1329ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

statserror909ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

update_documentserror766ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

utf8error625ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

uuidserror707ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_collationerror750ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_conflictserror749ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_errorserror821ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_include_docserror636ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_multi_key_all_docserror616ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_multi_key_designerror758ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_multi_key_temperror687ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_offsetserror671ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_paginationerror591ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_sandboxingerror817ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

view_xmlerror680ms

   Run with debugger<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js#>
   1. *Exception raised:* {"error":"unauthorized","reason":"You are not a
   server admin."}

 55 of 55 test(s) run, 55 failures (40581 ms)
 [image: Apache CouchDB: Relax] <http://localhost:59446/_utils/index.html>

   - Tools
      - Overview <http://localhost:59446/_utils/index.html>
      - Configuration <http://localhost:59446/_utils/config.html>
      - Replicator <http://localhost:59446/_utils/replicator.html>
      - Status <http://localhost:59446/_utils/status.html>
      - Test Suite<http://localhost:59446/_utils/couch_tests.html?script/couch_tests.js>
   - Recent Databases

 Futon on Apache CouchDB <http://couchdb.apache.org/> 0.10.0

On Tue, Nov 24, 2009 at 3:46 PM, Joshua Hoover <
<email address hidden>> wrote:

> Your question #91382 on desktopcouch changed:
> https://answers.edge.launchpad.net/desktopcouch/+question/91382
>
> Assignee: None => Zachery Bir
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Stuart Langridge (sil) said :
#4

Hi, Kirk! If you're being asked about passwords when you open the desktopcouch bookmark file (couchdb.html) or when starting bindwood, desktopcouch may have forgotten its passwords. If you look at http://www.freedesktop.org/wiki/Specifications/desktopcouch/Documentation/Troubleshooting it has some instructions on how to restart desktopcouch; if you quit Firefox, restart desktopcouch as described on the Troubleshooting page, then restart Firefox, the problem should go away.

Can you help with this problem?

Provide an answer of your own, or ask kirkbed for more information if necessary.

To post a message you must log in.