iOS Question How do I reinstall the b4ibuildserver

davepamn

Active Member
Licensed User
Longtime User
ultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]

I am getting this error after removing files in my key directory.

I had everything running yesterday. Today, My bridge was having a problem. I wasn't behind the firewall. My mistake. I thought it was related to the dynamic ip. I removed the contents of the key directory. Now, nothing works. is there a way to start over the installation
 
Last edited:

davepamn

Active Member
Licensed User
Longtime User
I killed Java from the activity monitor and the build server work again
 
Last edited:
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
Now, I am back to original problem where safari will not download bridge or an app to the iPad. when I click install app button, nothing happens.

how can I determine why safari won't download bridge? Is there an alternative way to install bridge.
 
Last edited:
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
What ip address should go into key.txt

should it be the ip address of the iMac that is hosting the build server or should it be the ip address that bridge provides
 
Last edited:
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
the 10.37.129.2 ip address is sending a b4i certificate

I have the manual:xx.xx.102.32 ip in the key.txt. This is the ip address of the mac
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Do you see a page similar to this one: http://63.135.170.51:51041/test when you go to the test page?

If not then you need to download the build server package again and replace it.

The SSL key ip should much your Mac computer ip address.

Will the install fail if the app id does not end in a wild card?
If the compilation was successful then the app id is good. It should end with a wildcard.
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
I removed the macserver-aa directory
copied the download macserver-aa
vi key.txt and added "manual:xx.xx.xx.xx"
ran java -jar -b4ibuilderserver.jar

went to safari and ran https://xx.xx.xx.xx:51042/test and received the following output

B4i Build Server

Build server is running.
Version: 1.02
Server time: 15:06:56

Mac SSL Key

Key IP: xx.xx.102.32
SSL port: 51042

h files

  • iAdMob: 1.00
  • iBLE: 1.00
  • iCore: 1.21
  • iDebug
  • iDesigner: 1.20
  • iDropboxSync: 1.00
  • iEncryption: 1.00
  • iGoogleMaps: 1.00
  • iHttp: 1.00
  • iHUD: 1.00
  • iJSON: 1.0
  • iLocation: 1.00
  • iMedia: 1.00
  • iNet: 1.00
  • iNetwork: 1.00
  • iPhone: 1.10
  • iRandomAccessFile: 1.00
  • iSideMenu: 1.00
  • iSQL: 1.0
  • iStringUtils: 1.00
  • iXmlSax: 1.00
a files

  • libCore, size=2134208, modified=11/23/2014 20:26:28
  • libiAdMob, size=34472, modified=11/17/2014 20:20:16
  • libiBLE, size=77000, modified=10/30/2014 22:38:42
  • libiDebug, size=692832, modified=10/30/2014 22:52:24
  • libiDesigner, size=538880, modified=11/20/2014 18:34:44
  • libiDropboxSync, size=56408, modified=11/17/2014 17:07:32
  • libiEncryption, size=46664, modified=11/16/2014 21:31:50
  • libiGoogleMaps, size=107240, modified=10/30/2014 22:42:54
  • libiHttp, size=83424, modified=10/30/2014 22:44:06
  • libiHUD, size=192376, modified=10/30/2014 22:44:26
  • libiJSON, size=36576, modified=10/30/2014 22:44:56
  • libiLocation, size=50384, modified=11/16/2014 15:44:00
  • libiMedia, size=83576, modified=10/30/2014 22:46:08
  • libiNet, size=136648, modified=10/30/2014 22:46:30
  • libiNetwork, size=142320, modified=10/30/2014 22:47:20
  • libiPhone, size=111016, modified=11/20/2014 18:12:56
  • libiRandomAccessFile, size=223312, modified=11/06/2014 23:13:54
  • libiSideMenu, size=338504, modified=10/30/2014 22:50:00
  • libiSQL, size=243808, modified=10/30/2014 22:50:20
  • libiStringUtils, size=38168, modified=10/30/2014 22:50:50
  • libiXmlSax, size=42528, modified=10/30/2014 22:51:04

I tried to down load the app and nothing happened. What is next
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
Is the problem provisioning at this point

If provision works for X code should it work for b4i

I don't see any errors.

Does the b4ibuildserver send safari a certificate?
 
Last edited:
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
I verified UUID is correct in on iTunes for the iPad

I ran
security cms -D -i ios_team_provisioning_profile_.mobileprovision

and verified the UUID was in the provision.

The p12 was created from the Keychain and renamed to k4i.p12 and put in the keys directory

What is next
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
The problem is the SSL IP address is not matching to the Mac Ip Address

Quote:
The SSL key ip should much your Mac computer ip address.

How do I change the SSL key ip address?
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
If I remove the contents of the keys directory and remove the key.txt file

B4X:
2015-03-06 14:34:05.750:INFO::main: Logging initialized @129ms
Loading default configuration file.
AppPath=/Users/xxxxx/Documents/development/macserver-aa
Creating key for: 10.37.129.2

The key is being generated for the wrong ip address.
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
macserver-aa is picking up the virtual nic (created by parallels)

How do get macserver-aa to pick the physical nic of the mac?
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
The problem is the SSL certificate is getting a virtual nic ip address generated by parallels on the mac. I need a way to either turn of the virtual nic address or manually provide an ip address for the SSL certificate to use
 
Upvote 0
Top