iOS Question SendFailure with Local Mac Builder

luc-dev

Member
Licensed User
Longtime User
Hi,

I have a « sendFailure » message while compiling my app and I can’t find a solution.

I have been using B4i for several months and everything was working so far but I had to change my windows VM and install the new B4i version 5.3.

I also received and installed an automatic upgrade for Xcode 10.0.

Here is my configuration :
  • Mac OSX 10.13.6 with ip 192.168.0.207 (DHCP with manual ip)
  • Xcode Version 9.4 (9F1027a) (I reverted back to 9.4)
  • Parallels running Windows 8.0 in « Shared Network » mode
  • B4i BuildServer 5.3 with manual ip set to manual:10.37.129.2 (I also removed the Key folder)
  • iPad with iOS 10.3.3 et B4x pem.cer installed and trusted
  • All firewalls OFF

So far, I am able to open http://10.37.129.2 from the mac and the windows vm and http://192.168.0.207 from iPad both displaying the build server and the « /test » info

The only error I can see is related to port 51042 and a missing SSL key. B4I Build Server info is set to 10.37.129.2 and 51041 and 64bit

I am ready to subscribe to the hosted builder if necessary but would really like to solve this.
Any idea would be welcome

Thanks
Luc

Here is the Mac Terminal output

B4X:
Last login: Tue Oct  9 08:13:15 on console
iMac:~ ..$ java -jar B4iBuildServer.jar
Build server version: 5.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-10-09 08:17:47.219:INFO::main: Logging initialized @431ms to org.eclipse.jetty.util.log.StdErrLog
Loading default configuration file.
AppPath=/Macserver/B4iBuildServer
Mac version: 10.13.6
Xcode path: /Applications/Xcode.app/Contents/Developer
Xcode version: Xcode 9.4
Build version 9F1027a

Forcing ip address to: 10.37.129.2
2018-10-09 08:17:48.798:INFO:oejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_25-b17
2018-10-09 08:17:48.879:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2018-10-09 08:17:48.879:INFO:oejs.session:main: No SessionScavenger set, using defaults
2018-10-09 08:17:48.882:INFO:oejs.session:main: node0 Scavenging every 600000ms
2018-10-09 08:17:48.896:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@3fee9989{/,file:///Users/../MyB4I/Macserver/B4iBuildServer/www,AVAILABLE}
2018-10-09 08:17:48.904:INFO:oejs.AbstractNCSARequestLog:main: Opened /Users/../MyB4I/Macserver/B4iBuildServer/logs/b4j-2018_10_09.request.log
2018-10-09 08:17:48.948:INFO:oejs.AbstractConnector:main: Started ServerConnector@64bfbc86{HTTP/1.1,[http/1.1]}{0.0.0.0:51041}
2018-10-09 08:17:49.004:INFO:oejus.SslContextFactory:main: x509=X509@10bdf5e5(rootca,h=[],w=[]) for SslContextFactory@6e1ec318[provider=null,keyStore=file:///Users/../MyB4I/Macserver/B4iBuildServer/key/key.jks,trustStore=null]
2018-10-09 08:17:49.005:INFO:oejus.SslContextFactory:main: x509=X509@7e0b0338(jetty,h=[10.37.129.2],w=[]) for SslContextFactory@6e1ec318[provider=null,keyStore=file:///Users/../MyB4I/Macserver/B4iBuildServer/key/key.jks,trustStore=null]
2018-10-09 08:17:49.241:INFO:oejs.AbstractConnector:main: Started ServerConnector@10b48321{SSL,[ssl, http/1.1]}{0.0.0.0:51042}
2018-10-09 08:17:49.241:INFO:oejs.Server:main: Started @2463ms
Build server is ready
https://10.37.129.2:51042
http://10.37.129.2:51041
Build server version: 5.30
2018-10-09 08:19:13.197:WARN:oejh.HttpParser:qtp1512981843-31: Illegal character 0x16 in state=START for buffer HeapByteBuffer@742f2b08[p=1,l=155,c=8192,r=154]={\x16<<<\x03\x03\x00\x96\x01\x00\x00\x92\x03\x03[\xBcHa\xE5\x84\xAd...\x02\x02\x00#\x00\x00\x00\x17\x00\x00\xFf\x01\x00\x01\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2018-10-09 08:19:13.214:WARN:oejh.HttpParser:qtp1512981843-19: Illegal character 0x16 in state=START for buffer HeapByteBuffer@2e8a9fa0[p=1,l=155,c=8192,r=154]={\x16<<<\x03\x03\x00\x96\x01\x00\x00\x92\x03\x03[\xBcHa\x9a\x90\x7f...\x02\x02\x00#\x00\x00\x00\x17\x00\x00\xFf\x01\x00\x01\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
success: true, 0
success: true, 0

Here is the output of http://10.37.129.2:51041/test from the Windows VM
B4X:
B4i Build Server
Build server is running.
Version: 5.3
Server time: 08:42:39
Mac SSL Key
Invalid key!!!
SSL port: 51042
h files

    iAd: 1.00
    iAdMob: 1.60
    iAnalytics: 1.0
    iArchiver: 1.20
    iBarcode: 1.20
    iBitmapCreator
    iBLE: 2.00...
 

luc-dev

Member
Licensed User
Longtime User
Finally, I managed to connect from the mac, windows vm and iPad using only the local mac address (192.168.0.207) in the BuildServer key.txt file, B4i Builder settings (with port 51042).

Everything is working now.

Many thanks for this great dev IDE and tools
 
Upvote 0
Top