Users

All Posts (28)

avatar

(user deleted)

Disabled

Renewing Cert - Token Has Expired

avatar
avatar
avatar
avatar

Thanks for continuing to help on this one! I ran a the command similar to above and got this...

Renewing Cert - Token Has Expired

avatar
avatar
avatar
avatar

I gave it a shot, found that my poshacme PowerShell module was a bit out of date so I updated that. Afterwards I attempted to run the first comment to get the cert and got the following

Renewing Cert - Token Has Expired

avatar
avatar
avatar
avatar

We are connecting to the subscription manually but this is what we have in the PS script which is run after connecting to azure via powershell

$az = Get-AzContext

$token = Get-AzAccessToken

$AzParams = @{

AZSubscriptionId=$az.Subscription.Id;

AZAccessToken=$token.Token;

}

$CommonName = "somedomain.com"

New-PACertificate $CommonName -AcceptTOS -Contact certs@someone.com

$Certificate = New-PACertificate $CommonName -DnsPlugin Azure -PluginArgs $AzParams

$CertPath = Split-Path -Path $Certificate.PfxFile -Parent

Import-WaykDenCertificate -CertificateFile $CertPath\fullchain.pfx -Password 'poshacme' -debug

Restart-WaykBastion

Renewing Cert - Token Has Expired

avatar
avatar
avatar
avatar

We wrote a quick script to try and automate the server SSL cert and it started throwing an error:

The install instructions referenced if something like this happened to restart the session or reboot the server but nether of those worked. How do you remove the old token?

Server Stops Responding

avatar
avatar
avatar
avatar

I think this may have been the case. In the event logs on the server, I could see that a reboot did indeed happen around the time the server became unavailable. Bastion was NOT set to run as a service and how now been set up to run as one. We tried a couple of reboots and found Bastion came back up afterwards. Will continue to monitor but this is probably it.

Thank you!

Server Stops Responding

avatar
avatar
avatar
avatar

Yeah last connection loss I see on the server was on 4/16 so it stayed up for almost a month. Thanks for the help so far!

Server Stops Responding

avatar
avatar
avatar
avatar

Ok cool I will read that doc now. Do you think this would apply though since our VM is a pure Azure one?

Server Stops Responding

avatar
avatar
avatar
avatar

Ok cool, ran a Restart-WaykBastion and the web console became available again.

That is interesting about the containers stopping. I don't have a good answer as to why that would happen. We set up the server according to the documentation as a VM within Azure. Is there something as part of Azure management that would somehow cause the containers to stop?

We run a persistant external monitor that attempts to load the URL for the bastion server every 5 mins or so. As with this instance and in the past, when it fails we know we need to RDP into the VM and restart the bastion services. As far as anything special, not that I am aware of. We generally do not touch the Azure services for this VM and just let it run. As far as I can see, no-one was in there at the time the server became unreachable.

From my monitor it looks like the server stopped responding to requests at 2021-05-11 22:48:40, does that line up with what you are seeing in the logs?

Server Stops Responding

avatar
avatar
avatar
avatar

Logs sent! Should I keep the server in its current state, or can I restart the Wayk services to bring it back online? Right now its not a production server so it being unusable is not the end of the world if there are other diagnostics you want to pull from it.

Server Stops Responding

avatar
avatar
avatar
avatar

You are correct its like it was previously, web interface stopped responding altogether. We keep a persistent monitor on the Bastion URL and when it stopped responding we knew it was down again. I was able to RDP into the server however and run the log export commandlet. Now I just need to figure out the best way to get a zip file out of windows server core :) do you typically recommend installing an FTP service on there or something else?

Server Stops Responding

avatar
avatar
avatar
avatar

Ok chiming back in. Our bastion server stopped responding this morning. I have not been in a position to attempt an RDP into it yet but if I can, what action should I attempt?

Server Stops Responding

avatar
avatar
avatar
avatar

Thanks for the quick attention to this one, I'll report back if it happens again.

Server Stops Responding

avatar
avatar
avatar
avatar

No, we had the issue and then while the server was down, we updated to 2021.1.4

Server Stops Responding

avatar
avatar
avatar
avatar

