Skip to content

Error: You aren't logged in #270

@phileastv

Description

@phileastv

Hello !

I'm trying to transfer a file to a FTP server. I double checked all my creditentials, but I keep getting this error Error: You aren't logged in. My server have a self-signed TLS certificate, but I correctly passed the parameter rejectUnauthorized: false in my secureOptions. I also tried to pass secure: true, false and mixed, but nothing changed. My FTP server is working as expected with other clients.

node:events:304
      throw er; // Unhandled 'error' event
      ^

Error: You aren't logged in
    at makeError (/usr/local/lib/node_modules/@nexrender/worker/node_modules/ftp/lib/connection.js:1067:13)
    at Parser.<anonymous> (/usr/local/lib/node_modules/@nexrender/worker/node_modules/ftp/lib/connection.js:113:25)
    at Parser.emit (node:events:327:20)
    at Parser._write (/usr/local/lib/node_modules/@nexrender/worker/node_modules/ftp/lib/parser.js:59:10)
    at writeOrBuffer (node:internal/streams/writable:382:12)
    at Parser.Writable.write (node:internal/streams/writable:333:10)
    at Socket.ondata (/usr/local/lib/node_modules/@nexrender/worker/node_modules/ftp/lib/connection.js:273:20)
    at Socket.emit (node:events:327:20)
    at addChunk (node:internal/streams/readable:304:12)
    at readableAddChunk (node:internal/streams/readable:279:9)
Emitted 'error' event on  instance at:
    at Object.reentry [as cb] (/usr/local/lib/node_modules/@nexrender/worker/node_modules/ftp/lib/connection.js:192:14)
    at Parser.<anonymous> (/usr/local/lib/node_modules/@nexrender/worker/node_modules/ftp/lib/connection.js:113:22)
    at Parser.emit (node:events:327:20)
    [... lines matching original stack trace ...]
    at readableAddChunk (node:internal/streams/readable:279:9) {
  code: 530
}

This error is not very clear for me, it seems like it is due to line 113, but I can't figure what it does.

Thanks a lot for your patience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions