iOS Question BUILD SERVER - WRONG IP address

Gianni Sassanelli

Active Member
Licensed User
Longtime User
Hi
trieng to run configure buildserver on local mac,
it start on Wrong ip Addres and then don't install any app throut B4I Bridge

How can i solve this?
tks


my local mac ip is 192.168.0.26 but build server install on 169.254.52.238


 
Last edited:

Gianni Sassanelli

Active Member
Licensed User
Longtime User
I have phisical mac
it have 2 network, WI-FI (disabled) and Lan that i use in this time

seems the problem occurs if I run the buildserver after launching Apple Configurator 2

this is the log on mac where i start buildserver

2021-08-14 12:10:36.632:INFO::main: Logging initialized @251ms to org.eclipse.jetty.util.log.StdErrLog
Loading default configuration file.
AppPath=/Users/techservice/B4i_BuildServer
Mac version: 10.15.7
Xcode path: /Applications/Xcode.app/Contents/Developer
Xcode version: 11.5
Creating key for: 169.254.52.238
2021-08-14 12:10:40.568:INFO:eek:ejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 16.0.2+7-67
2021-08-14 12:10:40.637:INFO:eek:ejs.session:main: DefaultSessionIdManager workerName=node0
2021-08-14 12:10:40.637:INFO:eek:ejs.session:main: No SessionScavenger set, using defaults
2021-08-14 12:10:40.639:INFO:eek:ejs.session:main: node0 Scavenging every 660000ms
2021-08-14 12:10:40.647:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@365185bd{/,file:///Users/techservice/B4i_BuildServer/www,AVAILABLE}
2021-08-14 12:10:40.651:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened /Users/techservice/B4i_BuildServer/logs/b4j-2021_08_14.request.log
2021-08-14 12:10:40.679:INFO:eek:ejs.AbstractConnector:main: Started ServerConnector@133e16fd{HTTP/1.1,[http/1.1]}{0.0.0.0:51041}
2021-08-14 12:10:40.973:INFO:eek:ejus.SslContextFactory:main: x509=X509@1d76aeea(jetty,h=[169.254.52.238],w=[]) for SslContextFactory@78dd667e[provider=null,keyStore=file:///Users/techservice/B4i_BuildServer/key/key.jks,trustStore=null]
2021-08-14 12:10:40.974:INFO:eek:ejus.SslContextFactory:main: x509=X509@10db82ae(rootca,h=[],w=[]) for SslContextFactory@78dd667e[provider=null,keyStore=file:///Users/techservice/B4i_BuildServer/key/key.jks,trustStore=null]
2021-08-14 12:10:41.159:INFO:eek:ejs.AbstractConnector:main: Started ServerConnector@7b7ef6a8{SSL,[ssl, http/1.1]}{0.0.0.0:51042}
2021-08-14 12:10:41.161:INFO:eek:ejs.Server:main: Started @4787ms
Build server is ready
https://169.254.52.238:51042 //this is the wrong ip
http://169.254.52.238:51041

Build server version: 7.50
success: true, 0
12:14:18| Compilation time: 64055, myb4ikey, queue: 0, success: true
success: true, 164
success: true, 164
12:18:29| Compilation time: 18598, myb4ikey, queue: 0, success: true
Adding user to keychain: myb4ikey
success: true, 65
12:19:39| Compilation time: 8577, myb4ikey, queue: 0, success: false
success: true, 65
12:21:24| Compilation time: 6804, myb4ikey, queue: 0, success: false

1628937618982.png



1628936727731.png
 
Last edited:
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
'Wrong' IP does not explain your troubles. In my case B4iBulder shows 169.254.... also, but compilation is Ok
BTW, in Safari 169.254.... works fine (like 192.168.*.*)

What messages do you see in B4I IDE ?
 
Upvote 0

Gianni Sassanelli

Active Member
Licensed User
Longtime User
Compilation in IDE Is ok but
I have also QRcode to install
and round button to manual install if i browse this address http://192.168.0.26/ myb4ikey
But if i try to do this from device, when click on button i am redirected to 169.xxx.xxx
 
Upvote 0

Gianni Sassanelli

Active Member
Licensed User
Longtime User
It looks that you talk about a bridge. Bridge does not work in ios 14.5+. You need to set a flag 'Apple Configurator' in ide

first view from left is IDE Server Configuration
view on Center is Simuator and i can compile and run on IT
on right ther is an IPAD joined with appconfiguration 2 that do not work

1628950919556.png
 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
I use an iPhone. Guess, it's not important.
iPhone is connected with Mac using USB cable. After compilation appears an app icon on iPhone's home screen. Unlike a bridge, you need to click it.
What b4i writes inlog after compilation ?
 
Upvote 0

Gianni Sassanelli

Active Member
Licensed User
Longtime User
I use an iPhone. Guess, it's not important.
iPhone is connected with Mac using USB cable. After compilation appears an app icon on iPhone's home screen. Unlike a bridge, you need to click it.
What b4i writes inlog after compilation ?
no for me nothigh of this.
the app start only if i have B4I Bridge on iPad
the app start also ipad is not connected with usb.
 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
Apple Configurator 2 supports cable connection only. Click ac2 icon on Mac. If iPhone is connected, ac2 shows a smartphone. Otherwise - gray borders.
 
Upvote 0

Gianni Sassanelli

Active Member
Licensed User
Longtime User
Apple Configurator 2 supports cable connection only. Click ac2 icon on Mac. If iPhone is connected, ac2 shows a smartphone. Otherwise - gray borders.
Semen i sended you a screenshot.
ipad is connected by usb cable and is showed in Apple Configurator 2 as you can view in my screenshot.
can you help me?
 
Upvote 0
Top