My fault totally, It is the bastion server itself that becomes unreachable from time to time, not the endpoint agents. I have a monitor going that tries to hit the URL on port 443 every 5 mins or so to keep an eye on the service so we know if its down. When that stops responding we find that we are unable to hit the web interface of the server but can RDP into the server and run a Restart-WaykBastion and the server becomes reachable again.

EDIT: we have seen this happen on versions 2021.1.3, and some of the earlier ones. We just updated the server to 2021.1.4 when it became unavailable this time.

Server Stops Responding

avatar
avatar
avatar
avatar

New releases seem a lot more stable these days, and that we like for sure. Things are generally more reliable but one thing I have seen is that from time to time the Bastion server will stop responding (via URL on SSL) but the VM OS still be available by RDP. Typically all I have to do is remote in and restart the Bastion services and it comes right back up. While its not a difficult thing to do it does make me nervous about larger scale deployment scenarios.

Are there any reasons why this would be happening?

Changelog Availability

avatar
avatar
avatar

Thank you! Got it bookmarked now

Changelog Availability

avatar
avatar
avatar

Is there an official Changelog available when new versions of Bastion are released? Its something I like to review before installing if possible.

How to replace ssl certificate

avatar
avatar
avatar
avatar

This just got me as well, went through the whole renewal without issue and that last step of restarting Bastion server is what it took for the cert to import properly. Its the little things that get you :)

Session will be closed. undefined

avatar
avatar
avatar

Sure thing, I'll grab logs from an impacted endpoint and PM them. Thank you!

Session will be closed. undefined

avatar
avatar
avatar

I had Wayk Bastion working well for a while but recently I noticed that, when trying to connect with endpoints, I would get an error like the one below:

The connection would come up but then I'd get booted. I have tried restarting Bastion and the endpoint but neither seem to work. If I check the agent on the endpoint it shows an invalid login.

I click log out and attempt to log back in, the browser window opens, I authenticate and get the message to close the window. I do but the window below never goes away.

Something happened and I am not sure what.

Issues Connecting to Mac

avatar
avatar
avatar

I will get those logs for you, seems def related to a user being logged in at the keyboard. Logged in and got a remote Wayk session open without issue. If I logged out the user while in the Wayk session, this error popped up in web view, the whole browser window went unresponsive and eventually popped this

Issues Connecting to Mac

avatar
avatar
avatar

Thank you! I tried the command to register it worked straight away. I checked permissions and it was exactly like you said, I had one that allowed viewing but I missed the one that gave control, all good there. With your advice I was able to connect remotely with a user directly logged into the machine but without a user logged into the Mac, when I attempt to connect unattended, I get this

or in the web client

Is that expected?

Issues Connecting to Mac

avatar
avatar
avatar

Been trying to get remote access set up for MacOS (Big Sur) tonight and not having much luck. First I was able to install the agent and get in but found that while I could view, I could not interact with the session at all. The agent was set to allow all activity. Tried later both using the web client and the desktop client. The web client threw the following error

and the desktop client threw this:

I was successfully able to add the URL for my bastion server on the MacOS agent config but when I attempted to register it for unattended it would just sit there registering until I had to force reboot the system. I tried running some variations of the PowerShell command in the terminal but nothing worked. Am I doing something wrong?

Challenges with Unattended Access

avatar
avatar
avatar

Thanks for the reply! That is good to know. Ideally console access would not require a local account at all, but I totally get how things work in their current state. From an MSP perspective, supporting multiple orgs and individuals, what would you recommend best practice be to deploy for unattended access?

Challenges with Unattended Access

avatar
avatar
avatar

Ok found another post on here that described trying to remote into machines using unattanded access...

Secure Remote Delegation Login problem - Devolutions Forum

For now this may be a deal breaker for us: From what I can see, you either require a local account on the target machine, a remote access password for the agent on the device or permission to be granted at the console by the user. Does this sound correct? If so, will true unattended access be part of the development of this? We love the idea of hosting our own remote access solution but need the ability to remote into agents without a local account on the machine.

Ideally we would install the agent and it would just give us straight up console access. If a user was logged on, we see that. If it was at the windows logon screen, we get that. For MSPs, I am thinking of ways we could make this work without compromising security or being a maintenance nightmare.

1 - 25 of 28 items