isxuelinme / poe_unoffical_api

the POE of Quora golang implement
Apache License 2.0
87 stars 17 forks source link

connect: connection refused -- does not return answer #6

Closed zukixa closed 1 year ago

zukixa commented 1 year ago

M1 Mac, been playing with the repository -- but I seem to be having some issue.

Error:

1) go run main.go

2) after input of question:

image

3) after error: error4

.env: error3

isxuelinme commented 1 year ago

you proxy has some wrong, plz check your proxy health

isxuelinme commented 1 year ago
image

it represents your proxy connect failed

zukixa commented 1 year ago

I'm not intending to use a proxy, it can be without one, as the proxy is just the "proxy" from the example

If I don't want a proxy, do I just remove? Because then I get no answer

isxuelinme commented 1 year ago

if you dont use proxy, you must outside of china or another no-blocked poe country, such as if you are in USA,you dont need to set HTTP_PROXY

zukixa commented 1 year ago

ah, thank you!!

I still have some problem, I think with cookies I send a request with main.go, but I do not get any response

cookies also reset very fast, this is an old cookie: rizsaJnDaJTSKJ4qjUCP3w%3D%3D are they this short?

isxuelinme commented 1 year ago

if you don't got response you have to show your log

zukixa commented 1 year ago

where is the log / how do I activate it

isxuelinme commented 1 year ago

maybe you need to relog your account on poe, and reget your poe cookie and another configuration