Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9648

webpage access blocked after failing ssh cloning

$
0
0

I was trying cloning a GitLab repo with VSCode, but I was probably doing something wrong, in fact I can't authorize, but there's a big big problem:
it failed cloning due to bad authentication and then it completely blocked access to that website when under the current network!
I tried going to the hosts file to see if something has changed but no website was added, I also tried clearing out the info in the known_hosts file in the .ssh folder under my user folder but nothing changed...
I attach the error log after bad authentication, why the f**k is completely blocking me out of a website?!
Please help, I'm finishing the networks I can use, main WiFi and Hotspot already used!
I've already read posts on forums about clearing dns cache and resetting/flushing the network but they didn't worked.

2024-05-23 18:37:54.644 [info] Log level: Info2024-05-23 18:37:54.644 [info] Validating found git in: "C:\Program Files\Git\cmd\git.exe"2024-05-23 18:37:54.644 [info] Validating found git in: "C:\Program Files (x86)\Git\cmd\git.exe"2024-05-23 18:37:54.644 [info] Validating found git in: "C:\Program Files\Git\cmd\git.exe"2024-05-23 18:37:54.644 [info] Validating found git in: "C:\Users\marti\AppData\Local\Programs\Git\cmd\git.exe"2024-05-23 18:37:55.385 [info] Validating found git in: "C:\Users\marti\scoop\shims\git.exe"2024-05-23 18:37:55.584 [info] Using git "2.44.0.windows.1" from "C:\Users\marti\scoop\shims\git.exe"2024-05-23 18:39:12.870 [info] Log level: Info2024-05-23 18:39:12.870 [info] Validating found git in: "C:\Program Files\Git\cmd\git.exe"2024-05-23 18:39:12.870 [info] Validating found git in: "C:\Program Files (x86)\Git\cmd\git.exe"2024-05-23 18:39:12.870 [info] Validating found git in: "C:\Program Files\Git\cmd\git.exe"2024-05-23 18:39:12.870 [info] Validating found git in: "C:\Users\marti\AppData\Local\Programs\Git\cmd\git.exe"2024-05-23 18:39:12.918 [info] Validating found git in: "C:\Users\marti\scoop\shims\git.exe"2024-05-23 18:39:13.023 [info] Using git "2.44.0.windows.1" from "C:\Users\marti\scoop\shims\git.exe"2024-05-23 18:41:08.242 [info] GitProtocolHandler.handleUri(vscode://vscode.git/clone?url%3Dgit%40gitlab.di.unimi.it%3Aprog2%2Faa2324%2Fmartino.tecco%2Fmartino.tecco-240610.git)2024-05-23 18:41:08.249 [info] Executing git.clone for ssh://git@gitlab.di.unimi.it/prog2/aa2324/martino.tecco/martino.tecco-240610.git2024-05-23 18:43:49.704 [info] > git clone ssh://git@gitlab.di.unimi.it/prog2/aa2324/martino.tecco/martino.tecco-240610.git c:\Users\marti\Documents\University's\Programmazione II\progetti d'esame\aa2324\martino.tecco-240610\martino.tecco-240610 --progress [35638ms]2024-05-23 18:43:49.704 [info] Cloning into 'c:\Users\marti\Documents\University's\Programmazione II\progetti d'esame\aa2324\martino.tecco-240610\martino.tecco-240610'...Warning: Permanently added 'gitlab.di.unimi.it' (ED25519) to the list of known hosts.c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1(()=>{"use strict";var e={7549:(e,s,r)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IPCClient=void 0;const t=r(8611);s.IPCClient=class{constructor(e){this.handlerName=e;const s=process.env.VSCODE_GIT_IPC_HANDLE;if(!s)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=s}call(e){const s={socketPath:this.ipcHandlePath,path:`/${this.handlerName}`,method:"POST"};return new Promise(((r,n)=>{const o=t.request(s,(e=>{if(200!==e.statusCode)return n(new Error(`Bad status code: ${e.statusCode}`));const s=[];e.on("data",(e=>s.push(e))),e.on("end",(()=>r(JSON.parse(Buffer.concat(s).toString("utf8")))))}));o.on("error",(e=>n(e))),o.write(JSON.stringify(e)),o.end()}))}}},9896:e=>{e.exports=require("fs")},8611:e=>{e.exports=require("http")}},s={};function r(t){var n=s[t];if(void 0!==n)return n.exports;var o=s[t]={exports:{}};return e[t](o,o.exports,r),o.exports}var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:!0});const s=r(9896),n=r(7549);function o(e){console.error("Missing or invalid credentials."),console.error(e),process.exit(1)}!function(e){if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return o("Missing pipe");if(!process.env.VSCODE_GIT_ASKPASS_TYPE)return o("Missing type");if("https"!==process.env.VSCODE_GIT_ASKPASS_TYPE&&"ssh"!==process.env.VSCODE_GIT_ASKPASS_TYPE)return o(`Invalid type: ${process.env.VSCODE_GIT_ASKPASS_TYPE}`);if("fetch"===process.env.VSCODE_GIT_COMMAND&&process.env.VSCODE_GIT_FETCH_SILENT)return o("Skip silent fetch commands");const r=process.env.VSCODE_GIT_ASKPASS_PIPE,t=process.env.VSCODE_GIT_ASKPASS_TYPE,i="https"===t?e[2]:e[3];let c,a,p;"https"===t&&(c=e[4].replace(/^["']+|["':]+$/g,"")),"ssh"===t&&(/passphrase/i.test(i)?a=e[6]?.replace(/^["']+|["':]+$/g,""):(c=e[6].replace(/^["']+|["':]+$/g,""),p=e[15])),new n.IPCClient("askpass").call({askpassType:t,request:i,host:c,file:a,fingerprint:p}).then((e=>{s.writeFileSync(r,e+"\n"),setTimeout((()=>process.exit(0)),0)})).catch((e=>o(e)))}(process.argv)})();var n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();TypeError: Cannot read properties of undefined (reading 'replace')    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1748    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1967    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1983    at Object.<anonymous> (c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:2089)    at Module._compile (node:internal/modules/cjs/loader:1271:14)    at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)    at Module.load (node:internal/modules/cjs/loader:1126:32)    at Module._load (node:internal/modules/cjs/loader:967:12)    at c._load (node:electron/js2c/node_init:2:13672)    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:101:12)Node.js v18.18.2c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1(()=>{"use strict";var e={7549:(e,s,r)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IPCClient=void 0;const t=r(8611);s.IPCClient=class{constructor(e){this.handlerName=e;const s=process.env.VSCODE_GIT_IPC_HANDLE;if(!s)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=s}call(e){const s={socketPath:this.ipcHandlePath,path:`/${this.handlerName}`,method:"POST"};return new Promise(((r,n)=>{const o=t.request(s,(e=>{if(200!==e.statusCode)return n(new Error(`Bad status code: ${e.statusCode}`));const s=[];e.on("data",(e=>s.push(e))),e.on("end",(()=>r(JSON.parse(Buffer.concat(s).toString("utf8")))))}));o.on("error",(e=>n(e))),o.write(JSON.stringify(e)),o.end()}))}}},9896:e=>{e.exports=require("fs")},8611:e=>{e.exports=require("http")}},s={};function r(t){var n=s[t];if(void 0!==n)return n.exports;var o=s[t]={exports:{}};return e[t](o,o.exports,r),o.exports}var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:!0});const s=r(9896),n=r(7549);function o(e){console.error("Missing or invalid credentials."),console.error(e),process.exit(1)}!function(e){if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return o("Missing pipe");if(!process.env.VSCODE_GIT_ASKPASS_TYPE)return o("Missing type");if("https"!==process.env.VSCODE_GIT_ASKPASS_TYPE&&"ssh"!==process.env.VSCODE_GIT_ASKPASS_TYPE)return o(`Invalid type: ${process.env.VSCODE_GIT_ASKPASS_TYPE}`);if("fetch"===process.env.VSCODE_GIT_COMMAND&&process.env.VSCODE_GIT_FETCH_SILENT)return o("Skip silent fetch commands");const r=process.env.VSCODE_GIT_ASKPASS_PIPE,t=process.env.VSCODE_GIT_ASKPASS_TYPE,i="https"===t?e[2]:e[3];let c,a,p;"https"===t&&(c=e[4].replace(/^["']+|["':]+$/g,"")),"ssh"===t&&(/passphrase/i.test(i)?a=e[6]?.replace(/^["']+|["':]+$/g,""):(c=e[6].replace(/^["']+|["':]+$/g,""),p=e[15])),new n.IPCClient("askpass").call({askpassType:t,request:i,host:c,file:a,fingerprint:p}).then((e=>{s.writeFileSync(r,e+"\n"),setTimeout((()=>process.exit(0)),0)})).catch((e=>o(e)))}(process.argv)})();var n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();TypeError: Cannot read properties of undefined (reading 'replace')    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1748    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1967    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1983    at Object.<anonymous> (c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:2089)    at Module._compile (node:internal/modules/cjs/loader:1271:14)    at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)    at Module.load (node:internal/modules/cjs/loader:1126:32)    at Module._load (node:internal/modules/cjs/loader:967:12)    at c._load (node:electron/js2c/node_init:2:13672)    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:101:12)Node.js v18.18.2c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1(()=>{"use strict";var e={7549:(e,s,r)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IPCClient=void 0;const t=r(8611);s.IPCClient=class{constructor(e){this.handlerName=e;const s=process.env.VSCODE_GIT_IPC_HANDLE;if(!s)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=s}call(e){const s={socketPath:this.ipcHandlePath,path:`/${this.handlerName}`,method:"POST"};return new Promise(((r,n)=>{const o=t.request(s,(e=>{if(200!==e.statusCode)return n(new Error(`Bad status code: ${e.statusCode}`));const s=[];e.on("data",(e=>s.push(e))),e.on("end",(()=>r(JSON.parse(Buffer.concat(s).toString("utf8")))))}));o.on("error",(e=>n(e))),o.write(JSON.stringify(e)),o.end()}))}}},9896:e=>{e.exports=require("fs")},8611:e=>{e.exports=require("http")}},s={};function r(t){var n=s[t];if(void 0!==n)return n.exports;var o=s[t]={exports:{}};return e[t](o,o.exports,r),o.exports}var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:!0});const s=r(9896),n=r(7549);function o(e){console.error("Missing or invalid credentials."),console.error(e),process.exit(1)}!function(e){if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return o("Missing pipe");if(!process.env.VSCODE_GIT_ASKPASS_TYPE)return o("Missing type");if("https"!==process.env.VSCODE_GIT_ASKPASS_TYPE&&"ssh"!==process.env.VSCODE_GIT_ASKPASS_TYPE)return o(`Invalid type: ${process.env.VSCODE_GIT_ASKPASS_TYPE}`);if("fetch"===process.env.VSCODE_GIT_COMMAND&&process.env.VSCODE_GIT_FETCH_SILENT)return o("Skip silent fetch commands");const r=process.env.VSCODE_GIT_ASKPASS_PIPE,t=process.env.VSCODE_GIT_ASKPASS_TYPE,i="https"===t?e[2]:e[3];let c,a,p;"https"===t&&(c=e[4].replace(/^["']+|["':]+$/g,"")),"ssh"===t&&(/passphrase/i.test(i)?a=e[6]?.replace(/^["']+|["':]+$/g,""):(c=e[6].replace(/^["']+|["':]+$/g,""),p=e[15])),new n.IPCClient("askpass").call({askpassType:t,request:i,host:c,file:a,fingerprint:p}).then((e=>{s.writeFileSync(r,e+"\n"),setTimeout((()=>process.exit(0)),0)})).catch((e=>o(e)))}(process.argv)})();var n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();TypeError: Cannot read properties of undefined (reading 'replace')    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1748    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1967    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1983    at Object.<anonymous> (c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:2089)    at Module._compile (node:internal/modules/cjs/loader:1271:14)    at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)    at Module.load (node:internal/modules/cjs/loader:1126:32)    at Module._load (node:internal/modules/cjs/loader:967:12)    at c._load (node:electron/js2c/node_init:2:13672)    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:101:12)Node.js v18.18.2c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1(()=>{"use strict";var e={7549:(e,s,r)=>{Object.defineProperty(s,"__esModule",{value:!0}),s.IPCClient=void 0;const t=r(8611);s.IPCClient=class{constructor(e){this.handlerName=e;const s=process.env.VSCODE_GIT_IPC_HANDLE;if(!s)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=s}call(e){const s={socketPath:this.ipcHandlePath,path:`/${this.handlerName}`,method:"POST"};return new Promise(((r,n)=>{const o=t.request(s,(e=>{if(200!==e.statusCode)return n(new Error(`Bad status code: ${e.statusCode}`));const s=[];e.on("data",(e=>s.push(e))),e.on("end",(()=>r(JSON.parse(Buffer.concat(s).toString("utf8")))))}));o.on("error",(e=>n(e))),o.write(JSON.stringify(e)),o.end()}))}}},9896:e=>{e.exports=require("fs")},8611:e=>{e.exports=require("http")}},s={};function r(t){var n=s[t];if(void 0!==n)return n.exports;var o=s[t]={exports:{}};return e[t](o,o.exports,r),o.exports}var t={};(()=>{var e=t;Object.defineProperty(e,"__esModule",{value:!0});const s=r(9896),n=r(7549);function o(e){console.error("Missing or invalid credentials."),console.error(e),process.exit(1)}!function(e){if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return o("Missing pipe");if(!process.env.VSCODE_GIT_ASKPASS_TYPE)return o("Missing type");if("https"!==process.env.VSCODE_GIT_ASKPASS_TYPE&&"ssh"!==process.env.VSCODE_GIT_ASKPASS_TYPE)return o(`Invalid type: ${process.env.VSCODE_GIT_ASKPASS_TYPE}`);if("fetch"===process.env.VSCODE_GIT_COMMAND&&process.env.VSCODE_GIT_FETCH_SILENT)return o("Skip silent fetch commands");const r=process.env.VSCODE_GIT_ASKPASS_PIPE,t=process.env.VSCODE_GIT_ASKPASS_TYPE,i="https"===t?e[2]:e[3];let c,a,p;"https"===t&&(c=e[4].replace(/^["']+|["':]+$/g,"")),"ssh"===t&&(/passphrase/i.test(i)?a=e[6]?.replace(/^["']+|["':]+$/g,""):(c=e[6].replace(/^["']+|["':]+$/g,""),p=e[15])),new n.IPCClient("askpass").call({askpassType:t,request:i,host:c,file:a,fingerprint:p}).then((e=>{s.writeFileSync(r,e+"\n"),setTimeout((()=>process.exit(0)),0)})).catch((e=>o(e)))}(process.argv)})();var n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();TypeError: Cannot read properties of undefined (reading 'replace')    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1748    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1967    at c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:1983    at Object.<anonymous> (c:\Program Files\Microsoft Visual Studio Code\resources\app\extensions\git\dist\askpass-main.js:1:2089)    at Module._compile (node:internal/modules/cjs/loader:1271:14)    at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)    at Module.load (node:internal/modules/cjs/loader:1126:32)    at Module._load (node:internal/modules/cjs/loader:967:12)    at c._load (node:electron/js2c/node_init:2:13672)    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:101:12)Node.js v18.18.2Connection reset by 159.149.129.232 port 22fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.2024-05-23 20:07:35.897 [info] Cloning into 'c:\Users\marti\Documents\University's\Programmazione II\progetti d'esame\aa2324\martino.tecco-240610\martino.tecco-240610'...fatal: unable to access 'https://gitlab.di.unimi.it/prog2/aa2324/martino.tecco/martino.tecco-240610.git/': Failed to connect to gitlab.di.unimi.it port 443 after 21056 ms: Couldn't connect to server```

Viewing all articles
Browse latest Browse all 9648

Trending Articles