To those wanting to use HTTP and/or HTTPS #209
Replies: 5 comments
-
Hi @LexiBigCheese, i tried your configuration, trying to get ssl to work with tungstenite (cf #207), but i get compilation errors on ring crate:
same error with ring main branch or your PR commit. I'm on Macos Monterey, and got error that CFLAG My cargo file:
Any idea why it fail to build and how to solve that ? |
Beta Was this translation helpful? Give feedback.
-
best thing you can try to do is look for the header file and look for where the flags for the compile of the file that needs to be compiled is and point one at the other. i have no clue where you'd even look for that (i figured out how to get HTTPS on the 3DS like... almost a year ago today i just made the commits in recent times so i can't remember what problems exactly i ran into >.<) if all else fails, try a linux docker container. |
Beta Was this translation helpful? Give feedback.
-
@lrk About the ring you can take a look at my fork, I don't know if it's the best solution, but it works. https://github.com/save-cloud/ring/tree/v0.17.10-3ds |
Beta Was this translation helpful? Give feedback.
-
Another approach might be using |
Beta Was this translation helpful? Give feedback.
-
Thanks for raising this, your research and efforts here seem like great information for people looking to use this stuff! However, it doesn't sound like there's anything actionable (bug or feature) for this repo, so I'm going to go ahead and move it to a discussion. Please feel free to continue posting useful info there! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
You'll want to comment out the assertion that causes issue #174 to have a panic, then cargo clean so cargo rebuilds std with this change.
Then, patch thering
crate to be the one I'm trying to get pulled into the main branch,EDIT: It has been pulled!
EDIT2: Note: Point at ring's main branch.
and ensure
Note that
patch
andprofile
sections go inCargo.toml
, if you're using a cargo workspace, it does in the workspace'sCargo.toml
Additionally, you'll want the environment variable
And now, the
minreq
crate will now let you do https.Having a timeout may be that which causes the
ureq
crate to fail, I've been told to look into yielding when listening on anmpsc::Receiver
, but I'm not that great at modifyingstd
, so instead I just modified and patchedehttp
to useminreq
oncfg(target_os = "horizon")
Beta Was this translation helpful? Give feedback.
All reactions