“Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer” Code-Antworten

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

* Uses proxy env variable http_proxy == 'https://proxy.in.tum.de:8080'   
                                         ^^^^^
The https:// is wrong, it should be http://. 
The proxy itself should be accessed by HTTP and not HTTPS even though the target URL is HTTPS. 
The proxy will nevertheless properly handle HTTPS connection and keep the end-to-end encryption. 
See HTTP CONNECT method for details how this is done.
Vast Vendace

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

Resolve: error:1408f10b:ssl routines:ssl3_get_record:wrong version number
If you have been coming across the ssl3_get_record: wrong version number error, you have come to the right place. Our Support Team has been helping a few of our customers get back on track after getting this error.

In fact, this specific error is due to the server not responding with TLS data as expected. For instance, the client starts the TLS handshake, prompting the server to reply with a non-TLS response. Since the client expects a reply from the server as part of the TLS handshake, it tries to interpret the response, ending in an error message.

Furthermore, this ends in the wrong version number with OpenSSL-based stacks since it tries to extract TLS version number, resulting in unexpected results.

Alternatively, the issue may also arise due to a middlebox or software problem in the network path to the server.

How to resolve the error
First, ensure the domain is pointing to the correct server.
Then, check the configuration file for our websites is enabled in Apache. In some cases, the default virtual host on Apache is set only for non-SSL configurations. In this scenario, symlink the website configuration file to the /etc/apache2/sites-enabled directory as seen below:
sudo ln -s /etc/apache2/sites-available/my-website.conf /etc/apache2/sites-enabled/my-website
We can verify this is successful with the command:

ls /etc/apache2/sites-enabled/
Then, restart the apache2 webserver.

Next, we have to check which internal port the NAT configuration is pointing to. Our Support Techs would like to point out that the UI allows writing ports with a comma separator, but it is not associative. For instance, even if source=80,443 it will redirect all packets to 80.
After that ensure the proxy URL is HTTP://.
Here are a few more troubleshooting tips to help fix the issue:

If we get the error while using Nginx, adding the following code to the server configuration will help:
     listen 443 ssl;
    ...
}
Another option is to check if we are behind a proxy server. If yes, we have to set the proxy for curl. We can do this by adding the following line to the subl ~/.curlrc file:
 proxy= proxyserver:proxyport
Additionally, if we are not behind a proxy, ensure the curlrc file does not contain proxy settings.
akileus

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

The https:// is wrong, it should be http://
RWD Youtube

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

* Uses proxy env variable http_proxy == 'https://proxy.in.tum.de:8080'   
                                         ^^^^^
The https:// may be wrong, it should be http://. 
The proxy itself should be accessed by HTTP and not HTTPS even though the target URL is HTTPS. 
The proxy will nevertheless properly handle HTTPS connection and keep the end-to-end encryption. 
See HTTP CONNECT method for details how this is done.
codeconnoisseur

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

#include <stdio.h>
#include  <stdlib.h>

int main()
{
    int x, i=0, n = 1;
    int *pt;
    char *s = malloc(100);

// Print error message when memroy allocation fails
    if(!(pt=(int*)malloc(sizeof(int)))) 
    {
        printf("Memory allocation error"); 
        exit(1);
    }
    printf("Enter sequence of integers one per line (empty line indicates termination of the sequence): \n");

    while (n == 1)
    {
// Read in values
        //n = scanf("%[0-9]s", s);
        n = scanf("%[^\n]s", s);
// If there's no value input, break
        if (n == 0)
            break;
// Otherwise, continue
        i++;
        
        //printf("%s %d %d\n", s, i, x);
        if(!(pt = (int *) realloc(pt, i*sizeof(int)))) 
        {
            exit(0);
        }
        
        pt[i-1]=atoi(s);
        //*(pt+i-1) = x;
    // Clear input buffer
    scanf("%c", s);

// Clear buffer
    fflush(stdin);

    }

// Index array, arrays dinamically allocated
    int *pi[i];
    
// Sorting alg
    for (int k=0;k<i;k++)
    {
        pi[k] = pt + k;
        for (int m = k; m > 0; m--)
        {
            pi[m]=pt+k;
            // Compare value of current address and previous address
            if(*(pi[m])<*(pi[m-1])) 
            { 
                int *a = pi[m];
                pi[m]=pi[m-1];
                pi[m-1]=a;
            }
            else
            {
                break;
            }
        }
    }
// Print result
    for(int k=0;k<i;k++)
    {
        printf("%p %d\n", pi[k], *(pi[k]));
    }

    return 0;
}
GEORGE ASHIOYA

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

The https:// is wrong, it should be http://. The proxy itself should be accessed by HTTP and not HTTPS even though the target URL is HTTPS. The proxy will nevertheless properly handle HTTPS connection and keep the end-to-end encryption. See HTTP CONNECT method for details how this is done.
Burkay Can Hasan ARI

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

Uses proxy env variable http_proxy == 'https://proxy.in.tum.de:8080' 
 
 So use http instead of https
Khaabe

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

#include <Arduino.h>
#include <WiFi.h>
#include <WebServer.h>


// functions prototype 
void on_button();


const char *ssid = "admin";
const char *password = "Dialog123@";

WebServer server(80); // (2) Server  192.168.8.1

void setup() {
  Serial.begin(115200);
  pinMode(0, OUTPUT);
  WiFi.softAP(ssid, password); // (1) Create AP 

  server.on("/on", on_button);

  /* step(3)*/
 server.begin();    
}

void loop() {
/* step (4) */
server.handleClient(); // this function will check availabilty of new connection   
}

void on_button()
{
  const char * html_page = "<h1> Hello world </h1>";

  digitalWrite(0, (1-digitalRead(0)));

  server.sendHeader("Location", "/on");

  server.send(302, "text/html", "");

  // server.send(200, "text/html", html_page);

}
KG STUDIO

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

proxy= proxyserver:proxyport
Vitalik-Hakim

Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer

$ curl -V  
curl 7.61.0-DEV (x86_64-pc-linux-gnu) libcurl/7.61.0-DEV OpenSSL/1.1.1 zlib/1.2.8  
Release-Date: [unreleased]  
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp  
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy
Joker

Ähnliche Antworten wie “Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer”

Fragen ähnlich wie “Fehler: 1408F10B: SSL -Routinen: SSL3_Get_Record: Falsche Versionsnummer”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen