Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Https使用Address配合sslProtocol无法正常请求 #208

Open
yikolemon opened this issue Sep 30, 2024 · 0 comments
Open

Https使用Address配合sslProtocol无法正常请求 #208

yikolemon opened this issue Sep 30, 2024 · 0 comments

Comments

@yikolemon
Copy link

在使用@address配合sslProtocol="TLS"情况下出现下面的错误返回,

只有在使用baseUrl并在内添加https://xxx的协议才能正常调用:

Snipaste_2024-09-30_15-22-13

错误返回:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>

<head>
	<title>400 The plain HTTP request was sent to HTTPS port</title>
</head>

<body>
	<h1>400 Bad Request</h1>
	<p>The plain HTTP request was sent to HTTPS port.
		<hr />Powered by Tengine
</body>

</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant