GithubHelp home page GithubHelp logo

Comments (22)

dularion avatar dularion commented on May 18, 2024

It seems to be referring to a 500 error on the server. do you see any in the logs?

from streama.

Serubin avatar Serubin commented on May 18, 2024

Potentially this.

2015-08-02 11:46:53,949 [http-bio-8080-exec-5] ERROR streama.FileController  - catch for outputStream exception

from streama.

dularion avatar dularion commented on May 18, 2024

Ah yep. Could you try commenting out the try-catch wrapper around the response function?
For me these are lines 64, 73, 74, 75. That way you you will get the real error.

from streama.

Serubin avatar Serubin commented on May 18, 2024

Which file?

edit: found it

from streama.

dularion avatar dularion commented on May 18, 2024

oh, haha. grails-app/controllers/FileController.groovy

from streama.

Serubin avatar Serubin commented on May 18, 2024

So somewhat unrelated: when playing a video, removing that try/catch has created this error:

2015-08-02 12:56:02,888 [http-bio-8080-exec-4] ERROR errors.GrailsExceptionResolver  - IllegalStateException occurred when processing request: [GET] /file/serve/836cabf98f7ec7df8298dfe7236de73b8d8c065066d7fa01c4edf97eb3f9db03.mp4
getOutputStream() has already been called for this response. Stacktrace follows:
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: getOutputStream() has already been called for this response
        at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
        at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
        at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
        at grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter.doFilter(RequestHolderAuthenticationFilter.java:49)
        at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:82)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: getOutputStream() has already been called for this response
        at java.io.FilterWriter.flush(FilterWriter.java:100)
        ... 8 more

Still waiting on the upload errors

from streama.

dularion avatar dularion commented on May 18, 2024

yep, its cosmetic. thats why the try-catch is there. wanna get rid of it for real soon, but for now thats why the try-catch is there

from streama.

Serubin avatar Serubin commented on May 18, 2024

Looks like that was the wrong error then. Where else could I find the logs for the server errors? I tried catalina.out

from streama.

dularion avatar dularion commented on May 18, 2024

catalina.out is the only relevant one. Also, I totally mixed up this issue with the other one you posted. So lets recap: You upload a file, in the frontend it shows you the blue overlay counting up to 100%. When it gets to 100% you get the error. does it then also disappear and the file was added? And at this point, you should not have the outputstream error, if anything, it should be something else. Something in UploadService.groovy.

from streama.

Serubin avatar Serubin commented on May 18, 2024

Once I it gets to 100% it errors in the console. Nothing ends up being uploaded and the 100% doesn't go away, the website shows that there is still no file uploaded.

from streama.

dularion avatar dularion commented on May 18, 2024

nothing in the catalina?

from streama.

Serubin avatar Serubin commented on May 18, 2024

Nope. I think the file does get uploaded but the server returns back with the 500 error so it doesn't know how to display it (it gets a html 500 page back which it doesn't seem to like)

from streama.

dularion avatar dularion commented on May 18, 2024

hmmm.. this is so strange. What is your setup? how do you run the application? what operating system is it running on?

from streama.

Serubin avatar Serubin commented on May 18, 2024

It's Debian 8, it's running on tomcat 7. There's plenty of storage and no disk issues.

To set it up I build the war and then place it in the tomcat folder specified in the setup instructions.

from streama.

dularion avatar dularion commented on May 18, 2024

could you paste a ls -la for the upload directory so that I can see the permissions?

from streama.

dularion avatar dularion commented on May 18, 2024

and: did the application create a subfolder called "upload" inside of the specified directory?

from streama.

Serubin avatar Serubin commented on May 18, 2024

To answer all your questions:

seru@titan:/home/streama/data$ ll
total 4.0K
drwxr-xr-x 2 tomcat7 tomcat7 4.0K Aug  2 11:14 upload
seru@titan:/home/streama/data$ cd upload/
seru@titan:/home/streama/data/upload$ ll
total 5.5G
-rw-r--r-- 1 tomcat7 tomcat7 1.5G Aug  2 01:57 adc25540263874d428cb632146eebe39a8e325a155594f7e93512d2968f2c402.mp4
-rw-r--r-- 1 tomcat7 tomcat7 1.1G Aug  2 11:14 9db73c544733e7728a3fd942481c44fad941861e3f888612bf6786b75bfe00bc.mp4
-rw-r--r-- 1 tomcat7 tomcat7 1.5G Aug  2 01:25 836cabf98f7ec7df8298dfe7236de73b8d8c065066d7fa01c4edf97eb3f9db03.mp4
-rw-r--r-- 1 tomcat7 tomcat7 1.5G Aug  2 01:01 3f38b7cf6b9cbecdc047d16990e3606173e897f96e92359dbe933c252063ab77.mp4
seru@titan:/home/streama/data/upload$

from streama.

dularion avatar dularion commented on May 18, 2024

Since you had a playback error also, does that mean some files worked? in that case, is this one specific file?

from streama.

Serubin avatar Serubin commented on May 18, 2024

This is several files not working. I've had to upload things multiple times to get them up though.
I've managed to get about 5 movies up, however that's with 1-3 upload attempts each

from streama.

dularion avatar dularion commented on May 18, 2024

hmmmm ... this is getting quite mysterious. Can we PM somehow? skype?

from streama.

Serubin avatar Serubin commented on May 18, 2024

Yes - skype should work, It should be serubin323 in the boston mass us area

from streama.

dularion avatar dularion commented on May 18, 2024

Please reopen if the error persists.

from streama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.