[SOLUTION]
enabled Use Host I/O Cache

[Related information] (in Japanese)
Virtual Box truble shoot: The I/O cache encountered an error

% eval `ssh-agent -c` % ssh-add ~/.ssh/id_rsa.oracleand use cut&paste Connect with SSH from the oracle cloud console
% ssh -o ProxyCommand='ssh -W %h:%p -p 443 ocid1.instanceconsoleconnection.oc1.ap-tokyo-1.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@instance-console.ap-tokyo-1.oraclecloud.com' ocid1.instance.oc1.ap-tokyo-1.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyExample2) use ~/.ssh/id_rsa.oracle, -i option(you need define -i twice
% ssh -i ~/.ssh/id_rsa.oracle -o ProxyCommand='ssh -i ~/.ssh/id_rsa.oracle -W %h:%p -p 443 ocid1.instanceconsoleconnection.oc1.ap-tokyo-1.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@instance-console.ap-tokyo-1.oraclecloud.com' ocid1.instance.oc1.ap-tokyo-1.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyIf you connect ssh connection with below error,
Permission denied (publickey). ssh_exchange_identification: Connection closed by remote hostRemove the oracle cloud host from ~/.ssh/known_hosts.
02-10 17:11:09.157 2124-2124/? I/GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
02-10 17:11:09.157 2124-2124/? I/GoogleInputMethod: onStartInput() : Dummy InputConnection bound
02-10 17:11:09.161 883-944/? I/ActivityManager: Displayed jp.naver.line.android/.activity.chathistory.ChatHistoryActivity: +194ms (total +254ms)
02-10 17:11:09.185 2124-2124/? I/GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
02-10 17:11:09.224 3181-3181/? V/View: dispatchProvideAutofillStructure(): not laid out, ignoring 0 children of 1073741840
02-10 17:11:09.224 3181-3181/? V/View: dispatchProvideAutofillStructure(): not laid out, ignoring 1 children of 1073741843
02-10 17:11:09.225 3181-3181/? V/View: dispatchProvideAutofillStructure(): not laid out, ignoring 0 children of 1073741853
02-10 17:11:09.225 3181-3181/? V/View: dispatchProvideAutofillStructure(): not laid out, ignoring 3 children of 1073741862
02-10 17:11:09.226 3181-3181/? V/View: dispatchProvideAutofillStructure(): not laid out, ignoring 4 children of 1073741874
02-10 17:11:09.226 3181-3181/? V/View: dispatchProvideAutofillStructure(): not laid out, ignoring 4 children of 1073741875
02-10 17:11:09.228 883-22436/? W/Binder: Outgoing transactions from this process must be FLAG_ONEWAY
java.lang.Throwable
at android.os.BinderProxy.transact(Binder.java:752)
at android.app.assist.AssistStructure$ParcelTransferReader.fetchData(AssistStructure.java:407)
at android.app.assist.AssistStructure$ParcelTransferReader.go(AssistStructure.java:343)
at android.app.assist.AssistStructure.ensureData(AssistStructure.java:2100)
at com.android.server.autofill.Session$1.send(Session.java:227)
at com.android.server.am.ActivityManagerService.reportAssistContextExtras(ActivityManagerService.java:13272)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2472)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2919)
at android.os.Binder.execTransact(Binder.java:697)
02-10 17:11:09.229 3181-3181/? I/AssistStructure: Flattened final assist data: 12784 bytes, containing 1 windows, 56 views
02-10 17:11:09.250 883-2370/? I/AssistStructure: Flattened final assist data: 12672 bytes, containing 1 windows, 56 views
02-10 17:11:09.463 698-698/? D/QCOM PowerHAL: LAUNCH HINT: OFF
02-10 17:11:09.799 3181-3219/? E/System: Ignoring attempt to set property "java.net.preferIPv6Addresses" to value "false".
function addDate(e) {
var authSheetName = "Auth";
var activeSheet = SpreadsheetApp.getActiveSheet();
if (activeSheet.getName() != authSheetName) {
var lr = activeSheet.getLastRow();
var weight = activeSheet.getRange(lr,2).getValue().toString();
weight = zenToHan(weight);
activeSheet.getRange(lr, 2).setValue(weight);
var CurrentDateString = Utilities.formatDate(new Date(), Session.getScriptTimeZone(), "MMM d yyyy HH:mm:ss");
activeSheet.getRange(lr, 1).setValue(CurrentDateString);
updateDiet(weight, authSheetName);
}
}
function updateDiet(weight, authSheetName) {
var bk = SpreadsheetApp.getActiveSpreadsheet();
var authSheet = bk.getSheetByName(authSheetName);
var userId = authSheet.getRange(1,2).getValue().toString();
var password = authSheet.getRange(2,2).getValue().toString();
// 1. open login page
var LOGIN_URL = "https://diet.dyndns.org/?cmd=login&user="+userId+"&password="+password
var response = UrlFetchApp.fetch(LOGIN_URL, {'followRedirects': false, 'muteHttpExceptions': false});
Utilities.sleep(1000);
var headers = response.getAllHeaders();
var cookies = [];
if ( typeof headers['Set-Cookie'] !== 'undefined' ) {
// Set-Cookieヘッダーが2つ以上の場合はheaders['Set-Cookie']の中身は配列
cookies = typeof headers['Set-Cookie'] == 'string' ? [ headers['Set-Cookie'] ] : headers['Set-Cookie'];
for (var i = 0; i < cookies.length; i++) {
// Set-Cookieヘッダーからname=valueだけ取り出し、セミコロン以降の属性は除外する
cookies[i] = cookies[i].split( ';' )[0];
};
}
// 2. open redirect page
REDIRECT_URL = "https://diet.dyndns.org/?cmd=user&";
var options = {
method : "POST",
contentType: "application/x-www-form-urlencoded",
headers: {
Cookie: cookies.join(';')
},
};
response = UrlFetchApp.fetch(REDIRECT_URL, options);
Utilities.sleep(1000);
// 3. set weight
WRITE_URL = "https://diet.dyndns.org/";
var date = new Date();
var timeZone = Session.getScriptTimeZone();
var year = Utilities.formatDate(date, timeZone, "y");
var month = Utilities.formatDate(date, timeZone, "M");
var day = Utilities.formatDate(date, timeZone, "d");
var hour = Utilities.formatDate(date, timeZone, "H");
weight = weight.toString();
var options = {
method : "POST",
contentType: "application/x-www-form-urlencoded",
headers: {
Cookie: cookies.join(';')
},
payload : {
year: year,
month:month,
day:day,
hour:hour,
weight:weight,
comment:"",
cmd:"user",
mode:"input"
}
};
response = UrlFetchApp.fetch(WRITE_URL, options);
}
function zenToHan(s) {
s = s.replace(/[0-9.]/g, function(s) {
return String.fromCharCode(s.charCodeAt(0) - 65248);
});
return s.replace(/ /g, "");
}