suhrim Posted June 20, 2014 Report Share Posted June 20, 2014 You need an api key to get it working right? Got a key from bittorrent but it still says invalid api key in the logs. Requested the key from:http://www.bittorrent.com/sync/developersand the keys looks something like this:XOCRD6XRFD5HXCLW7WD5XBI52YPKEGARFK3SFE6BSEVRQIVXQNMMLNEXO6PPXB4IG6XXO25CQQ4KFBRDYCXK2W4KR7NXM3XMYE7MYBENETLG6X43FUGY5PDE27ALK6L6YAC3WVA this is not my real key though I have edited it a bit. [20140621 00:30:11.016] Invalid API key. Terminating any ideas? have I missed something trivial there? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 22, 2014 Report Share Posted June 22, 2014 @suhrim I suggest that you've copypasted the key to avoid any possible typos. Please also make sure that the text editor did not put any extra line breaks in the API key. If all of the above is not the case - please send me your config file with the key, I'll test it in my lab. Please use syncapp@bittorrent.com mail address and refer to this forum topic. Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 22, 2014 Author Report Share Posted June 22, 2014 @suhrim I suggest that you've copypasted the key to avoid any possible typos. Please also make sure that the text editor did not put any extra line breaks in the API key. If all of the above is not the case - please send me your config file with the key, I'll test it in my lab. Please use syncapp@bittorrent.com mail address and refer to this forum topic.Thanks for the respons. I run dpkg-reconfigure btsync to configure and pasted the API key from the mail I got. When looking in the config file afterwords I can't see any extra characters of line breaks in the api key. I'm mailing you my config file now. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 22, 2014 Report Share Posted June 22, 2014 @suhrim Great, thanks. We'll take a look what could be wrong with your config or your API key. Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 22, 2014 Author Report Share Posted June 22, 2014 @suhrim Great, thanks. We'll take a look what could be wrong with your config or your API key.I have mailed the config now. Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 22, 2014 Author Report Share Posted June 22, 2014 @RomanZ Any idea what's wrong? Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 23, 2014 Report Share Posted June 23, 2014 @suhrim Your API key is okay and is not blocked. Even more, your config file started in my lab with almost no changes (have to adjust storage path). Aren't you using any proxy / firewall that might change / corrupt the traffic? Also, which platform do you run API? Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 23, 2014 Author Report Share Posted June 23, 2014 @RomanZ I installed btsync on debian 7.5 following instructions in this post:http://forum.bittorrent.com/topic/18974-debian-and-ubuntu-server-unofficial-packages-for-bittorrent-sync/ I don't have a firewall for outgoing traffic so that shouldn't be a problem. I will test on another network just to be sure. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 23, 2014 Report Share Posted June 23, 2014 @suhrim Try stopping all instances and run a new one from console, like:killall btsync./btsync --no-daemon --config <config_path_and_filename> Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 23, 2014 Author Report Share Posted June 23, 2014 @RomanZ I installed btsync on another network and it worked without problems there. either there are some problems with my isp or my router (EdgeRouter Lite v1.4.1). I will try to put my server at home on a public ip and see if that works. Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 23, 2014 Author Report Share Posted June 23, 2014 @RomanZ I have tried putting the server at home on a public ip and it still doesn't work. The one I installed at work is configured the same way and it works there. What host is used for verifying thet api key? I would like to test if I can contact it from my isp at home. Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 24, 2014 Author Report Share Posted June 24, 2014 @suhrim Try stopping all instances and run a new one from console, like:killall btsync./btsync --no-daemon --config <config_path_and_filename>root@nas:/usr/lib/btsync# ./btsync-daemon --nodaemon --config /etc/btsync/debconf-default.confWarning: config option 'lan_use_tcp' is deprecatedtotal physical memory 536870912 max disk cache 2097152Using IP address 83.254.XXX.XXLoading config file version 1.3.105Loaded folder /mnt/media/johan/fotonInvalid API key. TerminatingShutdown. Saving config sync.datroot@nas:/usr/lib/btsync# what hostname does it verify the api key against? I would like to check if I can contact tha host at all. Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 24, 2014 Author Report Share Posted June 24, 2014 logged traffik when restarting the service. 18:00:29.415107 IP 8.8.8.8.53 > 192.168.10.32.34965: 20696 3/0/0 CNAME syncdev-1159813985.us-east-1.elb.amazonaws.com., A 50.16.235.95, A 50.17.249.15 (129)18:00:29.448157 IP 8.8.8.8.53 > 192.168.10.32.39291: 64680 3/0/0 CNAME syncdev-1159813985.us-east-1.elb.amazonaws.com., A 50.16.235.95, A 50.17.249.15 (129)18:00:29.605404 IP 50.16.235.95.443 > 192.168.10.32.54110: Flags [s.], seq 1340296521, ack 1218851029, win 14480, options [mss 1460,sackOK,TS val 249083623 ecr 374119,nop,wscale 8], length 018:00:29.717213 IP 50.16.235.95.443 > 192.168.10.32.54110: Flags [.], ack 322, win 61, options [nop,nop,TS val 249083651 ecr 374147], length 018:00:30.075726 IP 50.16.235.95.443 > 192.168.10.32.54110: Flags [F.], seq 4274, ack 1307, win 77, options [nop,nop,TS val 249083741 ecr 374236], length 0 Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 25, 2014 Report Share Posted June 25, 2014 @suhrim Let me do a couple of checks on API key server, it might take couple of days. I'll let you know the results. Quote Link to comment Share on other sites More sharing options...
suhrim Posted June 26, 2014 Author Report Share Posted June 26, 2014 @RomanZ Thanks, let me now if you need the ip I connect from at home. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted June 26, 2014 Report Share Posted June 26, 2014 @suhrim Thanks, no need to connect. One of our support engineers will contact you and help locating the issue - you'll need to assist in running couple of builds with extra debugging information. Quote Link to comment Share on other sites More sharing options...
tuxpoldo Posted June 27, 2014 Report Share Posted June 27, 2014 @suhrim When you get the testing builds from the support engineer, you can replace the binary installed by the package. The binary you will get, is named "btsync". You have to move it in place of the binary installed by the package and then restart the service. Assuming you are in the same directory where you unpacked the binary, you should perform the following commands if you are logged in as root:service btsync stopmv btsync /usr/lib/btsync-common/btsync-coreservice btsync start or the following commands, if you are logged in as a regular user: sudo service btsync stopsudo mv btsync /usr/lib/btsync-common/btsync-coresudo service btsync start Quote Link to comment Share on other sites More sharing options...
KerLaeda Posted July 2, 2014 Report Share Posted July 2, 2014 @suhrim Check please your mail. Quote Link to comment Share on other sites More sharing options...
suhrim Posted July 18, 2014 Author Report Share Posted July 18, 2014 Hello Sorry for my absence I haven't really had any time for this. My troubles seems to be related to my hardware in some way. I'm going to try to install on another machine that has the same Asus motherboard as I have in my server. Asus E35M1-I with latest bios and 8Gb of ram. I did run memtest on it for more than 12 hours without errors and everything else works fine.I tried with the file you sent me again (I had to upgrade glibc to a newer version) it works however. Quote Link to comment Share on other sites More sharing options...
R3m Posted July 26, 2014 Report Share Posted July 26, 2014 I have same issue as TC.[20140726 21:49:12.929] Invalid API key. TerminatingWho can I send my API to check if it works? Quote Link to comment Share on other sites More sharing options...
suhrim Posted July 27, 2014 Author Report Share Posted July 27, 2014 I have same issue as TC.[20140726 21:49:12.929] Invalid API key. TerminatingWho can I send my API to check if it works? What hardware are you using? Quote Link to comment Share on other sites More sharing options...
R3m Posted July 27, 2014 Report Share Posted July 27, 2014 What hardware are you using?I use Ubuntu Server 14.04 Quote Link to comment Share on other sites More sharing options...
suhrim Posted July 27, 2014 Author Report Share Posted July 27, 2014 I use Ubuntu Server 14.04 I meant motherboard/cpu/ram not linux version. Quote Link to comment Share on other sites More sharing options...
R3m Posted July 27, 2014 Report Share Posted July 27, 2014 I meant motherboard/cpu/ram not linux version.Ah, sorry CPU AMD Athlon 64 Processor 3200+MB AsRock AM2NG6G-VSTARAM DDR-II 2GB Kingston KVR800 D2N6/2GHDD 320GB Hitachi HTS725032A9A364 Quote Link to comment Share on other sites More sharing options...
RomanZ Posted August 7, 2014 Report Share Posted August 7, 2014 @R3m You can send me your key (or, whole config even better) for verification. Send it to syncapp@bittorrent.com. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.