Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012283
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorsometimes2010-02-16 10:212010-03-10 18:30
ReporteriperdomoView Statuspublic 
Assigned Toiperdomo 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision4f608baed6a4
ProjectionnoneETAnoneTarget Version2.50MP12
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_15
OS Version2.6.30-gentoo-r5Database version8.3.8Ant version1.7.1
Product Version2.50MP11SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012283: Heartbeat proces fails when trying to use from Germany

DescriptionThe 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
...
Proposed SolutionInstead of trying to reach openbravo.com, use butler.openbravo.com that is the actual domain that will receive the beat.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0024388)
iperdomo (viewer)
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 (developer)
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 (administrator)
2010-02-16 21:17

Tested, working fine.
(0024532)
hudsonbot (viewer)
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 [^]

- Issue History
Date Modified Username Field Change
2010-02-16 10:21 iperdomo New Issue
2010-02-16 10:21 iperdomo Assigned To => iperdomo
2010-02-16 10:21 iperdomo OBNetwork customer => No
2010-02-16 10:21 iperdomo Status new => scheduled
2010-02-16 10:21 iperdomo fix_in_branch => pi
2010-02-16 10:33 iperdomo Note Added: 0024388
2010-02-16 12:01 hgbot Checkin
2010-02-16 12:01 hgbot Note Added: 0024399
2010-02-16 12:01 hgbot Status scheduled => resolved
2010-02-16 12:01 hgbot Resolution open => fixed
2010-02-16 12:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4f608baed6a459c17b9740d27bd7939e1cad4b79 [^]
2010-02-16 21:17 shuehner Status resolved => closed
2010-02-16 21:17 shuehner Fixed in Version => pi
2010-02-16 21:17 shuehner Note Added: 0024442
2010-02-17 00:01 anonymous sf_bug_id 0 =>
2010-02-18 00:31 hudsonbot Checkin
2010-02-18 00:31 hudsonbot Note Added: 0024532
2010-03-10 18:30 anonymous sf_bug_id => 2968076


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker