Dãrķ Søŭł
Dãrķ Søŭł
Explore posts from servers
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
Code Server giving 404
Yes it works!
42 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
Code Server giving 404
No description
42 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
I will update the coder we host
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
sure!
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
yeah
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
a lot of ids
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
Invoke-RestMethod : WebSocket protocol violation: Connection header "" does not contain Upgrade
{"message":"Failed to accept websocket.","detail":"failed to accept WebSocket connection: WebSocket protocol
violation: Connection header \"\" does not contain Upgrade"}
At line:8 char:1
+ Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspaceagents/$ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invoke-RestMethod : WebSocket protocol violation: Connection header "" does not contain Upgrade
{"message":"Failed to accept websocket.","detail":"failed to accept WebSocket connection: WebSocket protocol
violation: Connection header \"\" does not contain Upgrade"}
At line:8 char:1
+ Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspaceagents/$ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
again insiders
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
Invoke-RestMethod : {"message":"\"user\" must be an existing uuid or username.","detail":"queried user=\"phorcys\""}
At line:3 char:16
+ ... entResult = Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/users ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Cannot index into a null array.
At line:6 char:1
+ $AgentID = ($AgentResult.latest_build.resources | Where-Object { $_.a ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray

Invoke-RestMethod : A positional parameter cannot be found that accepts argument 'System.Collections.Hashtable'.
At line:8 char:1
+ Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspaceagents/$ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-RestMethod], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invoke-RestMethod : {"message":"\"user\" must be an existing uuid or username.","detail":"queried user=\"phorcys\""}
At line:3 char:16
+ ... entResult = Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/users ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Cannot index into a null array.
At line:6 char:1
+ $AgentID = ($AgentResult.latest_build.resources | Where-Object { $_.a ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray

Invoke-RestMethod : A positional parameter cannot be found that accepts argument 'System.Collections.Hashtable'.
At line:8 char:1
+ Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspaceagents/$ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-RestMethod], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
yes
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
No description
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
yes
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
PS C:\Windows\system32> $Result = Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspaces" `
>> -H @{ "Coder-Session-Token" = "$(gc "$CoderStorage\session_token")" }
gc : Cannot find path 'C:\Users\micha\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\url' because it does
not exist.
At line:1 char:32
+ $Result = Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspa ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\micha\...oder-remote\url:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

gc : Cannot find path 'C:\Users\micha\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\session_token'
because it does not exist.
At line:2 char:36
+ ... -H @{ "Coder-Session-Token" = "$(gc "$CoderStorage\session_token")" }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\micha\...e\session_token:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

Invoke-RestMethod : Invalid URI: The hostname could not be parsed.
At line:1 char:11
+ $Result = Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], UriFormatException
+ FullyQualifiedErrorId : System.UriFormatException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
PS C:\Windows\system32> $Result = Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspaces" `
>> -H @{ "Coder-Session-Token" = "$(gc "$CoderStorage\session_token")" }
gc : Cannot find path 'C:\Users\micha\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\url' because it does
not exist.
At line:1 char:32
+ $Result = Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspa ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\micha\...oder-remote\url:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

gc : Cannot find path 'C:\Users\micha\AppData\Roaming\Code\User\globalStorage\coder.coder-remote\session_token'
because it does not exist.
At line:2 char:36
+ ... -H @{ "Coder-Session-Token" = "$(gc "$CoderStorage\session_token")" }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\micha\...e\session_token:String) [Get-Content], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

Invoke-RestMethod : Invalid URI: The hostname could not be parsed.
At line:1 char:11
+ $Result = Invoke-RestMethod "$(gc "$CoderStorage\url")/api/v2/workspa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], UriFormatException
+ FullyQualifiedErrorId : System.UriFormatException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
not others
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
No description
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
yeah
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
again
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
PS C:\Users\micha> ssh coder-vscode--sujalgoel--WebTask-Sujal -v
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug1: Reading configuration data C:\\Users\\micha/.ssh/config
debug1: C:\\Users\\micha/.ssh/config line 30: Applying options for coder-vscode--*
debug1: Executing proxy command: exec "c:\\Users\\micha\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\coder.coder-remote\\bin\\coder-windows-amd64.exe" vscodessh --network-info-dir "c:\\Users\\micha\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\coder.coder-remote\\net" --log-dir "c:\\Users\\micha\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\coder.coder-remote\\log" --session-token-file "c:\\Users\\micha\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\coder.coder-remote\\session_token" --url-file "c:\\Users\\micha\\AppData\\Ro
debug1: identity file C:\\Users\\micha/.ssh/id_rsa type -1
debug1: identity file C:\\Users\\micha/.ssh/id_rsa-cert type -1
debug1: identity file C:\\Users\\micha/.ssh/id_dsa type -1
debug1: identity file C:\\Users\\micha/.ssh/id_dsa-cert type -1
debug1: identity file C:\\Users\\micha/.ssh/id_ecdsa type -1
debug1: identity file C:\\Users\\micha/.ssh/id_ecdsa-cert type -1
debug1: identity file C:\\Users\\micha/.ssh/id_ed25519 type -1
debug1: identity file C:\\Users\\micha/.ssh/id_ed25519-cert type -1
debug1: identity file C:\\Users\\micha/.ssh/id_xmss type -1
debug1: identity file C:\\Users\\micha/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.1
Encountered an error running "coder vscodessh", see "coder vscodessh --help" for more information
error: Trace=[find workspace and agent: ]
Resource not found or you do not have access to this resource
kex_exchange_identification: Connection closed by remote host
PS C:\Users\micha>
PS C:\Users\micha> ssh coder-vscode--sujalgoel--WebTask-Sujal -v
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
debug1: Reading configuration data C:\\Users\\micha/.ssh/config
debug1: C:\\Users\\micha/.ssh/config line 30: Applying options for coder-vscode--*
debug1: Executing proxy command: exec "c:\\Users\\micha\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\coder.coder-remote\\bin\\coder-windows-amd64.exe" vscodessh --network-info-dir "c:\\Users\\micha\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\coder.coder-remote\\net" --log-dir "c:\\Users\\micha\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\coder.coder-remote\\log" --session-token-file "c:\\Users\\micha\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\coder.coder-remote\\session_token" --url-file "c:\\Users\\micha\\AppData\\Ro
debug1: identity file C:\\Users\\micha/.ssh/id_rsa type -1
debug1: identity file C:\\Users\\micha/.ssh/id_rsa-cert type -1
debug1: identity file C:\\Users\\micha/.ssh/id_dsa type -1
debug1: identity file C:\\Users\\micha/.ssh/id_dsa-cert type -1
debug1: identity file C:\\Users\\micha/.ssh/id_ecdsa type -1
debug1: identity file C:\\Users\\micha/.ssh/id_ecdsa-cert type -1
debug1: identity file C:\\Users\\micha/.ssh/id_ed25519 type -1
debug1: identity file C:\\Users\\micha/.ssh/id_ed25519-cert type -1
debug1: identity file C:\\Users\\micha/.ssh/id_xmss type -1
debug1: identity file C:\\Users\\micha/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.1
Encountered an error running "coder vscodessh", see "coder vscodessh --help" for more information
error: Trace=[find workspace and agent: ]
Resource not found or you do not have access to this resource
kex_exchange_identification: Connection closed by remote host
PS C:\Users\micha>
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
No description
90 replies
CCoder.com
Created by Dãrķ Søŭł on 5/26/2024 in #help
VSCode Extension Gives Connection Error
here
90 replies