cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
657
Views
1
Helpful
6
Replies

Xpresso service "xpresso_requests_1" not coming up

sagarvogatti
Level 1
Level 1

Hello Everyone, 

I have installed cisco xpresso on docker compose. I can see "docker compose ps" up for all services. But when I login into xpresso GUI i am getting error -"No resource found". I have restarted the docker enginer and also restarted resource service. But still its not coming up. 

I have attached docker compose ps output for reference and also GUI screen shot. 

Can someone please help me here how to resolve this issue. 

6 Replies 6

Using port 8080? What is the output in docker-compose logs?

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hi @bigevilbeard

 

Thank you so much for replying and sorry for my late reply. 

When i run docker-compose logs -f xpresso_resources_1 command, I getting error that no such service found. I have attached screen shot for reference. However I can see in docker-compose ps that its up but port is not assisgned to it. 

 

Just quick look over the logs, from yourt error message "no such service found" means that Docker Compose cannot find a service with the name xpresso_resources_1. From what i recall here it can happen for a few reasons: the service is not defined in your docker-compose.yml file, the service has been removed from your docker-compose.yml file but the container is still running, or the service is not up and running. Try
  • Check your docker-compose.yml file to make sure that the xpresso_resources_1 service is defined.
  • Run the docker-compose ps command to see if the xpresso_resources_1 container is running. If it is, stop it with the docker-compose stop command.
  • Start the xpresso_resources_1 service with the docker-compose up command.

Maybe you can try running the docker-compose logs command with the --all flag to see if there are any errors in the logs. In the image you provided, you see that the xpresso_resources_1 service is listed in the output of the docker-compose ps command, but it does not have a port assigned to it as you said. So, the service is not up and running.

Try and start the xpresso_resources_1 service with
 
docker-compose up -d xpresso_resources_1

This will start the service in the background and then once the service is up and running, view the logs

docker-compose logs xpresso_resources_1

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Hi @bigevilbeard

I checked .yml file and i can see that resource service is listed. But still i cannot see any logs or even i can cannot restart it. I have output

There source service may be logging to a different location? I think you can add a logging section in your Docker Compose file if its not printing to the console.

Can you restart this with docker-compose down -v command to stop and remove all of the containers and volumes associated with your Docker Compose project?

I am pretty much out of ideas at this stage. I would follow up here with an issue or the emailer to the team https://github.com/CiscoTestAutomation/xpresso 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

sagarvogatti
Level 1
Level 1

Hi @bigevilbeard , 
Thank you so much for your suggestion and time, Surely I will check on this to Git Hub.