Menu

Errors

David

Errors

A brief description of errors that may happen and how to solve it

TLS / SSL

  1. Failed to connect or ssl handshake: Bad file descriptor, SSL connect attempt fai
    led error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number at newsup.pl line 763.
    Failed to connect or ssl handshake: Bad file descriptor, SSL connect attempt fai led error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

This error means that the server you're trying to connect doesn't handle the TLS/SSL encryption mechanism that newsup is using (which should be the latest one available).
To solve this issue go to the function _create_socket and change the line "SSL_version=>'TLSv1_2'"
to "SSL_version=>'TLSv1_1'". If it doesn't solve, please try the following ciphers 'SSLv2', 'SSLv3', 'TLSv1'.

As this is the downgrading of the SSL/TLS and it affects the privacy of the user, this error won't be fixed.

  1. Failed to connect or ssl handshake:, IO::Socket::IP configuration failed

This error is the same as 1. Please check the error 1 for more info

Posting Errors

  1. ID is not unique E1

Newsup tried to upload a article that already exists. If this happen during the header check, please ignore it, since it meant that the server took some time to make the article available, and newsup was trying to re-post it.

If this happened before header check, than you did got a very bad luck (think on the same probability of wining the lottery twice in a row) and that article won't be able to be posted. You can then ignore it and keep the upload going, but if you want to be sure that all the upload will go fine then you're better to restart it.

MISC

  1. 502 Invalid username or password

As the error says you tried to login on the server with invalid credentials.

  1. You need to configure the option temp_dir in the configuration file

You're getting this error even when the option is configured in the newsup.conf file. This is because your configuration file isn't being found by the application. It should be in ~/.config/ folder