Coder Social home page Coder Social logo

Comments (19)

marrobi avatar marrobi commented on June 8, 2024 1

So the issue with the renew action failing has been fixed in #3647 - merged to main and will be in the next release.

And the nexus issues are being tracked here - #3642

I'm going to close this so we can keep conversation consolidated.

from azuretre.

marrobi avatar marrobi commented on June 8, 2024

The error:

The user or administrator has not consented to use the application with ID '*********************************' named 'tre-ws-f4eb'. Send an interactive authorization request for this user and resource.

Suggest the user has not accessed the TRE workspace portal or the application registration has been incorrectly provisioned.

Can you confirm the user in question can access the workspace portal, and no pop ups appear or are blocked to request consent?

If that seems ok, post a screen shot of the API permissions for the tre-ws-f4eb application registration.

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

Hi Marcus. It's all users including me as the Admin.
I have spun up Linux and WIndows fine and can still connect to the ones i've already created
I can connect to new windows too but not new linux

We have rerun the build pipeline too trying to see if anything has changed but it had no effect on the symptoms

image

from azuretre.

marrobi avatar marrobi commented on June 8, 2024

Thats users in the Enterprise App, can you get API permissions in the app registration. Thanks.

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

sorry here you go
image

from azuretre.

marrobi avatar marrobi commented on June 8, 2024

Can you confirm you see the error ` The user or administrator has not consented to use the application with ID '*********************************' named 'tre-ws-f4eb'. each time?

There is no reason it would work for some VMs and not others, are you 100% sure that is the case. Can you provide the logs before that error?

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

ok i will connect to a working VM in the WS and then a failing WS, then capture the logs. bear with me

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

Logs sent over privately

from azuretre.

marrobi avatar marrobi commented on June 8, 2024

Can you check the cloud init logs on the failing VM? The logs show:

RDP server closed/refused connection: Server refused connection (wrong security type?)

Which makes me think RDP hasn't configured correctly. Recommend using a prebaked image with everything configured to remove the risk of these transient issues.

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

these VM's where built using the out of the box images.

Looks like it there are failures around nexus in the logs
Could not connect to nexus-tre.uksouth.cloudapp.azure.com:443 (10.67.160.24). - connect (111: Connection refused)

I've checked and nexus is running on that IP too

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

So from a working VM i can browser to the Nexus server and telnet on port 80

image

From a failing server, i have logged in via bastion and can connect with telnet on port 80 too

image

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

from looking at the logs of both servers it seems to go wrong here

Cloud-init v. 22.2-0ubuntu1~18.04.2 running 'modules:config' at Fri, 28 Jul 2023 14:02:26 +0000. Up 570.95 seconds.
2023-07-28 14:02:26,223 - modules.py[WARNING]: Could not find module named cc_emit_upstart (searched ['cc_emit_upstart', 'cloudinit.config.cc_emit_upstart'])
curl: (7) Failed to connect to nexus-tre.uksouth.cloudapp.azure.com port 443: Connection refused
gpg: no valid OpenPGP data found.
Err:1 https://nexus-tre.uksouth.cloudapp.azure.com/repository/ubuntu bionic InRelease
Could not connect to nexus-tre.uksouth.cloudapp.azure.com:443 (10.67.160.24). - connect (111: Connection refused)

i wonder if this is an issue with the nexus ssl certs ?

from azuretre.

marrobi avatar marrobi commented on June 8, 2024

Looks like could be SSL cert issue. Strange that previous Linux VMs worked though.

What do you get at https://nexus-tre.uksouth.cloudapp.azure.com ? Is the certificate valid?

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

no the certificate is not valid. However, its been like this since day one of this environment?

image

from azuretre.

marrobi avatar marrobi commented on June 8, 2024

I doubt it will have ever worked if always been like this.

Can you confirm the certs service is installed and the certificate name, along with the certificate name specified in the nexus deployment, and that the two match? Again worth checking the nexus cloud init logs.

Full details can be found here - https://microsoft.github.io/AzureTRE/v0.12.0/tre-templates/shared-services/nexus/

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

we have 2 environments currently. both with the same cert message but only this one has started failing. I am still deploying successfully into the other environment fine this morning.
I will look deeper into the nexus service and get back to you.

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

image

from azuretre.

Danny-Cooke-CK avatar Danny-Cooke-CK commented on June 8, 2024

looks like the certificate expired
image

from azuretre.

marrobi avatar marrobi commented on June 8, 2024

There is a renew action in the UI for Cert Service - https://microsoft.github.io/AzureTRE/v0.12.0/tre-templates/shared-services/nexus/#renewing-certificates-for-nexus

from azuretre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.