• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android sign + haproxy

aicardyv

Lurker
I have a Haproxy configured in a linux server, in general it works without problems, however, when I try with a signed android apk (developed in phonegap) download from google play, it does not connect to the server

From a pc with chrome, iexplorer or the same app in development mode (debug certificate) works without problems

In the log it leaves:

Nov 20 01:13:18 localhost haproxy [10311]: 179.18.37.53:31253 [28 / Feb / 2014: 01: 13: 17.658] https-in ~ https-in / <NOSRV> -1 / -1 / -1 / -1 / 360 400 187 - - CR-- 14/10/0/0/0 0/0 "<BADREQ>"

and in debug mode:

[oracle @ pandora02 ~] $ sudo / usr / sbin / haproxy -V -d -f /etc/haproxy/haproxy.cfg
Available polling systems:
epoll: pref = 300, test result OK
poll: pref = 200, test result OK
select: pref = 150, test result OK
Total: 3 (3 usable), will use epoll.

Available filters:
[COMP] compression
[TRACE] trace
[SPOE] spoe
Using epoll () as the polling mechanism.
00000000: https-in.accept (0006) = 0008 from [186.85.81.243:45001]
00000000: https-in.clicls [0008: ffffffff]
00000000: https-in.closed [0008: ffffffff]

also try to put it in "tcp" mode in this mode works without problem from the signed apk from google play, but then I do not get the source ip to the destination servers
 
I have a Haproxy configured in a linux server, in general it works without problems, however, when I try with a signed android apk (developed in phonegap) download from google play, it does not connect to the server

From a pc with chrome, iexplorer or the same app in development mode (debug certificate) works without problems

In the log it leaves:

Nov 20 01:13:18 localhost haproxy [10311]: 179.18.37.53:31253 [28 / Feb / 2014: 01: 13: 17.658] https-in ~ https-in / <NOSRV> -1 / -1 / -1 / -1 / 360 400 187 - - CR-- 14/10/0/0/0 0/0 "<BADREQ>"

and in debug mode:

[oracle @ pandora02 ~] $ sudo / usr / sbin / haproxy -V -d -f /etc/haproxy/haproxy.cfg
Available polling systems:
epoll: pref = 300, test result OK
poll: pref = 200, test result OK
select: pref = 150, test result OK
Total: 3 (3 usable), will use epoll.

Available filters:
[COMP] compression
[TRACE] trace
[SPOE] spoe
Using epoll () as the polling mechanism.
00000000: https-in.accept (0006) = 0008 from [186.85.81.243:45001]
00000000: https-in.clicls [0008: ffffffff]
00000000: https-in.closed [0008: ffffffff]

also try to put it in "tcp" mode in this mode works without problem from the signed apk from google play, but then I do not get the source ip to the destination servers
 
Back
Top Bottom