streama
streama copied to clipboard
opensubtitles server error
Hello. I have register my account with opensubtiles as user agent (it is active in my account) and I have use in stream settings page username:password (my opensusbtitles username and password) when I press validate I get "Internal Server error occurred" and below "Internal Server error"
I have installed Streama in a windows operating system. Everything works fine only this one has the issue. Any assistance please
- Operating System: Windows
- Streama version: latest
Hello, I just tested this with streama-1.10.1 on Win10 and it works without a problem for me. After filling out the settings field and clicking valdiate, shows the message: "Credentials for opensubtitles are valid and can be used." I tried it both with email address and username as "username".
Is there any further debugging information you can provide?
I am using windows 7 . How to get that debugging information you need? Cause I have tried several times no results the same. "Internal Server error occurred"
i have even re downloaded the last version (ofcourse i saved my trace.db and mv.db and added them back (contains my movies) but is still the same, i even added it to web (live) and access it through domain (streama) but still same I get "Internal Server error occurred" and below "Internal Server error" where can i look for the problem?
You can pipe the output into a log file such as,
java -jar streama-1.10.1.jar >> debug.log
Then try re-adding your opensubtitles credentials and see the log what happens.
I just checked mine as well and actually I do get a related error in the log,
ERROR grails.app.services.streama.OpensubtitlesService - Opensubtitle API exception, 403 Forbidden
org.springframework.web.client.HttpClientErrorException: 403 Forbidden
but downloading subtitles works regardless.
This is from the debug file : INFO streama.Application - Starting Application on A-PC with PID 3956 (E:\streama-1.10.1.jar started by Andrei in E:) DEBUG streama.Application - Running with Spring Boot v1.4.4.RELEASE, Spring v4.3.6.RELEASE INFO streama.Application - The following profiles are active: production
Configuring Spring Security Core ... ... finished configuring Spring Security Core
Configuring Spring Security LDAP ... ... finished configuring Spring Security LDAP
This one is direct from command
Microsoft Windows [Version 6.1.7601]
E:>java -jar streama-1.10.1.jar >> debug.log WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass $3$1 (jar:file:/E:/streama-1.10.1.jar!/BOOT-INF/lib/groovy-2.4.7.jar!/) to metho d java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of org.codehaus.groov y.reflection.CachedClass$3$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect ive access operations WARNING: All illegal access operations will be denied in a future release
when the error occurs on settings page , won't me save anything in order to have the username and password save. There is an issue somewhere, just can't figure out where )
debug.log this is a more long version of the debug file, hopes that helps to identify the problem
Maybe I missed something, but I cannot see any lines related directly to "opensubtitles" in the log file.
The error that caught my eye was
ERROR org.apache.tomcat.jdbc.pool.ConnectionPool - Unable to create initial connections of pool.
org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-193]
I tried to see if this was due to a Windows permission error or a lockfile, but it is not the case. I managed to reproduce the error, when running two concurrent instances of Streama, where the second instance would throw me the above error.
So perhaps a silly thing, did you maybe set Streama up as a service a while back and now try to run from the command line as well? Or some form of autostart that would explain why you have two instances running, as this seems to be the cause.
Regarding the WARNINGs:
This is from the debug file : [...] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass $3$1 (jar:file:/E:/streama-1.10.1.jar!/BOOT-INF/lib/groovy-2.4.7.jar!/) to metho d java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of org.codehaus.groov y.reflection.CachedClass$3$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect ive access operations WARNING: All illegal access operations will be denied in a future release
This is similar to what is desribed here: https://issues.apache.org/jira/browse/GROOVY-8339 It is just a warning, so could be ignored but might be related to Java/Groovy version?
I am running Streama in a secondary attached hard drive , I am using a bat file to autorun streama at windows start. I ended the run , and re run command prompt and run the java -jar streama-1.10.1.jar manually and retried to save the username and password for opensubtitiles. Same thing exactly....
so windows autostart contains streama.bat
@ECHO OFF
E:
START /MIN java -jar streama-1.10.1.jar
and in the secondary drive where streama-1.10.1.jar is i have copied the cmd.
@Andreisv8 the error log seems to indicate that the tomcat doesnt even start at all, it says the file nio:E:/streama.mv.db
is already in use by another process. If I would wager a guess, I'd say youre accidentally running streama twice, and you sent us the "second" of those runs which just fails right out of the gate, but your real streama is running on the first execution, and you actually need to show us those logs because that is where the subtitle error occured
Edit: now noticed that is pretty much exactly what @Nargren said :D Except that we need your other log to track down your subtitle issue
I have just noticed that when I have run |(after your instructions) java -jar streama-1.10.1.jar >> debug.log , I haven't notice that I was actually running streama again from a different CMD , now below is what I did.
Steps :
- removed streama.bat from autostart\
- Run cmd from drive E:/
- execute java -jar streama-1.10.1.jar >> debug.log
- i open streama settings page and entered the Credentials for opensubtitles
- I got same exact message "Internal Server error occurred" and below "Internal Server error"
I am attaching the right debug file. Hopefully on this there is enough information to find the issue.
The connection error
ERROR grails.app.services.streama.OpensubtitlesService - Opensubtitle API exception, I/O error on GET request for "https://rest.opensubtitles.org/search/query-rapiwr/sublanguageid-eng": Connection timed out: connect; nested exception is java.net.ConnectException: Connection timed out: connect
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://rest.opensubtitles.org/search/query-rapiwr/sublanguageid-eng": Connection timed out: connect; nested exception is java.net.ConnectException: Connection timed out: connect
usually refers to, well, some kind of connection issue with the server. I did manage to reproduce this message, but only by physically disconnecting my machine from the internet. It then promptly returned the same error log as you provided. (This was literally the last thing I tried. I thought maybe blocking java internet access via Windows firewall was "sufficient", but I either failed blocking it or that is not the issue.)
For reference, invalid credentials and trying to block via Windows firewall gave me
ERROR grails.app.services.streama.OpensubtitlesService - Opensubtitle API exception, 403 Forbidden
org.springframework.web.client.HttpClientErrorException: 403 Forbidden
errors. Nevertheless, I am assuming that your computer is connected to the internet, so I believe it is either a network issue or a firewall blocking your connection to opensubtitles. I am also assuming you used the same machine to log in/create an account at opensutitles, so I am not sure how this is possible, but I recommend looking at your firewall first.
Just to be sure, can you access opensubtitles on the same machine as streama in a web browser?
okay.. I have check the opensubtitles page and is block via ISP, I have connected to VPN and tried again but I am waiting for ever to validate .. I have login to opensubtitles page (with vpn) with no issue and I left ON the VPN in order to validate.. but still waiting ) no matter how much I will wait it will not validate. (I have change VPN locations) So I think this could be the issue...