question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gateway requests responds with `403 - Forbidden`

See original GitHub issue

When in the Download page, the user shouldn’t have to have an IPFS instance or daemon running, so we’ll use the ipfs.io gateway to fetch the files and download them.

The problem here is that when making the request the response is always 403 - Forbidden. https://github.com/ipfs-shipyard/ipfs-share-files/blob/7ed1070796187f0079620e7b836f31b8e23c4dbb/src/pages/download/Download.js#L20

https://github.com/ipfs-shipyard/ipfs-share-files/blob/7ed1070796187f0079620e7b836f31b8e23c4dbb/src/bundles/files.js#L222-L248

Both in Postman or directly in the browser the response comes OK, but not in the app.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
fsdiogocommented, Aug 30, 2018

Huge thanks to @lidel and @lgierth, this is now fixed!

0reactions
fsdiogocommented, Aug 29, 2018

Wow, thanks @lidel! It really is strange!

@lgierth can you please ping here when it is fixed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix 403 Forbidden errors when connecting to API Gateway ...
The HTTP 403 Forbidden error most commonly occurs when private DNS is enabled for an API Gateway interface VPC endpoint that's associated ...
Read more >
What Is the 403 Forbidden Error and How to Fix It (8 Methods ...
403 Forbidden error message means that the server is unable to authorize a particular request made by a user. What Causes 403 Forbidden?...
Read more >
403 Forbidden Error: What It Is and How to Fix It - Airbrake Blog
The 403 Forbidden Error is an HTTP response status code that indicates an identified client does not have proper authorization to access the...
Read more >
Resolve Amazon API Gateway HTTP 403 Forbidden error
The HTTP 403 Forbidden error indicates the client is forbidden from accessing a valid URL. Although the server seems to have understood the ......
Read more >
getting message: forbidden reply from AWS API gateway
I might be too late but one of the reasons API Gateway would give "forbidden" message is when you pass data in request...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found