Comments (6)
Ah, perfect it works. I noticed that the different between the configs was the fact the config example had an type: ftp
type in it, which seems to be the reason for it?
I know I tried with insecure_skip_verify
true already and that made no difference.
from ftpgrab.
FTPGrab version (5.0.0) : ftpgrab/ftpgrab:latest (5.0)
Please use latest stable release: 6.4.0
Remote FTP (Pure-FTPd) or SFTP (OpenSSH) server: Pure-FTPd
Which version of Pure-FTPd? Can you give me server logs?
{"level":"fatal","error":"dial tcp: i/o timeout","time":"2020-06-17T14:34:22+01:00","message":"Cannot connect to server"}
Looks like the container cannot reach your FTP server at xxx:10105
What's the output of ftp xxx 10105
?
from ftpgrab.
@crazy-max I did mention, that I was able to connect to the ftp server using ftp <hostname> <port>
just fine.
root@remote-02:~/mount# ftp xxx 10105
Connected to xxx.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 14:43. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 15 minutes of inactivity.
After login
...
230-This server supports FXP transfers
230 OK. Current directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
I have tried changing the options, like enabling TLS, and not checking for certs too, just to try every option
EDIT: I am using the very latest container as of day, sorry I thought it was 5.0, I must have seen it somewhere.
I don't have access to the ftp server itself unfortunately, or any useful logs.
from ftpgrab.
@ADRFranklin Looking at those logs, your local port is 21
. Is it a Pure-FTPd standalone server or a container binded to 10105
? Also it looks like you're using explicit SSL on your server. Can you try this config:
server:
ftp:
host: xxx
port: 10105
username: ********
password: ********
sources:
- /
timeout: 5
disable_epsv: false
tls: false
insecure_skip_verify: true
log_trace: true
And give me log output please and also Pure-FTPd server version? Thanks
from ftpgrab.
Errors from ftpgrab
Wed, 17 Jun 2020 16:02:35 BST INF Starting FTPGrab 6.4.0
Wed, 17 Jun 2020 16:02:35 BST FTL Cannot load configuration error="unable to decode into struct, yaml: unmarshal errors:\n line 9: cannot unmarshal !!int `5` into time.Duration"
Config:
server:
ftp:
host: xxx
port: 10105
username: xxx
password: xxx
sources:
- /
timeout: 5
disable_epsv: false
tls: false
insecure_skip_verify: true
log_trace: true
Docker:
ftpgrab:
image: ftpgrab/ftpgrab:6.4.0.
container_name: ftpgrab
volumes:
- "${DATA_DIR:?required}/ftpgrab/db:/db:rw"
- "${TORRENT_DIR}:/download:rw"
- "${DATA_DIR:?required}/ftpgrab/ftpgrab.yml:/ftpgrab.yml:ro"
environment:
- "TZ=Europe/London"
- "SCHEDULE=*/30 * * * *"
- "LOG_LEVEL=debug"
- "LOG_JSON=false"
restart: always
PureFTP Version: 1.0.43-1
from ftpgrab.
@ADRFranklin Replace timeout: 5
with timeout: 5s
from ftpgrab.
Related Issues (20)
- ftpgrab fails to authenticate while curl is OK with the same credentials HOT 2
- Feature Request - Add a optional configuration parameter to run custom script when sync is completed. HOT 6
- The debug log prompts to list files, but does not download the files in this folder HOT 3
- [Doc Page] Page instructions "Linux Service" is wrong. HOT 2
- Cannot create grabber HOT 1
- Error: FTL Cannot start [container] (Docker on Synology) HOT 2
- Tool can't work with server containing folders with cp1251 charset
- can't work on folder with "([." carracter HOT 1
- Docker Container Stops after Finishing HOT 2
- Folder with "." are Ignored HOT 2
- Need help with working out if FTPGrab can do this.
- Threads & Paralel Mirroing HOT 2
- Cannot connect to server: dial tcp 127.0.0.1:21: connect: connection refused HOT 1
- Discord notifications
- Cannot connect to server HOT 3
- File permissions not created properly?
- Cannot move file error: invalid cross-device link HOT 5
- Cannot create grabber. error = "Cannot open database: timeout" HOT 1
- FTPGrab freezes on Docker for Mac 4.25.0 HOT 5
- FTPS - Explicit TLS HOT 1
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 ftpgrab.