Users

All Posts (3)

avatar

nickireland

Terminal Run As "Net Only"

avatar
avatar
avatar

Hello

I'd like to add some terminal (PowerShell for eg) connections that run as domain users that are on a different domain then the computer running RDM.

Currently I open shells/apps like this in Windows using runas /user:user@domain /netonly "pwsh.exe" to start the process with the network credentials of another user while still running as the local user.

However when configuring the following, I get an error as the domain is not trusted by my local machine:

PowerShell terminal (local)

> Run as tab

> Run as mode: Default

> Credentials: {Remote domain creds}

Error: The security database on the server does not have a computer account for this workstation trust relationship.

Note this error is expected with the current implementation/options. This feature request is to expand the Run as options to include the equivalent of the /netonly argument on runas.exe.

Forward Proxy support for Local Development Login

avatar
avatar
avatar
avatar

I use http_proxy, https_proxy and no_proxy but had to put them in lower case and also needed to reboot, that works for my scripts communicating out.

However I don't personally use the devolutions login so can't comment about that, but I do know in the PSU settings\platform menu there's an option to configure proxy location and proxy credentials too - I think this may be for things like updates & git etc.

In this case I’m trying to login with the devolutions login as that’s apparently needed for a free local development instance. We don’t currently have any licenses for this and I’m mostly just trying to evaluate it locally on my workstation first.

So even if there are proxy configurations in the settings, I need to be able to login to get to them.

If I run the service as my user account instead of system I can see some web traffic in the proxy logs that is authenticated using Kerberos automatically. However the the configuration for the .NET HttpClient used for the OAuth flow must not be configured with automatic proxy authentication enabled.

Forward Proxy support for Local Development Login

avatar
avatar
avatar
avatar

We have a forward http proxy with authentication enabled in our environment.

When clicking "Login with Devolutions Account" I get the following exception:

IDX20803: Unable to obtain configuration from: 'https://login.devolutions.com/.well-known/openid-configuration'. Will retry at '1/1/0001 12:00:00 AM +00:00'. Exception: 'System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://login.devolutions.com/.well-known/openid-configuration'.

---> System.Net.Http.HttpRequestException: The proxy tunnel request to proxy 'http://{OurProxyServerAddressHere}/' failed with status code '407'."

at System.Net.Http.HttpConnectionPool.EstablishProxyTunnelAsync(Boolean async, CancellationToken cancellationToken)

at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)

at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)

at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem)

at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)

at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)

at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)

at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)

at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)

at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.SendAndRetryOnNetworkErrorAsync(HttpClient httpClient, Uri uri)

at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel)

--- End of inner exception stack trace ---

at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel)

at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.GetAsync(String address, IDocumentRetriever retriever, CancellationToken cancel)

at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)'.

Is there a way we can define proxy configurations including credentials in the appsettings.json?

I've tried to set HTTP_PROXY and HTTPS_PROXY vars for the windows service to no effect.

Also tried setting NO_PROXY to * and .* to try and bypass the proxy detection but it still tries to use the proxy server.

1 - 3 of 3 items