Похожие чаты

I'M trying to send a HTTP request with a url

in this format (it accepts both GET/POST methods):

https://<my_host_url>/request_something?access_key={my_access_key}&image={<base64> value of image}

And this is the error I'm getting:

write tcp 10.240.27.213:49126->172.67.150.40:443: write: broken pipe

Also I'm sure it's not server-side and most probably it's my client's fault, any clue why this is happening and/or how to fix it?

7 ответов

25 просмотров

how?

have you googled the error?

woto-「 噂 」 Автор вопроса
Roman Sharkov
how?

this is how I'm doing it: https://play.golang.org/p/OBCxWyP71u9

woto-「 噂 」 Автор вопроса
Roman Sharkov
have you googled the error?

yes, found nothing useful about it (I found some stackoverflow and github issue, but they didn't tell me anything special)

woto-「 噂 」 Автор вопроса
Roman Sharkov
have you googled the error?

and I found a webpage like this...

It means that the TCP connection was closed while something was reading from the io.Reader exposed by the net.Conn interface (TCP low level stuff). It probably is because you are sending a huge payload (base64 image) via the request url, which is not recommended. The client probably timed out while the server was still reading the url and the client closed the connection

woto-「 噂 」 Автор вопроса
A​kshit
It means that the TCP connection was closed while ...

yeah, thank you the problem was exactly like this

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта