Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with personal wiki #68

Closed
jbonjean opened this issue Jul 17, 2013 · 4 comments
Closed

Problem with personal wiki #68

jbonjean opened this issue Jul 17, 2013 · 4 comments

Comments

@jbonjean
Copy link

Hello,
I use seafile-server 1.7.0 with apache for SSL, everything is working fine except for Wiki.
As soon as I create a personal wiki, I'm redirected to an error page "Page unavailable". I can see the wiki library has been created but as soon as I click on the "Personal Wiki" tab, I got redirected to the error page.

Here is the content of my /tmp/seahub_django_request.log when I click on the tab:

2013-07-18 07:40:53,073 [ERROR] django.request:212 handle_uncaught_exception Internal Server Error: /home/wiki/
Traceback (most recent call last):
File "/seafile/seafile-server-1.7.0/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/core/handlers/base.py", line 115, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/seafile/seafile-server-1.7.0/seahub/seahub/auth/decorators.py", line 25, in _wrapped_view
return view_func(request, _args, *_kwargs)
File "/seafile/seafile-server-1.7.0/seahub/seahub/views/wiki.py", line 43, in personal_wiki
content, repo, dirent = get_personal_wiki_page(username, page_name)
File "/seafile/seafile-server-1.7.0/seahub/seahub/wiki/utils.py", line 85, in get_personal_wiki_page
file_response = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>

Thank you.

@freeplant
Copy link
Member

Make sure the server can connect itself via the URL.

2013/7/18 Julien Bonjean notifications@github.com

Hello,
I use seafile-server 1.7.0 with apache for SSL, everything is working fine
except for Wiki.
As soon as I create a personal wiki, I'm redirected to an error page "Page
unavailable". I can see the wiki library has been created but as soon as I
click on the "Personal Wiki" tab, I got redirected to the error page.

Here is the content of my /tmp/seahub_django_request.log when I click on
the tab:

2013-07-18 07:40:53,073 [ERROR] django.request:212
handle_uncaught_exception Internal Server Error: /home/wiki/
Traceback (most recent call last):
File
"/seafile/seafile-server-1.7.0/seahub/thirdpart/Django-1.5.1-py2.6.egg/django/core/handlers/base.py",
line 115, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/seafile/seafile-server-1.7.0/seahub/seahub/auth/decorators.py",
line 25, in _wrapped_view
return view_func(request, _args, *_kwargs)
File "/seafile/seafile-server-1.7.0/seahub/seahub/views/wiki.py", line 43,
in personal_wiki
content, repo, dirent = get_personal_wiki_page(username, page_name)
File "/seafile/seafile-server-1.7.0/seahub/seahub/wiki/utils.py", line 85,
in get_personal_wiki_page
file_response = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
URLError:


Reply to this email directly or view it on GitHubhttps://github.com//issues/68
.

@jbonjean
Copy link
Author

Sorry, what do you mean exactly by "the server can connect itself" ?

@freeplant
Copy link
Member

Suppose your SERVICE_URL is www.example.com

Make sure your server can "ping www.example.com"

2013/7/18 Julien Bonjean notifications@github.com

Sorry, what do you mean exactly by "the server can connect itself" ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/68#issuecomment-21162590
.

@jbonjean
Copy link
Author

That was the problem, thank you!

SkywalkerSpace pushed a commit that referenced this issue Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants