Share via

'Connect' feature does not work

Yevhenii Kryvtsun 0 Reputation points
2023-05-05T13:43:02.54+00:00

I can not connect to my container, getting the following error

User's image

Could you help to fix the issue?

Azure Container Instances

2 answers

Sort by: Most helpful
  1. Yevhenii Kryvtsun 0 Reputation points
    2023-05-12T08:41:54.2433333+00:00

    Hi @shiva patpi
    yes, the container is running.

    No errors, but it displays the Warning:

    WARN [th; https-jsse-nio-443-exec-10] - ework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/home.html] in DispatcherServlet with name 'buildServer'
    

    It's not a public container.

    Here is the FQDN: cashforce-teamcity-prod.westeurope.azurecontainer.io

    Thanks for your answer!

    Was this answer helpful?


  2. shiva patpi 13,396 Reputation points Microsoft Employee Moderator
    2023-05-05T14:28:41.7233333+00:00

    @Yevhenii Kryvtsun

    Above error happens because of multiple reasons:

    1. Check if the deployed container is in Running state with out any restarts (You can validate from the same view in the Azure Portal)
    2. Check the Logs tab, if it is displaying any errors
    3. This will also happen if there are any network restrictions in your company (Firewall etc)
    4. Also check if you have deployed the container instance in a VNET (Restricted environment)
    5. Also try to login to the container using below command , see if it goes through or not
      1. Use the commands mentioned in below document
        1. https://learn.microsoft.com/en-us/azure/container-instances/container-instances-exec
    6. If you are not able to see the logs , you can attach the container and see the real time logs by using below command:
      1. az container logs --resource-group myResourceGroup --name mycontainer
        1. https://learn.microsoft.com/en-us/azure/container-instances/container-instances-quickstart

    Finally , if it is public container image - do let us know the image name & path so that I can validate from our end to check it !

    Let us know if those steps helps out in finding the issue !

    Regards,

    Shiva.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.