Похожие чаты

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 ответов

23 просмотра

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

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

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

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
any reference of this implementation?
BitBuddha
29
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
11
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
11
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Карта сайта