Defect #14964
closedNo http(s) support in Subversion in redmine stack
0%
Description
I have installed Bitname Redmine stack on a CentOS server. When I try to access my subversion server using https, I get error:
"The entry or revision was not found in the repository."
Linux 2.6.32-71.el6.x86_64
Apache/2.4.6 (Unix)
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
Subversion:
svn, version 1.6.11 (r934486)
- ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme - ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme - ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
Below command runs perfectly:
sudo -u daemon svn list --xml 'https://mysvnserver:8443/svn/my_repo'@HEAD
Have made the daemon user (one that runs the redmine) a real user and certificate is permanently stored in the $home/.svn folder.
<lists>
<list
path="https://mysvnserver:8443/svn/my_repo">
<entry
kind="dir">
<name>branches</name>
<commit
revision="1">
<author>VisualSVN Server</author>
<date>2013-09-20T09:54:34.899414Z</date>
</commit>
</entry>
.... truncated ....
<date>2013-09-20T13:42:55.889648Z</date>
</commit>
</entry>
</list>
</lists>
Production.log:
Started GET "/redmine/projects/myproject/repository" for 172.16.8.167 at 2013-09-22 15:45:56 +0530
Processing by RepositoriesController#show as HTML
Parameters: {"id"=>"rapid-hana-development"}
Current user: anonymous
Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list>
/opt/redmine-2.3.3-0/ruby/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:28:in `parse'
/opt/redmine-2.3.3-0/ruby/lib/ruby/1.9.1/rexml/document.rb:245:in `build'
/opt/redmine-2.3.3-0/ruby/lib/ruby/1.9.1/rexml/document.rb:43:in `initialize'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini/rexml.rb:30:in `new'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini/rexml.rb:30:in `parse'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/xml_mini.rb:80:in `parse'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/lib/redmine/scm/adapters/abstract_adapter.rb:315:in `parse_xml'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/lib/redmine/scm/adapters/subversion_adapter.rb:106:in `block in entries'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/lib/redmine/scm/adapters/abstract_adapter.rb:260:in `call'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/lib/redmine/scm/adapters/abstract_adapter.rb:260:in `block in shellout'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/lib/redmine/scm/adapters/abstract_adapter.rb:257:in `popen'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/lib/redmine/scm/adapters/abstract_adapter.rb:257:in `shellout'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/lib/redmine/scm/adapters/abstract_adapter.rb:214:in `shellout'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/lib/redmine/scm/adapters/subversion_adapter.rb:100:in `entries'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/app/models/repository.rb:192:in `entries'
/opt/redmine-2.3.3-0/apps/redmine/htdocs/app/controllers/repositories_controller.rb:116:in `show'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in `process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10:in `process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:480:in `_run__3860488053528598661__process_action__3422329827401823211__callbacks'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17:in `process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29:in `process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in `process'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:in `process'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:in `dispatch'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:in `block in action'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-openid-1.3.1/lib/rack/openid.rb:98:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `_run__4153181317357645220__call__3706874415275061893__callbacks'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in `call_app'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `block in call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in `tagged'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.2.13/lib/action_dispatch/middleware/static.rb:63:in `call'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/conte
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/conte
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/conte
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/conte
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/conte
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/applicati
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.13/lib/rails/railtie/c
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:134:
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/passenger-4.0.17/lib/phusion_passen ss_request'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/passenger-4.0.17/lib/phusion_passen ept_and_process_next_request'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/passenger-4.0.17/lib/phusion_passen n_loop'
/opt/redmine-2.3.3-0/ruby/lib/ruby/gems/1.9.1/gems/passenger-4.0.17/lib/phusion_passen n start_threads'
...
No close tag for /lists/list
Line: 4
Position: 93
Last 80 unconsumed characters:
Output was:
<lists>
<list
path="https://172.16.88.93:8443/svn/AdvizeR_Factory">
Rendered common/error.html.erb within layouts/base (1.4ms)
Completed 404 Not Found in 284ms (Views: 133.1ms | ActiveRecord: 13.6ms)