[GH-ISSUE #1099] can't access to postwoman web #384

Closed
opened 2026-03-16 14:58:59 +03:00 by kerem · 7 comments
Owner

Originally created by @stray-leone on GitHub (Aug 20, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1099

Describe the bug
After docker-compose up , can't access the postwoman web with browser

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
    docker-compose up
......
web_1  | ℹ Initial build may take a while
web_1  | ✔ Builder initialized
web_1  | ✔ Nuxt files generated
web_1  | ℹ Warming up worker pools
web_1  | ✔ Worker pools ready
web_1  | ℹ Compiling Client
web_1  | ✔ Client: Compiled successfully in 11.77s
web_1  |
web_1  |  WARN  Compiled with 1 warnings
web_1  |
web_1  |
web_1  |  WARN  in ./node_modules/yargs-parser/build/lib/index.js
web_1  |
web_1  | Critical dependency: the request of a dependency is an expression
web_1  |
web_1  | ℹ Waiting for file changes
web_1  | ℹ Memory usage: 435 MB (RSS: 549 MB)
web_1  | ℹ Listening on: http://localhost:3000/

  1. check network
$ netstat -nlt  |grep 3000
tcp6       0      0 :::3000                 :::*                    LISTEN
  1. request with 'wget'
$ wget http://localhost:3000/
--2020-08-20 13:35:25--  http://localhost:3000/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:3000... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

--2020-08-20 13:35:26--  (try: 2)  http://localhost:3000/
Connecting to localhost (localhost)|127.0.0.1|:3000... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

--2020-08-20 13:35:28--  (try: 3)  http://localhost:3000/
Connecting to localhost (localhost)|127.0.0.1|:3000... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

--2020-08-20 13:35:31--  (try: 4)  http://localhost:3000/
Connecting to localhost (localhost)|127.0.0.1|:3000... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

^C

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Originally created by @stray-leone on GitHub (Aug 20, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1099 **Describe the bug** After `docker-compose up` , can't access the postwoman web with browser **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' `docker-compose up` ``` ...... web_1 | ℹ Initial build may take a while web_1 | ✔ Builder initialized web_1 | ✔ Nuxt files generated web_1 | ℹ Warming up worker pools web_1 | ✔ Worker pools ready web_1 | ℹ Compiling Client web_1 | ✔ Client: Compiled successfully in 11.77s web_1 | web_1 | WARN Compiled with 1 warnings web_1 | web_1 | web_1 | WARN in ./node_modules/yargs-parser/build/lib/index.js web_1 | web_1 | Critical dependency: the request of a dependency is an expression web_1 | web_1 | ℹ Waiting for file changes web_1 | ℹ Memory usage: 435 MB (RSS: 549 MB) web_1 | ℹ Listening on: http://localhost:3000/ ``` 2. check network ``` $ netstat -nlt |grep 3000 tcp6 0 0 :::3000 :::* LISTEN ``` 3. request with 'wget' ``` $ wget http://localhost:3000/ --2020-08-20 13:35:25-- http://localhost:3000/ Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:3000... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying. --2020-08-20 13:35:26-- (try: 2) http://localhost:3000/ Connecting to localhost (localhost)|127.0.0.1|:3000... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying. --2020-08-20 13:35:28-- (try: 3) http://localhost:3000/ Connecting to localhost (localhost)|127.0.0.1|:3000... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying. --2020-08-20 13:35:31-- (try: 4) http://localhost:3000/ Connecting to localhost (localhost)|127.0.0.1|:3000... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying. ^C ``` **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/5601181/90717429-892eed00-e2ea-11ea-8fac-68b7d6e45f7f.png) **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
kerem 2026-03-16 14:58:59 +03:00
Author
Owner

@RenanRicoldi commented on GitHub (Aug 21, 2020):

Same here with Windows 10 and WSL2 Ubuntu.

<!-- gh-comment-id:678471990 --> @RenanRicoldi commented on GitHub (Aug 21, 2020): Same here with Windows 10 and WSL2 Ubuntu.
Author
Owner

@liyasthomas commented on GitHub (Aug 22, 2020):

Can you run docker ps and produce result?

<!-- gh-comment-id:678562271 --> @liyasthomas commented on GitHub (Aug 22, 2020): Can you run `docker ps` and produce result?
Author
Owner

@liyasthomas commented on GitHub (Aug 22, 2020):

@JanoschDeurer can you take a look into this?

<!-- gh-comment-id:678564719 --> @liyasthomas commented on GitHub (Aug 22, 2020): @JanoschDeurer can you take a look into this?
Author
Owner

@JanoschDeurer commented on GitHub (Aug 23, 2020):

For me it looks like the npm server is serving on localhost where it should use 0.0.0.0. If localhost is used, the site will only be available from inside the container. I don't have the time right now to give it a closer look, but if this doesn't help you find the bug, I'll look into it again on Monday or Tuesday.

<!-- gh-comment-id:678772716 --> @JanoschDeurer commented on GitHub (Aug 23, 2020): For me it looks like the npm server is serving on `localhost` where it should use `0.0.0.0`. If `localhost` is used, the site will only be available from inside the container. I don't have the time right now to give it a closer look, but if this doesn't help you find the bug, I'll look into it again on Monday or Tuesday.
Author
Owner

@liyasthomas commented on GitHub (Aug 23, 2020):

Thanks for the quick response. I'll look into it.

<!-- gh-comment-id:678772836 --> @liyasthomas commented on GitHub (Aug 23, 2020): Thanks for the quick response. I'll look into it.
Author
Owner

@liyasthomas commented on GitHub (Aug 23, 2020):

@stray-leone @RenanRicoldi pull the latest tag and see if the issue persists.

<!-- gh-comment-id:678775914 --> @liyasthomas commented on GitHub (Aug 23, 2020): @stray-leone @RenanRicoldi pull the `latest` tag and see if the issue persists.
Author
Owner

@liyasthomas commented on GitHub (Aug 23, 2020):

Issue has been solved in github.com/hoppscotch/hoppscotch@6915ea70ca

Added HOST: 0.0.0.0 to docker-compose.yml

github.com/hoppscotch/hoppscotch@6915ea70ca/docker-compose.yml (L21)

<!-- gh-comment-id:678841791 --> @liyasthomas commented on GitHub (Aug 23, 2020): Issue has been solved in https://github.com/hoppscotch/hoppscotch/commit/6915ea70cad9469877ebe43dd936521fc0e29093 Added `HOST: 0.0.0.0` to `docker-compose.yml` https://github.com/hoppscotch/hoppscotch/blob/6915ea70cad9469877ebe43dd936521fc0e29093/docker-compose.yml#L21
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#384
No description provided.