http error while uploading a .bar

1
0
-1
Env: Bonita 6.2.0 on Tomcat 7.047, Win 7.
Bar created with studio 6.2.0
while trying to install an application thru hosted portal, I got "http error" after the .bar file is selected (on local drive) for upload.
The error message appears after a few minutes or seconds, depending on the size of the .bar, but it always happen.
The install button is never enabled.
is there any requirements for the http upload to work?
Like firewall ports open, etc.?
I tried with up to date versions of chrome, FF and IE (the latter is so slow that the error never appears...)
see printscreen:

http://snag.gy/5I8jV.jpg

thanks

Comments

Submitted by rradunz on Wed, 01/08/2014 - 13:45

Also tried from a linux workstation, with FF.

Same error.

I am wondering now if there is anything broken on my installation of Bonita, or if the hosting provider can block http uploads.

any tip on how to diagnose this?

thanks!

Submitted by nicolas.tith on Thu, 01/09/2014 - 11:34

Hello

What is the size of your bar? It might be too big, and the server returns a timeout error. Did you find something in the logs (catalina.log or bonita.log). You can trace upload by installing Firebug on Firefox in the network tab.

Install button is available only if your upload is sucessfull.

Submitted by rradunz on Thu, 01/09/2014 - 12:36

The bars are small, I guess, one less than 600KB and the other less than 40KB.

Neither would work.

I will check the msg traffic with firebug, thanks!

Submitted by rradunz on Thu, 01/09/2014 - 14:13

found out with firebug that for some reason all my gets are failing with 404 not found, no images are coming down the pipe...the UI works anyway, without the gifs and pngs.

this obviously also impacts the upload process...

now, the files are where they are supposed to be - ...bonita/portal/images..., the permissions are ok (644).

one interesting side side effect (i guess) is that I need to delete a cookie (bos_cookie) before I can log in again...gaaa

will continue the investigation...

Submitted by Karthik D on Sun, 02/21/2016 - 08:30

When I try to upload a bar file my bonita log states "bar file too big to upload". I have changes the connection pool from 20000 to 60000 in server.xml still the problem remains the same when I try to upload the bar file.
Any help on this could be appreciated.

Thanks.

3 answers

1
0
-1

hello

did you check your connectionTimeout in server.xml ? by default it is 20000 => 20s, how long does it take you to upload 10MB?

Comments

Submitted by andrei.kravets on Thu, 07/30/2015 - 16:41

As we uploading inside intranet, everything goes extremely fast for us. But thanks for good hint, we'll check this one

1
0
-1

We found a solution for our particular case: Changing client_max_body_size to 10+ MB on nginx or varnish solved the problem for us. So problem was on big .bar file upload

1
0
-1

Hello,

I have same problem with Bonita v6.5.1. Nothing interesting can be found in catalina.log or bonita.log

Does someone have solution for this?

Thanks in advance

Notifications