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

Need help figuring out why the HTTP module is sometimes working, sometimes not #26

Open
SuperFola opened this issue Nov 29, 2020 · 3 comments
Assignees
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed

Comments

@SuperFola
Copy link
Member

In debug mode, the HTTP module seems to work fine (WSL2, Ubuntu) with this code

(import "http.arkm")
(let cli (http:client:create "monip.org" 80))
(mut output (http:client:get cli "/"))
(print output)

(monip.org is a website giving the user its public ip, I use it because it's available through http and gives very little data (thus a request doesn't take forever), and https isn't available yet in the module).

On Windows it just always returns nil, as if an error occured on the C++ side (most likely in http:client:get), and the request takes forever.

@SuperFola SuperFola added bug Something isn't working help wanted Extra attention is needed labels Nov 29, 2020
@SuperFola
Copy link
Member Author

Also works with example.com

@SuperFola
Copy link
Member Author

@SuperFola
Copy link
Member Author

May be related to #35

@SuperFola SuperFola self-assigned this Jun 17, 2021
@SuperFola SuperFola linked a pull request Jun 17, 2021 that will close this issue
@SuperFola SuperFola added this to the 3.2.0 milestone Jun 29, 2021
@SuperFola SuperFola removed this from the 3.2.0 milestone Jan 29, 2022
@SuperFola SuperFola moved this to v3.5.0 in [public] Road to v4 Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed
Projects
Status: v3.5.0
Development

Successfully merging a pull request may close this issue.

1 participant