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

使用nginx提供https反代时部分功能受影响 #175

Open
nebulakl opened this issue Mar 30, 2018 · 3 comments
Open

使用nginx提供https反代时部分功能受影响 #175

nebulakl opened this issue Mar 30, 2018 · 3 comments
Labels

Comments

@nebulakl
Copy link

nebulakl commented Mar 30, 2018

  • Transmssion 版本: 2.93 (3c5870d4f5), RPC: 15
  • Tr Web Control 版本: 1.5.1 update-2 (20180330)
  • 浏览器名称及版本:Chrome 64.0.3282.190
  • 问题描述:
  1. 侧边栏图标变成黑白,文件夹不勾也会显示
    screenshot 2018-03-30 at 14 35 01

  2. Mobile UI 不工作
    screenshot 2018-03-30 at 14 38 28

Console output

index.mobile.html:24 GET https://....../trans/transmission/web/tr-web-control/script/min/cookies.min.js?v=20171015.1 net::ERR_ABORTED
index.mobile.html:24 GET https://....../trans/transmission/web/tr-web-control/script/min/cookies.min.js?v=20171015.1 net::ERR_ABORTED
jquery.mobile-1.4.5.min.js?v=20170426:3 Uncaught DOMException: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://....../trans/transmission/web/index.mobile.html' cannot be created in a document with origin 'https://......' and URL 'https://....../trans/transmission/web/index.mobile.html'.
    at a.mobile.Navigator.squash (https://....../trans/transmission/web/tr-web-control/script/jquery/mobile/jquery.mobile-1.4.5.min.js?v=20170426:3:31660)
    at Object.initializePage (https://....../trans/transmission/web/tr-web-control/script/jquery/mobile/jquery.mobile-1.4.5.min.js?v=20170426:9:6549)
    at HTMLDocument.<anonymous> (https://....../trans/transmission/web/tr-web-control/script/jquery/mobile/jquery.mobile-1.4.5.min.js?v=20170426:9:6881)
    at i (https://....../trans/transmission/web/tr-web-control/script/jquery/jquery-1.12.4.min.js:2:27449)
    at Object.fireWith [as resolveWith] (https://....../trans/transmission/web/tr-web-control/script/jquery/jquery-1.12.4.min.js:2:28213)
    at Function.ready (https://....../trans/transmission/web/tr-web-control/script/jquery/jquery-1.12.4.min.js:2:30006)
    at HTMLDocument.K (https://....../trans/transmission/web/tr-web-control/script/jquery/jquery-1.12.4.min.js:2:30368)
squash @ jquery.mobile-1.4.5.min.js?v=20170426:3
initializePage @ jquery.mobile-1.4.5.min.js?v=20170426:9
(anonymous) @ jquery.mobile-1.4.5.min.js?v=20170426:9
i @ jquery-1.12.4.min.js:2
fireWith @ jquery-1.12.4.min.js:2
ready @ jquery-1.12.4.min.js:2
K @ jquery-1.12.4.min.js:2
favicon.ico:1 GET https://....../favicon.ico 404 ()
  1. 这个可能跟这个项目没啥关系,不过 Original UI 无限刷新,只能看不能动。

nginx/1.13.10 相关设置

location /trans/ {
	proxy_set_header	X-Forwarded-Host $host:$server_port;
	proxy_set_header	X-Forwarded-Server $host;
	proxy_set_header	X-Forwarded-For $proxy_add_x_forwarded_for;
	proxy_pass              http://127.0.0.1:9091/;
	}
@ronggang
Copy link
Owner

请尝试恢复默认设置
47554516-5407-4900-a8c3-63cd93226788

@ronggang
Copy link
Owner

另外,1.5之后,图标逐步变为单色的,请知晓
mobile ui一直没有更新,如果之前正常的,现在应该也可以的;
原版ui需要官方的内容支持

@nebulakl
Copy link
Author

Restore UI Default Settings 后 mobile ui 跟 original ui 都恢复了正常,然而每次清除浏览器数据后都要 restore 一次。这大概只能算作 workaround 吧。

@ronggang ronggang added the To be improved 待改进 label Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants