Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Firewall Issues? [2.3.2](Cannot run reports from the Internet)
Firewall Issues? [2.3.2] [message #546918] Wed, 14 July 2010 15:34 Go to next message
Paul Kofon is currently offline Paul KofonFriend
Messages: 7
Registered: July 2010
Junior Member
In our setup, we have a firewall (Microsoft ISA) running on a machine with a public IP address and we have enabled port forwarding as BIRT runs on a local server (Tomcat 6.0.20).

We have no issues running/viewing reports on the LAN. For instance, we can access BIRT reports like this:

http://reportserver:9090/birt/frameset?__report=report/app/a cct_stmt.rptdesign&id=1001&from_date=2010-01-01& to_date=2010-07-14

(Note that this is done via a GUI application that runs on the same machine as BIRT, so users don't have to enter the URL manually. They can log into this application and navigate it from outside successfully via the firewall with the public IP Address).

However, reports cannot be run from outside using, for instance, the following URL:

http://public_ip/birt/frameset?__report=report/app/acct_stmt .rptdesign&id=1001&from_date=2010-01-01&to_date= 2010-07-14.
(where public_ip is the public IP Address assigned to the firewall machine)

When a user attempts to run a report, nothing shows up and the browser just keeps loading... In Firebug I can see that the first request to /birt/frameset is OK. However, the first request that BIRT makes goes to http://192.168.0.4:9090/birt/webcontent/birt/styles/style.cs s, which is our local server! And of course there are other additional requests (for stylesheets and javascript files) which also go to the local server.

What could be wrong? Has anyone successfully deployed BIRT in the way and manner that we've tried to?


Re: Firewall Issues? [2.3.2] [message #546967 is a reply to message #546918] Wed, 14 July 2010 18:30 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Paul

Can you try the /preview mapping instead of the frameset mapping as a test?

Jason

On 7/14/2010 11:34 AM, PaulK wrote:
> In our setup, we have a firewall (Microsoft ISA) running on a machine
> with a public IP address and we have enabled port forwarding as BIRT
> runs on a local server (Tomcat 6.0.20).
> We have no issues running/viewing reports on the LAN. For instance, we
> can access BIRT reports like this:
> http://reportserver:9090/birt/frameset?__report=report/app/a cct_stmt.rptdesign&id=1001&from_date=2010-01-01& to_date=2010-07-14
>
>
> (Note that this is done via a GUI application that runs on the same
> machine as BIRT, so users don't have to enter the URL manually. They can
> log into this application and navigate it from outside successfully via
> the firewall with the public IP Address).
>
> However, reports cannot be run from outside using, for instance, the
> following URL:
>
> http://public_ip/birt/frameset?__report=report/app/acct_stmt .rptdesign&id=1001&from_date=2010-01-01&to_date= 2010-07-14
> (where public_ip is the public IP Address assigned to the firewall machine)
>
> When a user attempts to run a report, nothing shows up and the browser
> just keeps loading... In Firebug I can see that the first request to
> /birt/frameset is OK. However, the first request that BIRT makes goes to
> http://192.168.0.4:9090/birt/webcontent/birt/styles/style.cs s, which is
> our local server! And of course there are other additional requests (for
> stylesheets and javascript files) which also go to the local server.
>
> What could be wrong? Has anyone successfully deployed BIRT in the way
> and manner that we've tried to?
>
>
>
Re: Firewall Issues? [2.3.2] [message #547154 is a reply to message #546967] Thu, 15 July 2010 17:23 Go to previous messageGo to next message
Paul Kofon is currently offline Paul KofonFriend
Messages: 7
Registered: July 2010
Junior Member
Yes, using the /preview mapping instead of the /frameset mapping works and the reports run as expected. Any other thoughts? Thanks.
Re: Firewall Issues? [2.3.2] [message #547176 is a reply to message #547154] Thu, 15 July 2010 19:24 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you open a bug for this. I assume this has to do with the fact that
/frameset mapping uses webservices to get the data fro the report and
this communication is getting blocked by the firewall.

Jason

On 7/15/2010 1:23 PM, PaulK wrote:
> Yes, using the /preview mapping instead of the /frameset mapping works
> and the reports run as expected. Any other thoughts? Thanks.
Re: Firewall Issues? [2.3.2] [message #547202 is a reply to message #547176] Thu, 15 July 2010 22:25 Go to previous messageGo to next message
Paul Kofon is currently offline Paul KofonFriend
Messages: 7
Registered: July 2010
Junior Member
Jason, thanks for your response but I don't understand why the fact that BIRT uses webservices to get data would cause it to behave this way. Unless there's something I"m missing.

What I expect to happen is that as requests come from the Internet and are forwarded to BIRT via the firewall, the response coming from BIRT should also go back to the user's browser via the firewall. However, the browser gets stuck while trying to make requests to BIRT's stylesheets and javascript files. This as I said, happens via the local ip address of the machine BIRT is running on (I can see this clearly in Firebug). It's as though the firewall isn't there at all. My browser should never make a request to a machine behind a firewall directly, even if it did it should be transparent to me. Would you describe this as a bug? Is there something to configure in BIRT somewhere? A work-around maybe? Anyway, if you're certain it's a bug, I'll go ahead and file it.
Re: Firewall Issues? [2.3.2] [message #547374 is a reply to message #547202] Fri, 16 July 2010 13:38 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Paul,

I am not certain this is a bug, but I think you need to log it and maybe
you can get a work around through bugzilla. It is odd to me that
/preview mapping also uses style sheets and does not error.

Jason

On 7/15/2010 6:25 PM, PaulK wrote:
> Jason, thanks for your response but I don't understand why the fact that
> BIRT uses webservices to get data would cause it to behave this way.
> Unless there's something I"m missing.
>
> What I expect to happen is that as requests come from the Internet and
> are forwarded to BIRT via the firewall, the response coming from BIRT
> should also go back to the user's browser via the firewall. However, the
> browser gets stuck while trying to make requests to BIRT's stylesheets
> and javascript files. This as I said, happens via the local ip address
> of the machine BIRT is running on (I can see this clearly in Firebug).
> It's as though the firewall isn't there at all. My browser should never
> make a request to a machine behind a firewall directly, even if it did
> it should be transparent to me. Would you describe this as a bug? Is
> there something to configure in BIRT somewhere? A work-around maybe?
> Anyway, if you're certain it's a bug, I'll go ahead and file it.
Re: Firewall Issues? [2.3.2] [message #547392 is a reply to message #547374] Fri, 16 July 2010 14:43 Go to previous message
Paul Kofon is currently offline Paul KofonFriend
Messages: 7
Registered: July 2010
Junior Member
Hi Jason,
There's a similar bugzilla entry for 2.3.2 as: Bug 319578 - BIRT viewer doesn't work with VPN.

It's close to what I'm experiencing. I can run reports using the /run mapping with the __format parameter set to pdf, for instance, but then that's not really what I want as users won't have the other Viewer options at their disposal.

I'll add additional comments to the existing bug report. Thanks.
Previous Topic:Upgrade Birt Engine 2.3.2 to 2.6
Next Topic:Loosing JDBC Connection Properties at Runtime
Goto Forum:
  


Current Time: Fri Mar 29 02:32:20 GMT 2024

Powered by FUDForum. Page generated in 0.03535 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top