Assuming you are using the default ports then yes, 943 is what you are using. Since you’re using Solace Cloud it’s the SEMP URL you should be using which can be found under the “Manage” tab in your Messaging Service.
Current port 943 URL default one is not working. Pipeline run timeout issue I am facing. You are already present on question- Gitlab: Terraform script timeout .
yes, it seems like these are both the same issue. For some reason you just don’t seem to be able to connect to the broker. I see @Balazs is helping you on the other discussion so I imagine once that is resolved it will also be fixed here.
In addition I have opened an issue on the github repo to make sure the proper URL is clear in the docs to avoid this problem in the future:
Hi @swapnil_mahajan , the analysis is correct, either the GitLab runner has limited external connection and its DNS services are restricted to an internal network or the Solace PubSub+ test broker is not publicly accessible.
Can you verify if you can access the broker SEMP service (Web Manager login page) from your local computer (assuming it has no restriction to this internet address)? I expect this Solace Cloud address is public: https://mr-connection-XXXXXXXXXXXXX.messaging.solace.cloud:943
Even with pasting Web Portal Manager URL in browser and login with credentials also takes me to Portal. I am not sure what you are checking with this ?
Hi @swapnil_mahajan , I don’t know how the GitLab runner is configured. It will only work if it is able to reach the broker SEMP service.
The goal of the prev test was to verify that the SEMP service is at least up and reachable somehow. Now the next step is to check if it is reachable from your GitLab runner. To test that, add this script before the Terraform test job and try to run it:
where the URL is the same that worked for you in the prev step.
If it fails (seems expected) then you would need to configure the GitLab runner to be able to reach this domain. The Terraform test will fail as long as this test fails.
% Total % Received % Xferd Average Speed Time Time Time Current 25 Dload Upload Total Spent Left Speed 26 100 1457 100 1457 0 0 12212 0 --:–:-- --:–:-- --:–:-- 12347