Problem uploading data with mirrorupdater

You want to host your own data and need help?
Antworten
bucko

Problem uploading data with mirrorupdater

Beitrag von bucko »

I'm having trouble uploading my tv-data to my webserver. After starting mirrorupdater it comes with the 'dataTarget-port not set message' (not a problem, I know), then it doesn't give any feedback at all for about a minute, then the rest of the messages pop up.
I can upload files with any ftp client fine so what's the problem here? I also tried a few other webservers, but the output is allways the same.

Output (not here cause the forum thinks it contains an URL).
bucko

Beitrag von bucko »

hmm, it still won't let me post URL's :?
ds10
Site Admin
Beiträge: 19095
Registriert: 23 Jun 2005, 12:36
Kontaktdaten:

Beitrag von ds10 »

You should be able to post the output now. You have to post 10 times before you're allowed to post urls, it's simply a spam blocking mod of the forum.
"First they ignore you, then they ridicule you, then they fight you, then you win." - Mahatma Gandhi
Unterstütze die Weiterentwicklung von TV-Browser
bucko

no dice

Beitrag von bucko »

That's why I dubbel posted :wink:
but it still won't let me....
ds10
Site Admin
Beiträge: 19095
Registriert: 23 Jun 2005, 12:36
Kontaktdaten:

Beitrag von ds10 »

Ok, please send the output per mail.
"First they ignore you, then they ridicule you, then they fight you, then you win." - Mahatma Gandhi
Unterstütze die Weiterentwicklung von TV-Browser
bucko

Beitrag von bucko »

It works! :)

output (finally):

Code: Alles auswählen

MirrorUpdater for TV-Browser v0.2
FINE: Property 'dataTarget.port' not set. Using 21
FINE: Connected to ftp.geensen.com:21
FINE: Changed to directory httpdocs/tv
INFO: In total there were 0 files checked and 0 bytes read.
FINE: Disconnected from ftp.geensen.com
INFO: In total there were 0 bytes written.
primarydatamanager.mirrorupdater.UpdateException: Getting file list failed
        at primarydatamanager.mirrorupdater.data.FtpDataTarget.listFiles(FtpDataTarget.java:167)
        at primarydatamanager.mirrorupdater.MirrorUpdater.updateMirror(MirrorUpdater.java:91)
        at primarydatamanager.mirrorupdater.MirrorUpdater.main(MirrorUpdater.java:435)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
        at java.io.FilterInputStream.read(FilterInputStream.java:66)
        at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
        at org.apache.commons.net.io.FromNetASCIIInputStream.__read(FromNetASCIIInputStream.java:114)
        at org.apache.commons.net.io.FromNetASCIIInputStream.read(FromNetASCIIInputStream.java:209)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
        at org.apache.commons.net.telnet.TelnetInputStream.__read(TelnetInputStream.java:133)
        at org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.java:407)
        at java.lang.Thread.run(Thread.java:613)
Zuletzt geändert von bucko am 29 Dez 2006, 14:17, insgesamt 1-mal geändert.
ds10
Site Admin
Beiträge: 19095
Registriert: 23 Jun 2005, 12:36
Kontaktdaten:

Beitrag von ds10 »

Mh, you simply get a timeout exception. The ftp-client is not able to receive the list of files in the current directory on the server. I don't know what's the cause of it.
"First they ignore you, then they ridicule you, then they fight you, then you win." - Mahatma Gandhi
Unterstütze die Weiterentwicklung von TV-Browser
bucko

Beitrag von bucko »

I work around the problem now by using mirrorupdater locally and manually uploading my data to the server. This works fine for the example data extracted by SimplePDS.

Thanks for your time.
Antworten