mirror of
https://github.com/aome510/hackernews-TUI.git
synced 2026-04-26 09:25:56 +03:00
[GH-ISSUE #100] "Failed to get stories" on FreeBSD #30
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hackernews-TUI#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @phips on GitHub (Dec 21, 2023).
Original GitHub issue: https://github.com/aome510/hackernews-TUI/issues/100
Hello,
Would you have any idea why the client fails to get stories on an ec2 FreeBSD machine, yet a
curlworks just fine please?Installed via
cargo install hackernews_tui --lockedThanks!
@aome510 commented on GitHub (Dec 22, 2023):
Is this a consistent error which happens every time you start the application? Can you also share the application log in
.cachefolder?@phips commented on GitHub (Dec 22, 2023):
Hello @aome510 — yes, everytime. Log should be attached, thanks!
hn-tui.log
@aome510 commented on GitHub (Dec 24, 2023):
Maybe related to https://github.com/algesten/ureq/issues/637. I suspect this issue may involve the network setting of your machine. Can you checkout https://github.com/aome510/hackernews-TUI/tree/100-debug and run
cargo runto see if there is a panic? The difference between that branch and latestmainis@phips commented on GitHub (Dec 24, 2023):
A ha! That might be it, yes. There is ipv6 on this machine too. Hmm. Frustrating that the module doesn't work with the transport the world is trying to move towards, isn't it? 🤔
I'll try disabling it and see if it plays ball. But ultimately that's not the correct answer. Of course, I appreciate that is not this project's doing - ureq needs to get with the status quo 😄
@aome510 commented on GitHub (Dec 24, 2023):
Thanks for confirmation. I can switch to https://docs.rs/reqwest/latest/reqwest/ if
ureqhas that limitation@phips commented on GitHub (Dec 24, 2023):
Is reqwest a bigger library than ureq? I don't suppose it ultimately matters. Shame ureq has such a fundamental thing as ipv6 missing really, isn't it.
@aome510 commented on GitHub (Dec 24, 2023):
yeah, bigger and more dependencies. It's more popular and has more features as well. The main reason I chose
ureqin the first place is that it's relatively minimal. Maybe, that's why it doesn't have a good support for ipv6.@ryanmcgrath commented on GitHub (Jan 24, 2024):
This may be resolved now since they deployed IPV6 support.
(The issue is primarily that
ureqdoes not implement a happy-eyeballs type feature - i.e, it won't try both ipv4 and ipv6 at the same time and choose whichever one works.)@aome510 commented on GitHub (Jan 27, 2024):
@phips can you try again with the new change? I haven't had a chance to switch to
rewquestyet. If it works, maybe the switch is not needed.@phips commented on GitHub (Jan 28, 2024):
Sadly nope @aome510 — still the same 😢
@phips commented on GitHub (Nov 17, 2024):
Just tested this with latest release, and it's working! 👏 Closing ticket…