sahendrickson

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by sahendrickson

  1. Hi, are there older versions of BitTorrent sync available? I have an older Mac OS X and tried upgrading from 1.4 to 2.3 today and my OS is outdated. Eventually, I will upgrade but cannot at the moment. I'm hoping 2.2 or 2.1 would work for me in the mean time. Thanks, -- Scott
  2. Hi, My company has decided to block BitTorrent Sync because it has the same developer certificate as uTorrent, BitTorrent, BitTorrent Sync and Bleep, which do bad things like hijack web home pages and side load software. Will BitTorrent Sync do these types of things eventually too? Should I be concerned? Thanks, -- Scott
  3. Would it be possible to have btsync recover from database errors by clearing out the database and asking peers for the correct state? It's very tedious to manually clean these up, especially given that these tend to happen across many shares at a time.
  4. Hi, I'd like to ask btsync if it is done syncing a folder via the API. Is this possible? Thank you, -- Scott
  5. bump. Additionally, it appears that some of the redirects that do not involve java script are also absolute. If btsync is mapped to http://myserver/btsync, then Going to http://myserver/btsync should go to http://myserver/btsync/gui/, but instead it goes to http://myserver/gui/. The redirect sent from btsync is to "/gui/" rather than "gui/" -- Scott
  6. I have a linux machine running the btsync web interface on http://localhost:8888. I have apache configured to proxy requests from https://myhost/btsync to http://localhost:8888. It works great except that webui.js constantly tries to access http://myhost/gui, which is incorrect. It should be trying to access http://myhost/btsync/gui. I've narrowed the problem down to a function in webui.js, line 468, which reads: requestToken: function(c, {var a = this;$.ajax({type: "POST",url: guiBase + "token.html?t=" + Date.now(),async: false}).done(function( f ){var e = f.match(/>([^<]+)</);if(e) {a.TOKEN = e[e.length - 1]c();}});}, The problem is that the value in "guiBase" is absolute. It's set to "/gui/". It is defined a little earlier in the file at line 431, which reads: var urlBase = "";var guiBase = urlBase + "/gui/";var proxyBase = urlBase + "/proxy"; This essentially hard codes btsync to only work when it is running as the root of a host. However, I have other services running on http://myhost/ that I don't want btsync to conflict with. To fix this, the values of urlBase, guiBase, and proxyBase can all be set relative paths (relative to .../gui/, which is where they are currently referenced from): // removed urlBase because we are using relative references nowvar guiBase = ""; // now a relative path to /gui from /guivar proxyBase = "../proxy"; // now a relative path to /proxy from /gui With that change, btsync works flawlessly at different url paths. Would you please incorporate that change? In case you're curious, here's my apache configuration: <Proxy http://localhost:8888*> Require all granted </Proxy> <Location /btsync> ProxyPass http://localhost:8888 ProxyPassReverse http://localhost:8888 </Location> Thank you, -- Scott