Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012283Openbravo ERPA. Platformpublic2010-02-16 10:212010-03-10 18:30
iperdomo 
iperdomo 
immediatemajorsometimes
closedfixed 
202.6.30-gentoo-r5
2.50MP11 
2.50MP12pi 
Core
No
0012283: Heartbeat proces fails when trying to use from Germany
The Heartbeat process tries to reach openbravo.com to test internet connectivity. You get a connection refused in this step when trying to enable/disable Heartbeat.

Part of the error log:
08:37:38 [http-8088-1] INFO org.openbravo.erpCommon.utility.HttpsUtils - Name: openbravo.com
08:37:38 [http-8088-1] INFO org.openbravo.erpCommon.utility.HttpsUtils - Addr: 94.229.168.6
08:37:38 [http-8088-1] INFO org.openbravo.erpCommon.utility.HttpsUtils - Reach: true
08:37:38 [http-8088-1] ERROR org.openbravo.erpCommon.utility.HttpsUtils - Unable to reach openbravo.com
java.net.ConnectException: Connection refused
...
Instead of trying to reach openbravo.com, use butler.openbravo.com that is the actual domain that will receive the beat.
No tags attached.
Issue History
2010-02-16 10:21iperdomoNew Issue
2010-02-16 10:21iperdomoAssigned To => iperdomo
2010-02-16 10:21iperdomoStatusnew => scheduled
2010-02-16 10:21iperdomofix_in_branch => pi
2010-02-16 10:33iperdomoNote Added: 0024388
2010-02-16 12:01hgbotCheckin
2010-02-16 12:01hgbotNote Added: 0024399
2010-02-16 12:01hgbotStatusscheduled => resolved
2010-02-16 12:01hgbotResolutionopen => fixed
2010-02-16 12:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4f608baed6a459c17b9740d27bd7939e1cad4b79 [^]
2010-02-16 21:17shuehnerStatusresolved => closed
2010-02-16 21:17shuehnerFixed in Version => pi
2010-02-16 21:17shuehnerNote Added: 0024442
2010-02-17 00:01anonymoussf_bug_id0 =>
2010-02-18 00:31hudsonbotCheckin
2010-02-18 00:31hudsonbotNote Added: 0024532
2010-03-10 18:30anonymoussf_bug_id => 2968076

Notes
(0024388)
iperdomo   
2010-02-16 10:33   
Some testing process. In a linux console do:
$ export http_proxy="http://213.203.241.214:80" [^]
$ wget http://www.openbravo.com [^]

--2010-02-16 10:32:23-- http://www.openbravo.com/ [^]
Connecting to 213.203.241.214:80... connected.
Proxy request sent, awaiting response... 302 Found
Location: http://www.openbravo.com/de/ [^] [following]
--2010-02-16 10:32:26-- http://www.openbravo.com/de/ [^]
Connecting to 213.203.241.214:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]

I think that the 302 response (is not correctly handled) in the process of testing internet connectivity
(0024399)
hgbot   
2010-02-16 12:01   
Repository: erp/devel/pi
Changeset: 4f608baed6a459c17b9740d27bd7939e1cad4b79
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Tue Feb 16 11:59:22 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4f608baed6a459c17b9740d27bd7939e1cad4b79 [^]

Fixes issue 12283: Removed ping to openbravo.com to check internet
- Removed ping to openbravo.com
- Merged exception handling
- Code cleanup: fixed shadowed variables

---
M src/org/openbravo/erpCommon/utility/HttpsUtils.java
---
(0024442)
shuehner   
2010-02-16 21:17   
Tested, working fine.
(0024532)
hudsonbot   
2010-02-18 00:31   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/4f608baed6a4 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7c1b489fb0a0 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16459.obx [^]