Skip to content

[Bug]: The Agent and Server are using different ports with agent accessing HTTP and server accessing HTTPS #400

@achitkara007-crypto

Description

@achitkara007-crypto

Is there an existing issue for this?

  • I have searched the existing issues

What is the current behavior?

I am trying to use the downloadable package. I have followed the commands mentioned in the document - [https://testsigma.com/docs/getting-started/setup/downloadable-package/].

I have verified that in the logs of server it is mentioned - serverLocalUrl=http://localhost:9090 and localAgentUrl=https://localhost:9494.

Image

In the logs of agent it is mentioned - TestsigmaAgent Server initialized with port: 9393.

Image Image

Due to this, While the UI is functioning on url - https://localhost:443 and https://local.testsigmaos.com/ui. The agent is not connecting with the server. The agent batch file runs for 20-30 seconds and gives the messages Testsigma Agent - STOPPED in the end.

Image

What is the expected behavior?

The agent is connecting with the server when the batch files (nginx, server and agent) are run.

Steps To Reproduce

  1. Download the open source package from GitHub and mysql from its website.
  2. Follow the steps in the document and run start.bat for server and agent and start_nginx.bat
  3. Open server and try connecting to agent.

Version

Testsigma Community Edition

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions