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

Testbucket S3 not working #413

Open
5 tasks done
youngpake opened this issue Oct 3, 2023 · 2 comments
Open
5 tasks done

Testbucket S3 not working #413

youngpake opened this issue Oct 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@youngpake
Copy link

Describe the bug

After uploading a document trying to view what has just been uploaded by clicking on it to this link I get:

Hmmm… can't reach this pageCheck if there is a typo in localstack.
Search the web for localstack
If spelling is correct, try running Windows Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN

http://[localstack](http://localstack:4566/test-bucket/documents/18f1dda89f8e3918/Photo-1.jpg?AWSAccessKeyId=foo&Signature=Tzoe67ok11MC9Xs%2B989mbbqjvc0%3D&Expires=1696408292):4566/test-bucket/documents/18f1dda89f8e3918/Photo-1.jpg?AWSAccessKeyId=foo&Signature=Tzoe67ok11MC9Xs%2B989mbbqjvc0%3D&Expires=1696408292

Steps to reproduce

  1. From Sidebar click documents
  2. Click or drag file to this area to upload
  3. Upload document
  4. Click on the uploaded document

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
    Memory: 2.82 GB / 15.80 GB
  Binaries:
    Node: 18.18.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.8.0 - ~\AppData\Local\pnpm\pnpm.EXE
  Browsers:
    Edge: Chromium (117.0.2045.47)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @swc-node/register: ^1.6.8 => 1.6.8
    @swc/core: ^1.3.90 => 1.3.90

Logs

DNS_PROBE_FINISHED_NXDOMAIN

Validations

@pziemkowski pziemkowski added the bug Something isn't working label Oct 3, 2023
@takahiroanno
Copy link

I also encountered the same bug. I think the problem is that "localstack" cannot be resolved on the host machine.

I don't know what the correct solution is, but in my case I added
127.0.0.1 localstack
to /private/etc/hosts on my mac and it works fine now.

@Crunchyman-ralph
Copy link

I think the solution would be to add localstack inside the network config of docker-compose.

Or just do localhost instead of localstack also works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants