Any chance you are using a proxy on your pc? What is your OS?
Oct 20, 2020
9
Level 5
Error: Client network socket disconnected before secure TLS connection was established
Hi all, I using sanctum api, and trying to send requests but the postman shows and an error as : Error: Client network socket disconnected before secure TLS connection was established
=in postman console
POST https://localhost:8000/api/login
Error: Client network socket disconnected before secure TLS connection was established
Request Headers
Authorization: Bearer 41e94e31b56ebb39c09d985992f0f10c7325fff15bd5a5d800a8597969a587bd80c3568dc4fb9cf384e346a8507bc3d0e4710ce814e57b92e642359e
Content-Type: application/json
User-Agent: PostmanRuntime/7.26.5
Accept: */*
Postman-Token: 66b27ea4-2b28-4a64-be68-265ea3c6fbce
Host: localhost:8000
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
I appreciate your support !
Level 102
Well you are calling your url with https. Look at your own example
Try using http instead
2 likes
Please or to participate in this conversation.