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

Contacts not working behind reverse proxy #668

Closed
schaarsc opened this issue Oct 14, 2018 · 2 comments
Closed

Contacts not working behind reverse proxy #668

schaarsc opened this issue Oct 14, 2018 · 2 comments
Labels
invalid This doesn't seem right

Comments

@schaarsc
Copy link

Steps to reproduce

  1. setup apache2 reverse proxy in front of NC, with mod_proxy_html and ProxyHTMLEnable On
  2. open contacts in nextcloud

Expected behaviour

open available contacts

Actual behaviour

empty page

Server configuration

Web server: Apache2 with mod_proxy_html
Nextcloud version: 14.0.3
Contacts version: 2.1.6

Problem

Contacts is using templates. These templates use file extension .html and are retrieved using GET. Because of the file extension templates are "intercepted" by mod_proxy_html and passed to xml2enc. xml2enc cannot parse the templates and reports "Skipping invalid byte(s) in input stream!". as a result angular.js gets an empty response and the application is not working.

Possible solution

instead of .html use .html_template or .txt for those files

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #451 (Contacts ⭐️ does not work), #505 (Contact sorting still doesn't work as expected), #219 (Contacts not working with NC12), #447 (Contacts doesn't work at all...), and #576 (upload of contacts does not work anymore).

@skjnldsv
Copy link
Member

skjnldsv commented Oct 14, 2018

Contacts 3.0.0 (beta) doesn't use templates like that anymore and works behind reverse proxy :)

@skjnldsv skjnldsv added the invalid This doesn't seem right label Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants