-
Notifications
You must be signed in to change notification settings - Fork 367
HttpRequestException: The SSL connection could not be established, see inner exception. #62
Comments
Double-check the URL you've configured for the FrontEnd to talk to the BackEnd. HTTPS and HTTP are on separate ports and you must ensure you use the right port. Check that the BackEnd works over HTTPS and then ensure you're using that URL in the FrontEnd's |
I have the same issue and can't solve it. The configuration files are correct I think, {
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:56009/",
"sslPort": 44360
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"AASPNETCORE_HTTPS_PORT": "44360",
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Backend": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:44360;http://localhost:56009"
}
}
} {
"ServiceUrl": "https://localhost:44360/",
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*"
} |
How are you launching the apps? Via Visual Studio or the cmd line? Can you confirm that the back-end is listening and serving the Swashbuckle (Swagger) UI via the configured HTTPS URL? |
for this challenge. i set my lauchsetting for frontend like this "FrontEnd": { |
Hi, Maybe it is no longer important but anyway. What was happening for me, the concatenation of the base address for the FrontEnd API service was not working. So I' was trying to access an address that did not exist. It could be something similiar for you. |
IOException: The handshake failed due to an unexpected packet format.
FrontEnd cannot establish connection with BackEnd api.
The text was updated successfully, but these errors were encountered: