On 2/02/2015 23:00, [email protected] wrote:
Hello,
I am new in the mailinglist. Sorry when I violate some of your dev-rules or so.
I am searching for support for ffsync. I tried the IRC but everybody is just
idling and I tried to register in the mozilla forum but your forum is very
chaotic. I can't register for questions about ffsync.
I have 2 specific problems with the firefox syncserver 1.5:
1.
When I run ffsync with Apache, ffsync blocks all other Apache Virtual Server.
Is this an Issue in Apache or in ffsync?
Are you running under mod_wsgi? I'm not very experienced with this
configuration, but it sounds more likely to be an issue with the apache
config then with ffsync itself.
For example, the config provided in the howto here:
https://docs.services.mozilla.com/howtos/run-sync-1.5.html#apache-mod-wsgi
Matches on virtualhost *:80 which might well probably clobber any other
virtualhost configs.
I have a fresh install of ffsync on another server. But when I try 'make test'
I get the following error. Any Idea how I can fix this?
-----------------------------------------------------------
./local/bin/flake8 ./syncserver
./local/bin/nosetests -s syncstorage.tests
..................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS..SSSSSSSSSSSSSSSS.SS................
----------------------------------------------------------------------
Ran 232 tests in 44.582s
OK (SKIP=147)
# Tokenserver tests currently broken due to incorrect file paths
# ./local/bin/nosetests -s tokenserver.tests
# Test against a running server
./local/bin/pserve syncserver/tests.ini 2> /dev/null & SERVER_PID=$!; \
sleep 2; \
./local/bin/python -m syncstorage.tests.functional.test_storage \
--use-token-server http://localhost:5000/token/1.0/sync/1.5; \
kill $SERVER_PID
Starting server in PID 387.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File
"/home/ffsync/syncserver/local/lib/python2.7/site-packages/syncstorage/tests/functional/test_storage.py",
line 1275, in <module>
res = run_live_functional_tests(TestStorage, sys.argv)
File
"/home/ffsync/syncserver/local/local/lib/python2.7/site-packages/syncstorage/tests/functional/support.py",
line 178, in run_live_functional_tests
creds = authenticate_to_token_server(url, opts.email, opts.audience)
File
"/home/ffsync/syncserver/local/local/lib/python2.7/site-packages/syncstorage/tests/functional/support.py",
line 110, in authenticate_to_token_server
r.raise_for_status()
File
"/home/ffsync/syncserver/local/local/lib/python2.7/site-packages/requests/models.py",
line 773, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized
-----------------------------------------------------------
Did you tweak the config file at all before running these tests. If you
change e.g. the public_url setting then it could cause these tests to
fail since they assume the default value of locahost:5000.
Cheers,
Ryan
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev