Skip to content

Fix dedicated IPFS gateway rejecting download requests.#1589

Merged
digisomni merged 1 commit into
vircadia:masterfrom
namark:fix-build-ipfs-gateway
Feb 3, 2022
Merged

Fix dedicated IPFS gateway rejecting download requests.#1589
digisomni merged 1 commit into
vircadia:masterfrom
namark:fix-build-ipfs-gateway

Conversation

@namark

@namark namark commented Feb 1, 2022

Copy link
Copy Markdown
Contributor

There is a newer, higher level officially recommended python requests library that can take care of all this mess, but I'm not sure if it's ok to introduce it here as a dependency.

it requires a browser like user agent header, probably due to cloudflare
protection.
@digisomni digisomni changed the title Fixed dedicated IPFS gateway rejecting download requests. Fix dedicated IPFS gateway rejecting download requests. Feb 2, 2022
@digisomni digisomni added bugfix needs CR (code review) CR Approved At least one code reviewer has approved the PR. QA Approved The PR has been tested successfully. and removed needs CR (code review) labels Feb 2, 2022
@digisomni digisomni added this to the 2022.1.1 Selene Release milestone Feb 2, 2022
@digisomni digisomni added the do not merge do not merge due to issues or pending updates label Feb 3, 2022
@daleglass

Copy link
Copy Markdown
Contributor

This one is weird, why is SSL not present in Python on OSX? Pretty much everything uses SSL these days, and many servers are SSL exclusive.

@digisomni digisomni removed the do not merge do not merge due to issues or pending updates label Feb 3, 2022
@namark

namark commented Feb 3, 2022

Copy link
Copy Markdown
Contributor Author

I'm not sure myself, that logic has been there since forever it seems, I just rearranged some things, but didn't change anything on that regard, just added the user agent header. It might not be an issue anymore or maybe another quirk of this low level API, pretty much nobody recommends using it anymore as far as I can tell.

@digisomni digisomni merged commit 71fc505 into vircadia:master Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix CR Approved At least one code reviewer has approved the PR. QA Approved The PR has been tested successfully.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants