Comments (22)
It seems to be referring to a 500 error on the server. do you see any in the logs?
from streama.
Potentially this.
2015-08-02 11:46:53,949 [http-bio-8080-exec-5] ERROR streama.FileController - catch for outputStream exception
from streama.
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.
Which file?
edit: found it
from streama.
oh, haha. grails-app/controllers/FileController.groovy
from streama.
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.
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.
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.
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.
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.
nothing in the catalina?
from streama.
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.
hmmm.. this is so strange. What is your setup? how do you run the application? what operating system is it running on?
from streama.
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.
could you paste a ls -la for the upload directory so that I can see the permissions?
from streama.
and: did the application create a subfolder called "upload" inside of the specified directory?
from streama.
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.
Since you had a playback error also, does that mean some files worked? in that case, is this one specific file?
from streama.
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.
hmmmm ... this is getting quite mysterious. Can we PM somehow? skype?
from streama.
Yes - skype should work, It should be serubin323 in the boston mass us area
from streama.
Please reopen if the error persists.
from streama.
Related Issues (20)
- Unable to disable anonymous access once enabled in admin page.
- Samsung smart TV support (browser)
- [Not a issue!] | Please Read. (i have created a fan reddit community.) HOT 1
- Update to Java 11 HOT 4
- [IPTV Player Integration for Streama]
- Streama adding genre on profile error
- [Suggestion] Port some features from Dim?
- Unable to Add directories
- Bug in version 1.10.4 HOT 1
- Error Add My List
- 01
- The Tomcat connector configured to listen on port 8080 failed to start. HOT 7
- Automatic subtitle conversion to utf-8
- Issue in streama on "Keep Watching" Tab
- Streama allows inserting same movie twice
- Streama trailers errors HOT 1
- Error adding new titles to streama , connection to the moviedb HOT 1
- “Allow anonymous access” and other administrative functions – bug HOT 1
- OpenSubtitles - Can't make user agent
- Add ExternalURL disabled on new versions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streama.