iOS Question B4i Bridge cannot connect to IP error

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

i have i phone 6 (10.2.1) and iPhone7 +(10.1.1)

What i tried so far:

1)
General > Reset > Reset All Settings
General > About > Certificate Trust Settings > Enable Full Trust for Root Certificates.


no affect.

2)
General > Reset > Erase All Content and Settings
Install ca.pem from b4x.com
General > About > Certificate Trust Settings > Enable Full Trust for Root Certificates.


Everything work well ( designer on bridge, server pages over 51041 and 51042 port) except install app to phone.

I got same error cannot connect to ip address. There is no any network error. I tried with both phone access this server page and see install button there.

Mac firewall is off.

No matter click button on web page or Debug from IDE unfortunately same error.

Any help ?

Edit: i have hosted builder service also. it works with http://208.52.154.96:51041/myusername

 

ykucuk

Well-Known Member
Licensed User
Longtime User
Start the Mac build server and see which ips are printed. You might need to explicitly set the Mac ip address (see the multiple ips section: https://www.b4x.com/android/forum/threads/46402/#content)

My Server Log

B4X:
Build server version: 3.6

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2017-05-03 00:26:48.052:INFO::main: Logging initialized @503ms

Loading default configuration file.

AppPath=/Users/yasinkucuk/Desktop/b4iServer

Mac version: 10.12.4

Forcing ip address to: 192.168.1.110

2017-05-03 00:26:48.267:INFO:oejs.Server:main: jetty-9.3.z-SNAPSHOT

2017-05-03 00:26:48.342:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@b684286{/,file:///Users/yasinkucuk/Desktop/b4iServer/www,AVAILABLE}

2017-05-03 00:26:48.346:INFO:oejs.AbstractNCSARequestLog:main: Opened /Users/yasinkucuk/Desktop/b4iServer/logs/b4j-2017_05_02.request.log

2017-05-03 00:26:48.393:INFO:oejs.ServerConnector:main: Started ServerConnector@379cec89{HTTP/1.1,[http/1.1]}{0.0.0.0:51041}

2017-05-03 00:26:48.466:INFO:oejus.SslContextFactory:main: x509=X509@1a407d53(rootca,h=[],w=[]) for SslContextFactory@3d8c7aca(file:///Users/yasinkucuk/Desktop/b4iServer/key/key.jks,null)

2017-05-03 00:26:48.467:INFO:oejus.SslContextFactory:main: x509=X509@5ebec15(jetty,h=[192.168.40.1],w=[]) for SslContextFactory@3d8c7aca(file:///Users/yasinkucuk/Desktop/b4iServer/key/key.jks,null)

2017-05-03 00:26:48.774:INFO:oejs.ServerConnector:main: Started ServerConnector@402a079c{SSL,[ssl, http/1.1]}{0.0.0.0:51042}

2017-05-03 00:26:48.775:INFO:oejs.Server:main: Started @1231ms

Build server is ready

https://192.168.1.110:51042

http://192.168.1.110:51041

Build server version: 3.6

00:29:11| Compilation time: 11134, awvidmc, queue: 0, success: true

08:57:18| Compilation time: 10791, awvidmc, queue: 0, success: true

10:37:01| Compilation time: 9038, awvidmc, queue: 0, success: true

10:58:25| Compilation time: 9823, awvidmc, queue: 0, success: true

12:23:36| Compilation time: 9655, awvidmc, queue: 0, success: true

12:46:34| Compilation time: 9104, awvidmc, queue: 0, success: true

13:08:18| Compilation time: 8721, awvidmc, queue: 0, success: true

key.txt

B4X:
manual:192.168.1.110

MAC IP Address (check attachment)

B4X:
192.168.1.110
I can access this address and see last build there.

but no luck to send ipa to phone
 

Attachments

  • Screen Shot 2017-05-03 at 14.46.44.png
    30.2 KB · Views: 242
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
Have you deleted the Keys folder after you set the forced ip address? Can you compile and run on the simulator?
I didn't delete keys folder after forced ip address.

Everything is work except send to phone. I even sent released iPad to app store and they approved.

Simulator is work fine.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…