"Failed to determine the https port for redirect"

Got this message when trying to log into the running application using official docker image. Any suggestions?

{"EventId":3,"LogLevel":"Warning","Category":"Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware","Message":"Failed to determine the https port for redirect.","State":{"Message":"Failed to determine the https port for redirect.","{OriginalFormat}":"Failed to determine the https port for redirect."}}
{"EventId":1,"LogLevel":"Warning","Category":"Microsoft.AspNetCore.Http.ResponseCookies","Message":"The cookie \u0027idsrv.session\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027.","State":{"Message":"The cookie \u0027idsrv.session\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027.","name":"idsrv.session","{OriginalFormat}":"The cookie \u0027{name}\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027."}}
{"EventId":1,"LogLevel":"Warning","Category":"Microsoft.AspNetCore.Http.ResponseCookies","Message":"The cookie \u0027.AspNetCore.Identity.Application\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027.","State":{"Message":"The cookie \u0027.AspNetCore.Identity.Application\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027.","name":".AspNetCore.Identity.Application","{OriginalFormat}":"The cookie \u0027{name}\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027."}}
{"EventId":1,"LogLevel":"Warning","Category":"Microsoft.AspNetCore.Http.ResponseCookies","Message":"The cookie \u0027idsrv.session\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027.","State":{"Message":"The cookie \u0027idsrv.session\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027.","name":"idsrv.session","{OriginalFormat}":"The cookie \u0027{name}\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027."}}
{"EventId":1,"LogLevel":"Warning","Category":"Microsoft.AspNetCore.Http.ResponseCookies","Message":"The cookie \u0027.AspNetCore.Identity.Application\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027.","State":{"Message":"The cookie \u0027.AspNetCore.Identity.Application\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027.","name":".AspNetCore.Identity.Application","{OriginalFormat}":"The cookie \u0027{name}\u0027 has set \u0027SameSite=None\u0027 and must also set \u0027Secure\u0027."}}

The official docker image does not have https layer. It is necessary to create a https layer by reverse proxy.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.