A deployment from one server to another fails with the message:
Build server is unreachable: Cannot read properties of undefined (reading ‘0’)
Setup:
Both Servers are Ubuntu, FM-Version 22.0.1 (Source) , 22.0.2 (Destination)
Otto is updated to 4.14.1 on both machines.
Certificates have been renewed and are valid. No self-signed certificates.
Both machines have been restarted several times.
a new deployment with a different file fails with the same error.
The connection test between the two servers is successful.
In the otto-error log i find this entry:
DeploymentError: JIT_BUILD_ERROR - Build server is unreachable: Cannot read properties of undefined (reading ‘0’)
Test-deployment on each server internally are successful, only the deployment between the two machines fails.
My suspicion is that the call to start the build is failing with a strange error. If you try to run a build on the source server manually does it fail?
Thanks for your fast reply.
I have sent you the debug.zip via chat. Running builds of both servers individually works fine ( from server1 to server1 or server2 to server2)
I have tried to start the deployment from the destination server as well, but with the same results.
It looks like the call to start the build from the destination server is failing. Could you send me the otto-info.log from the source server?
I’m also going to make that error a bit better in our next version so this is easier to debug for the next person.
You might also try running the build on the source server before starting the deployment to see if it will pull an existing build even if the just in time build is failing.
Do you have IP Filtering turned on on this server? It looks like your OttoFMS log is full of IP address denied errors. Are there any that correspond with the time that you attempted to run the deployment?