Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343353 - [Help] Fail to view Help Contents, internal web server connection refused, birt reporting preview
Summary: [Help] Fail to view Help Contents, internal web server connection refused, bi...
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-20 04:19 EDT by piratejackus CLA
Modified: 2011-04-29 03:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description piratejackus CLA 2011-04-20 04:19:43 EDT
Build Identifier: 3.6.2.r362

While i first tried to preview my birt report design in sts, i got the error page in the preview tab;
"ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://127.0.0.1:49186/viewer/run?

The following error was encountered:

    * Connection Failed 

The system returned:

    (111) Connection refused

The remote host or network may be down. Please try the request again.

Your cache administrator is webmaster.
Generated Wed, 20 Apr 2011 07:55:36 GMT by zee.monext.fr (squid/2.5.STABLE9) "

so i created a post on the birt-exchange:
-> http://www.birt-exchange.org/org/forum/index.php/topic/22109-report-preview-wrong-generated-url/page__gopid__76075&#entry76075

then i realised that i can't view 'help contents' under help menu, it is exactly the same error:
"...
While trying to retrieve the URL: http://127.0.0.1:33069/help/index.jsp
..."

but when i copy the help link in the navigator, it works. So i think this situation is related to the internal webserver of eclipse.

by the way, i'm using springsourcetools suite (2.5.2.SR1) but i post this case in eclipse forums. 
i thought that it may be the proxy settings which doesn't let eclipse to view these pages, because the error page was generated by:
"zee.monext.fr (squid/2.5.STABLE9) "
i disabled the proxy in eclipse and in the OS (ubuntu 10.04 - kernel 2.6.32-30) and verfied with 'env | grep proxy', no result.

If any more information is needed, i can provide.

Thanks in advance


Reproducible: Always

Steps to Reproduce:
1.Click Help->Help Contents
2.Birt Design perspective->report design file-preview
3.
Comment 1 Chris Goldthorpe CLA 2011-04-20 16:27:41 EDT
Do you see the same problem if you just run the Eclipse SDK without any additional plug-ins. If the link reads fine in a web browser then the server is working fine and the problem would be in the Eclipse Browser widget or the XulRunner interface to Firefox. I see that you are using Ubuntu, what browser version do you have installed? Also do you see the problem opening help still if you change the Eclipse help preferences to open help in an external browser?
Comment 2 piratejackus CLA 2011-04-20 16:31:32 EDT
(In reply to comment #1)
> Do you see the same problem if you just run the Eclipse SDK without any
> additional plug-ins. If the link reads fine in a web browser then the server is
> working fine and the problem would be in the Eclipse Browser widget or the
> XulRunner interface to Firefox. I see that you are using Ubuntu, what browser
> version do you have installed? Also do you see the problem opening help still
> if you change the Eclipse help preferences to open help in an external browser?

Hi Chris,

Tomorrow morning i will try these cases and provide those informations.
Comment 3 piratejackus CLA 2011-04-21 03:46:47 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > Do you see the same problem if you just run the Eclipse SDK without any
> > additional plug-ins. If the link reads fine in a web browser then the server is
> > working fine and the problem would be in the Eclipse Browser widget or the
> > XulRunner interface to Firefox. I see that you are using Ubuntu, what browser
> > version do you have installed? Also do you see the problem opening help still
> > if you change the Eclipse help preferences to open help in an external browser?
> 
> Hi Chris,
> 
> Tomorrow morning i will try these cases and provide those informations.

The issue for the birt designer preview is solved by simply forcing the designer to use external browser. After that i changed the Help contents preferences and now it works. The problem is i can't say specifically which parameter i changed, because i can't break it again! I'm sorry for that. 
So Chris maybe right about eclipse browser widget or the XulRunner but for now i can't reproduce the error. 

Thanks.
Comment 4 Chris Goldthorpe CLA 2011-04-21 10:55:48 EDT
I've changed the resolution to WORKSFORME since there was no fix made to Eclipse.
Comment 5 piratejackus CLA 2011-04-21 10:57:44 EDT
(In reply to comment #4)
> I've changed the resolution to WORKSFORME since there was no fix made to
> Eclipse.

Yes, that's better, my bad.
Thanks
Comment 6 piratejackus CLA 2011-04-22 04:28:46 EDT
--UPDATE--

New day, same problem. A hour ago, i run my sts and in a moment, i realized that my web interfaces ('help contents', 'dynamic help', 'birt designer view/preview' options) of sts is not responding!

I tried to run sts with sudo, and it worked. So i tried to find the difference. In my user directory, under .grails, i have a ProxySettings.groovy file, which doesn't exist under /root/.grails. So i moved it but no luck. The proxy settings of IDE are both same for with sudo and without sudo.
I am suspecting that it is the proxy settings but i modified in all levels:
- System wide: System-> Preference-> Network Proxy
- SpringSource Tool Suite proxy settings
- Grails proxy settings under user directory : ~/.grails/ProxySettings.groovy

For now, i'm still investigating the reason, because i don't want to run it as sudo without knowing the reason.
I'm updating this thread so maybe other people can face with the same situation, and i will continue to do...

OS:Ubuntu 10.04 - 2.6.32-30
STS: 2.5.2.SR1 

P.S. i'm feeding another feed in the birt-exchange.org:
http://www.birt-exchange.org/org/forum/index.php/topic/22109-report-preview-wrong-generated-url/page__gopid__76195&#entry76195
Comment 7 piratejackus CLA 2011-04-26 04:35:45 EDT
UPDATE - 2

I decided that my case is a specific one. So it is not a bug anymore in my opinion.
Comment 8 piratejackus CLA 2011-04-29 03:36:32 EDT
UPDATE-3

Just a workaround; when i restart my PC by disabling the system proxy, and set the proxy again after it starts, the problem doesn't exist anymore. so this is exactly a proxy related issue. 

(In reply to comment #7)
> UPDATE - 2
> 
> I decided that my case is a specific one. So it is not a bug anymore in my
> opinion.