testsigma icon indicating copy to clipboard operation
testsigma copied to clipboard

Cannot register docker agent with communiy edition

Open cencio91 opened this issue 2 years ago • 9 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Doc/tutorial link

https://testsigma.com/docs/agent/setup-on-windows-mac-linux/

Explain the problem

Hi,

I'm trying to setup a testsigma agent using Docker. I'm using Testigma Community (self hosted).

According to the linked guide, I should go to the agent page and click on "add new Agent", then select the option "activate later" to obtain an activation key. testsigma

The "activate later" option is not available on my interface (I'm using testigma server v3.0.1). Is this a community licence limitation? I can see from the agent log that it try to connect to app.testigma.com. Does it only works with app.testsigma.com? In this case, is it not possible to have a headless test execution in community edition?

Than you very much

Your inputs to improve

  • If it's a licence limitation, plese better specify it in the documentation
  • if it's due to an old documentation, please update this page

cencio91 avatar Sep 16 '23 11:09 cencio91

Hey @cencio91 Yes you are right, the headless option and later activation is available in the cloud version. From the error message i see, it looks like the agent need to run on the background so that web application polls and looks for communication with the agent. But here i see that the agent is not able to communicate to the web app that you have hosted. This could be due to various reason a common reason could be due to security restrictions.

We are currently revamping our documentation, especially for the community edition and this is a valid input, we will promptly work on the feedback and get back to you. However you can avail these feature on our free cloud version as well.

amitsavyasachi avatar Sep 19 '23 05:09 amitsavyasachi

Thank you @amitsavyasachi for your reply. Is this a commercial choise limitation, or it will be available also in self-hosted version later? The pricing step between free and pro plan is too large for my use case. I've got that error running the docker-compose.yml template in the repository, so the agent is installed inside the container

cencio91 avatar Sep 19 '23 09:09 cencio91

I am encountering this issue also, and looking into the agent source code, there are no way to change the server url host in agent setup to make it accessing our self-hosted testsigma_url as printed in this log

testsigma-agent           | 2023-09-19 09:53:55  INFO  ApplicationEventHandler:runPostWebContextReadyActions:149 TestsigmaAgent  -------------- Post Web Context Ready Actions Finished --------------
testsigma-agent           | 2023-09-19 09:53:55  INFO  ApplicationEventHandler:postAppContextReadyActions:74 TestsigmaAgent  -------------- Post App Context Ready Actions Started --------------
testsigma-agent           | 2023-09-19 09:53:57  INFO  AgentService:checkAppConnection:38 TestsigmaAgent  https://app.testsigma.com reachable? true
testsigma-agent           | 2023-09-19 09:53:57  INFO  AgentConfig:setMobileEnabled:103 TestsigmaAgent  Checking if appium executable exists in /opt/app/appium/appium
testsigma-agent           | 2023-09-19 09:53:57  INFO  AgentConfig:setMobileEnabled:108 TestsigmaAgent  Mobile enabled flag - true
testsigma-agent           | 2023-09-19 09:53:57  INFO  HttpClient:get:122 TestsigmaAgent  Making a get request to https://app.testsigma.com/api/agents/certificate

it will directly accessing https://app.testsigma.com

ghiyastfarisi avatar Sep 19 '23 10:09 ghiyastfarisi

Has there been any further progress on this issue? I am still trying to understand whether it is a bug, limitation or documentation issue.

beanywilson avatar Jan 17 '24 08:01 beanywilson

Hi, is it still impossible to use headless option with self-hosted version? I'm going to start a new project and testsigma would be my first choice, but both headless than self-hosting are requirements for me. I cannot find any side by side comparison between feature of self-hosted and cloud version.

Thank you very much

cencio91 avatar Aug 03 '24 10:08 cencio91

+Amit Savyasachi @.***> Regards, Rukmangada(KR) Founder & CEO | Testsigma https://testsigma.com

On Sat, Aug 3, 2024 at 4:12 PM cencio91 @.***> wrote:

Hi, is it still impossible to use headless option with self-hosted version? I'm going to start a new project and testsigma would be my first choice, but both headless than self-hosting are requirements for me. I cannot find any side by side comparison between feature of self-hosted and cloud version.

Thank you very much

— Reply to this email directly, view it on GitHub https://github.com/testsigmahq/testsigma/issues/375#issuecomment-2266671323, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVOCK6QRYJF5NJV673BJDPDZPSX3BAVCNFSM6AAAAAA422Y3E6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRWGY3TCMZSGM . You are receiving this because you were assigned.Message ID: @.***>

rukmangada avatar Aug 03 '24 10:08 rukmangada

+Amit Savyasachi @.> Regards, Rukmangada(KR) Founder & CEO | Testsigma https://testsigma.com On Sat, Aug 3, 2024 at 4:12 PM cencio91 @.> wrote: Hi, is it still impossible to use headless option with self-hosted version? I'm going to start a new project and testsigma would be my first choice, but both headless than self-hosting are requirements for me. I cannot find any side by side comparison between feature of self-hosted and cloud version. Thank you very much — Reply to this email directly, view it on GitHub <#375 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVOCK6QRYJF5NJV673BJDPDZPSX3BAVCNFSM6AAAAAA422Y3E6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRWGY3TCMZSGM . You are receiving this because you were assigned.Message ID: @.***>

Hi Rukmangada, I'm sorry but I haven't understood your comment

cencio91 avatar Aug 03 '24 13:08 cencio91

@cencio91 Yes, you can check the comparioson from here CE Vs Cloud.pdf

There are no plans as of now to add this to the community version as we are looking for more contributors who can actually contribute to this on scale. However, these options are available in the cloud version.

amitsavyasachi avatar Aug 05 '24 11:08 amitsavyasachi

Ok @amitsavyasachi , thank you very much for for your clarification and the provided documentation

cencio91 avatar Aug 07 '24 22:08 cencio91