I can’t add new account, because insync-headless hangs on [yes/no] question - I type yes or y, press Enter and nothing happens long time. On pressing ^C here is traceback output:
$ insync-headless -v
1.5.5.37367
$ insync-headless add_account
By adding an account, you are agreeing to our Terms and Conditions (insynchq.com/agreement). [yes/no]
yes
^CTraceback (most recent call last):
File "isyncd/linux/headless/cli.py", line 111, in ipc_insync
KeyboardInterrupt
I’m seeing the same thing. I ran the client with --no-daemon and eventually got this error message (it repeated 3 times)
INFO 2018-12-02 20:00:28,905 [clienthttpconnection:read:52] Error during reading of response!
ERROR 2018-12-02 20:00:28,951 [clientlogging:_logged_report_error:223] Uncaught error from <AddAccountHeadlessTask at 0x7fea70c31f50>
Traceback (most recent call last):
File "gevent/greenlet.py", line 390, in run
File "ideskmain/clienttasks/_add_account.py", line 153, in _run
File "ideskmain/clienttasks/_add_account.py", line 328, in _ext_login
File "ideskmain/clienttasks/_add_account.py", line 323, in read_line
File "idesknet/clienthttpconnection.py", line 50, in read
File "httplib.py", line 612, in read
File "socket.py", line 384, in read
File "gevent/ssl.py", line 232, in recv
File "gevent/ssl.py", line 116, in read
File "gevent/socket.py", line 169, in wait_read
File "gevent/hub.py", line 164, in switch
SSLError: ('The read operation timed out',)
I had strace running on the daemon and it looked like the connection that timed out was to 35.201.97.85
$ host 35.201.97.85
85.97.201.35.in-addr.arpa domain name pointer 85.97.201.35.bc.googleusercontent.com.
$ insync-headless start
To add accounts in headless mode, use the "insync-headless add_account" command. Run "insync-headless help add_account" for more details.
$ insync-headless add_account
By adding an account, you are agreeing to our Terms and Conditions (insynchq.com/agreement). [yes/no]
yes
^CTraceback (most recent call last):
File "isyncd/linux/headless/cli.py", line 111, in ipc_insync
KeyboardInterrupt
This is a brand new Ubuntu 18.04 install. I have updated all packages.
I also have exactly the same issue:
ubuntu 16.04
inSync 1.5.5.37367
:/var/backups/mysql# insync add_account
By adding an account, you are agreeing to our Terms and Conditions (insynchq.com/agreement). [yes/no]
yes
^CTraceback (most recent call last):
File "isyncd/linux/headless/cli.py", line 111, in ipc_insync
KeyboardInterrupt
After typing yes and hitting enter the script will hang forever seemingly, until you cntrl+c out of the script
I’m getting the same issue as described. I have updated packages as recommended, issue persists.
Using Ubuntu 18.04
Process hangs after responding to the y/n prompt for T&C acceptance.