Cannot connect to local host #137
-
|
I'm having a similar problem to the one posted a few days ago, but I didn't see any solutions that were able to resolve the issue for me. After running Any help would be greatly appreciated, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
|
I haven't seen that message before, but it looks like you are out of hard
drive space. Can you check?
Depending on where you are running Pushkin, this may be more or less
complicated. So if you don't know how to check your hard drive space, let
us know what system you are using (Mac? Ubuntu? AWS?) and we'll walk
you through it.
Josh
|
Beta Was this translation helpful? Give feedback.
-
|
Pushkin doesn't run on Windows. So are you doing this through AWS?
…On Sun, Aug 16, 2020 at 9:36 PM gepping ***@***.***> wrote:
Hi Josh,
I only got the laptop a month ago so I don't believe it's out of hard
drive space. I checked storage in my settings and it appears I have plenty
of room left. I am running Windows.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#137 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOVVY3ZULTCNXZRRWSQOVTSBCCRRANCNFSM4QBD72HQ>
.
|
Beta Was this translation helpful? Give feedback.
-
|
Hi, @gepping! Thanks for bringing this to our attention. I have also had a similar error on my AWS instance before. Here are some beginning steps:
Please let me know if you have any questions! |
Beta Was this translation helpful? Give feedback.
-
|
I believe the storage issue was that I had 2 directories: pushkin_quickstart and puskin_quickstart, the latter I made by accident. I ended up removing both and starting fresh. Unfortunately, after removing this directory trying pushkin prep and pushkin start, the local host still won't load. Here's the output of each command listed. For For For Thank you for your help! |
Beta Was this translation helpful? Give feedback.
-
|
I don't see any error messages. Did you wait a couple minutes before trying
to connect?
…On Tue, Aug 18, 2020, 11:50 AM gepping ***@***.***> wrote:
I believe the storage issue was that I had 2 directories:
pushkin_quickstart and puskin_quickstart, the latter I made by accident. I
ended up removing both and starting fresh. Unfortunately, after removing
this directory trying pushkin prep and pushkin start, the local host still
won't load. Here's the output of each command listed.
For df -h /home/:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.7G 6.0G 1.8G 78% /
For pushkin prep:
package manager: yarn
resetting experiments.js
Started prepping API for mind
Started loading API controller for mind
modDir: /home/ubuntu/pushkin_quickstart/experiments/mind/api controllers
Using build-if-changed for mind_api
Installing dependencies for /home/ubuntu/pushkin_quickstart/experiments/mind/api controllers
Started prepping API for vocab
Started loading API controller for vocab
modDir: /home/ubuntu/pushkin_quickstart/experiments/vocab/api controllers
Using build-if-changed for vocab_api
Installing dependencies for /home/ubuntu/pushkin_quickstart/experiments/vocab/ap i controllers
Started prepping API for whichenglish
Started loading API controller for whichenglish
modDir: /home/ubuntu/pushkin_quickstart/experiments/whichenglish/api controller s
Using build-if-changed for whichenglish_api
Installing dependencies for /home/ubuntu/pushkin_quickstart/experiments/whicheng lish/api controllers
Started prepping web page for mind
Started loading web page for mind
modDir: /home/ubuntu/pushkin_quickstart/experiments/mind/web page
Using build-if-changed for mind_web
Installing dependencies for /home/ubuntu/pushkin_quickstart/experiments/mind/web page
Started prepping web page for vocab
Started loading web page for vocab
modDir: /home/ubuntu/pushkin_quickstart/experiments/vocab/web page
Using build-if-changed for vocab_web
Installing dependencies for /home/ubuntu/pushkin_quickstart/experiments/vocab/we b page
Started prepping web page for whichenglish
Started loading web page for whichenglish
modDir: /home/ubuntu/pushkin_quickstart/experiments/whichenglish/web page
Using build-if-changed for whichenglish_web
Installing dependencies for /home/ubuntu/pushkin_quickstart/experiments/whicheng lish/web page
loaded docker-compose.dev.yml and pushkin.yaml.
Building worker for mind
Building docker image for mind_worker
Building worker for vocab
Building docker image for vocab_worker
Building worker for whichenglish
Building docker image for whichenglish_worker
Waiting for database to start...
Building mind_api from /home/ubuntu/pushkin_quickstart/experiments/mind/api cont rollers
...
Building whichenglish_api from /home/ubuntu/pushkin_quickstart/experiments/which english/api controllers
Building vocab_api from /home/ubuntu/pushkin_quickstart/experiments/vocab/api co ntrollers
Building mind_web from /home/ubuntu/pushkin_quickstart/experiments/mind/web page
...
Building whichenglish_web from /home/ubuntu/pushkin_quickstart/experiments/which english/web page
mind_api is built
Building vocab_web from /home/ubuntu/pushkin_quickstart/experiments/vocab/web pa ge
mind_api is published locally via yalc
whichenglish_api is built
...
whichenglish_api is published locally via yalc
vocab_api is built
vocab_api is published locally via yalc
...
mind_web is built
whichenglish_web is built
mind_web is published locally via yalc
Loaded web page for mind (mind_web)
Added mind to experiments.js
whichenglish_web is published locally via yalc
Loaded web page for whichenglish (whichenglish_web)
Added whichenglish to experiments.js
vocab_web is built
vocab_web is published locally via yalc
Loaded web page for vocab (vocab_web)
Added vocab to experiments.js
Writing out experiments.js
Installing combined API
Installed combined API
Installing combined front-end
Installed combined front-end
...
...
...
...
...
starting migrations....
FS-related option specified for migration configuration. This resets migrationSo urce to default FsMigrations
Set up databases successfully
Database updated. Shutting down...
Finished building all experiment workers
updating docker-compose.dev.yml
For pushkin start:
Pulling message-queue (rabbitmq:3.6-management)...
3.6-management: Pulling from library/rabbitmq
Digest: sha256:05bd722c6b0c747ae7f854baa9e9ceb9b47da75e39f93ad6a1db74f788b0f828
Status: Downloaded newer image for rabbitmq:3.6-management
Building api
Step 1/9 : FROM node:latest
---> 784e696f5060
Step 2/9 : COPY ./src /usr/src/app/src
---> 41c027bc6a6b
Step 3/9 : COPY .yalc /usr/src/app/.yalc/
---> 26c95f93ed0b
Step 4/9 : COPY ./package.json ./yarn.lock ./.babelrc ./yalc.lock ./dockerStart. sh /usr/src/app/
---> 7644a61368ed
Step 5/9 : WORKDIR /usr/src/app
---> Running in a29aef4dac85
Removing intermediate container a29aef4dac85
---> d2b5106a31dd
Step 6/9 : RUN yarn install
---> Running in eac5d5576848
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info ***@***.***: The platform "linux" is incompatible with this module.
info ***@***.***" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 12.79s.
Removing intermediate container eac5d5576848
---> 88202834a4e5
Step 7/9 : RUN yarn build
---> Running in 2a5face58f61
yarn run v1.22.4
$ rm -rf build/* && babel src -d build && cp src/controllers.json build/
Successfully compiled 1 file with Babel (597ms).
Done in 0.94s.
Removing intermediate container 2a5face58f61
---> f341c2e735f3
Step 8/9 : RUN apt-get update && apt-get install -y netcat
---> Running in 2c2b9e603cf2
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Pack ages [552 kB]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [2596 B]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB]
Fetched 7902 kB in 2s (3930 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
netcat-traditional
The following NEW packages will be installed:
netcat netcat-traditional
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 76.0 kB of archives.
After this operation, 173 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 netcat-traditional amd64 1 .10-41+b1 [67.0 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 netcat all 1.10-41 [8962 B ]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 76.0 kB in 0s (1247 kB/s)
Selecting previously unselected package netcat-traditional.
(Reading database ... 29929 files and directories currently installed.)
Preparing to unpack .../netcat-traditional_1.10-41+b1_amd64.deb ...
Unpacking netcat-traditional (1.10-41+b1) ...
Selecting previously unselected package netcat.
Preparing to unpack .../netcat_1.10-41_all.deb ...
Unpacking netcat (1.10-41) ...
Setting up netcat-traditional (1.10-41+b1) ...
update-alternatives: using /bin/nc.traditional to provide /bin/nc (nc) in auto m ode
Setting up netcat (1.10-41) ...
Removing intermediate container 2c2b9e603cf2
---> 98553249c9ea
Step 9/9 : CMD ["bash", "dockerStart.sh"]
---> Running in 17dbe958665d
Removing intermediate container 17dbe958665d
---> ae989411151b
Successfully built ae989411151b
Successfully tagged pushkin_api:latest
Building server
Step 1/10 : FROM node:latest
---> 784e696f5060
Step 2/10 : COPY ./public /usr/src/app/public
---> 3283e1208fc1
Step 3/10 : COPY ./src /usr/src/app/src
---> 57396dc4d656
Step 4/10 : COPY .yalc /usr/src/app/.yalc/
---> d4302642f4c8
Step 5/10 : COPY ./experiments.js /usr/src/app/src/
---> 5f46221cc44d
Step 6/10 : COPY ./package.json ./yarn.lock ./yalc.lock /usr/src/app/
---> bb95993e2d28
Step 7/10 : WORKDIR /usr/src/app
---> Running in f0b42260d018
Removing intermediate container f0b42260d018
---> 7ff2d0fce31a
Step 8/10 : RUN yarn install
---> Running in 998b0af6008e
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info ***@***.***: The platform "linux" is incompatible with this module.
info ***@***.***" is an optional dependency and failed compatibility check. Excluding it from installation.
info ***@***.***: The platform "linux" is incompatible with this module.
info ***@***.***" is an optional dependency and failed compatibility check. Excluding it from installation.
info ***@***.***: The platform "linux" is incompatible with this module.
info ***@***.***" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > ***@***.***" has unmet peer dependency ***@***.*** - 3".
warning " > ***@***.***" has unmet peer dependency "popper.js@^1.16.0".
warning " > ***@***.***" has unmet peer dependency "react-is@>= 16.8 .0".
[4/4] Building fresh packages...
Done in 64.76s.
Removing intermediate container 998b0af6008e
---> 1326084fc6e0
Step 9/10 : RUN apt-get update && apt-get install -y netcat
---> Running in 790ce12da281
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Pack ages [552 kB]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [2596 B]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB]
Fetched 7902 kB in 2s (3833 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
netcat-traditional
The following NEW packages will be installed:
netcat netcat-traditional
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 76.0 kB of archives.
After this operation, 173 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 netcat-traditional amd64 1 .10-41+b1 [67.0 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 netcat all 1.10-41 [8962 B ]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 76.0 kB in 0s (1241 kB/s)
Selecting previously unselected package netcat-traditional.
(Reading database ... 29929 files and directories currently installed.)
Preparing to unpack .../netcat-traditional_1.10-41+b1_amd64.deb ...
Unpacking netcat-traditional (1.10-41+b1) ...
Selecting previously unselected package netcat.
Preparing to unpack .../netcat_1.10-41_all.deb ...
Unpacking netcat (1.10-41) ...
Setting up netcat-traditional (1.10-41+b1) ...
update-alternatives: using /bin/nc.traditional to provide /bin/nc (nc) in auto m ode
Setting up netcat (1.10-41) ...
Removing intermediate container 790ce12da281
---> d985c275f061
Step 10/10 : CMD yarn start
---> Running in 841a8db82a01
Removing intermediate container 841a8db82a01
---> 07144a798d1b
Successfully built 07144a798d1b
Successfully tagged pushkin_server:latest
Starting pushkin_test_db_1 ... done
Creating pushkin_message-queue_1 ... done
Creating pushkin_vocab_worker_1 ... done
Creating pushkin_whichenglish_worker_1 ... done
Creating pushkin_mind_worker_1 ... done
Creating pushkin_api_1 ... done
Creating pushkin_server_1 ... done
3.6-management: Pulling from library/rabbitmq
Digest: sha256:05bd722c6b0c747ae7f854baa9e9ceb9b47da75e39f93ad6a1db74f788b0f828
Status: Downloaded newer image for rabbitmq:3.6-management
Step 1/9 : FROM node:latest
---> 784e696f5060
Step 2/9 : COPY ./src /usr/src/app/src
---> 41c027bc6a6b
Step 3/9 : COPY .yalc /usr/src/app/.yalc/
---> 26c95f93ed0b
Step 4/9 : COPY ./package.json ./yarn.lock ./.babelrc ./yalc.lock ./dockerStart. sh /usr/src/app/
---> 7644a61368ed
Step 5/9 : WORKDIR /usr/src/app
---> Running in a29aef4dac85
Removing intermediate container a29aef4dac85
---> d2b5106a31dd
Step 6/9 : RUN yarn install
---> Running in eac5d5576848
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info ***@***.***: The platform "linux" is incompatible with this module.
info ***@***.***" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 12.79s.
Removing intermediate container eac5d5576848
---> 88202834a4e5
Step 7/9 : RUN yarn build
---> Running in 2a5face58f61
yarn run v1.22.4
$ rm -rf build/* && babel src -d build && cp src/controllers.json build/
Successfully compiled 1 file with Babel (597ms).
Done in 0.94s.
Removing intermediate container 2a5face58f61
---> f341c2e735f3
Step 8/9 : RUN apt-get update && apt-get install -y netcat
---> Running in 2c2b9e603cf2
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Pack ages [552 kB]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [2596 B]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB]
Fetched 7902 kB in 2s (3930 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
netcat-traditional
The following NEW packages will be installed:
netcat netcat-traditional
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 76.0 kB of archives.
After this operation, 173 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 netcat-traditional amd64 1 .10-41+b1 [67.0 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 netcat all 1.10-41 [8962 B ]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 76.0 kB in 0s (1247 kB/s)
Selecting previously unselected package netcat-traditional.
(Reading database ... 29929 files and directories currently installed.)
Preparing to unpack .../netcat-traditional_1.10-41+b1_amd64.deb ...
Unpacking netcat-traditional (1.10-41+b1) ...
Selecting previously unselected package netcat.
Preparing to unpack .../netcat_1.10-41_all.deb ...
Unpacking netcat (1.10-41) ...
Setting up netcat-traditional (1.10-41+b1) ...
update-alternatives: using /bin/nc.traditional to provide /bin/nc (nc) in auto m ode
Setting up netcat (1.10-41) ...
Removing intermediate container 2c2b9e603cf2
---> 98553249c9ea
Step 9/9 : CMD ["bash", "dockerStart.sh"]
---> Running in 17dbe958665d
Removing intermediate container 17dbe958665d
---> ae989411151b
Successfully built ae989411151b
Successfully tagged pushkin_api:latest
Step 1/10 : FROM node:latest
---> 784e696f5060
Step 2/10 : COPY ./public /usr/src/app/public
---> 3283e1208fc1
Step 3/10 : COPY ./src /usr/src/app/src
---> 57396dc4d656
Step 4/10 : COPY .yalc /usr/src/app/.yalc/
---> d4302642f4c8
Step 5/10 : COPY ./experiments.js /usr/src/app/src/
---> 5f46221cc44d
Step 6/10 : COPY ./package.json ./yarn.lock ./yalc.lock /usr/src/app/
---> bb95993e2d28
Step 7/10 : WORKDIR /usr/src/app
---> Running in f0b42260d018
Removing intermediate container f0b42260d018
---> 7ff2d0fce31a
Step 8/10 : RUN yarn install
---> Running in 998b0af6008e
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info ***@***.***: The platform "linux" is incompatible with this module.
info ***@***.***" is an optional dependency and failed compatibility check. Excluding it from installation.
info ***@***.***: The platform "linux" is incompatible with this module.
info ***@***.***" is an optional dependency and failed compatibility check. Excluding it from installation.
info ***@***.***: The platform "linux" is incompatible with this module.
info ***@***.***" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > ***@***.***" has unmet peer dependency ***@***.*** - 3".
warning " > ***@***.***" has unmet peer dependency "popper.js@^1.16.0".
warning " > ***@***.***" has unmet peer dependency "react-is@>= 16.8 .0".
[4/4] Building fresh packages...
Done in 64.76s.
Removing intermediate container 998b0af6008e
---> 1326084fc6e0
Step 9/10 : RUN apt-get update && apt-get install -y netcat
---> Running in 790ce12da281
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Pack ages [552 kB]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [2596 B]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB]
Fetched 7902 kB in 2s (3833 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
netcat-traditional
The following NEW packages will be installed:
netcat netcat-traditional
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 76.0 kB of archives.
After this operation, 173 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 netcat-traditional amd64 1 .10-41+b1 [67.0 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 netcat all 1.10-41 [8962 B ]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 76.0 kB in 0s (1241 kB/s)
Selecting previously unselected package netcat-traditional.
(Reading database ... 29929 files and directories currently installed.)
Preparing to unpack .../netcat-traditional_1.10-41+b1_amd64.deb ...
Unpacking netcat-traditional (1.10-41+b1) ...
Selecting previously unselected package netcat.
Preparing to unpack .../netcat_1.10-41_all.deb ...
Unpacking netcat (1.10-41) ...
Setting up netcat-traditional (1.10-41+b1) ...
update-alternatives: using /bin/nc.traditional to provide /bin/nc (nc) in auto m ode
Setting up netcat (1.10-41) ...
Removing intermediate container 790ce12da281
---> d985c275f061
Step 10/10 : CMD yarn start
---> Running in 841a8db82a01
Removing intermediate container 841a8db82a01
---> 07144a798d1b
Successfully built 07144a798d1b
Successfully tagged pushkin_server:latest
Starting. You may not be able to load localhost for a minute or two.
Thank you for your help!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#137 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOVVY5Z4FC7HBT7KR4KLN3SBKPNXANCNFSM4QBD72HQ>
.
|
Beta Was this translation helpful? Give feedback.
-
|
I think I know what's going on. I accidentally commented out a key piece of information from our docs. My sincerest apologies. If you are using an AWS EC2 instance, you will need to navigate to the IPv4 Public IP address of your instance instead of Again, my apologies for the trouble. That should solve your problem. However, you may run into #107. If you do, let us know over there! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @gepping ! I just wanted to check in to see how Pushkin has been going for you. The Pushkin team is online today answering questions so if there's anything you need help with please let us know! |
Beta Was this translation helpful? Give feedback.
@jkhartshorne @gepping
I think I know what's going on. I accidentally commented out a key piece of information from our docs. My sincerest apologies.
If you are using an AWS EC2 instance, you will need to navigate to the IPv4 Public IP address of your instance instead of
http://localhost. You can see how to find that in your AWS Console here.Again, my apologies for the trouble. That should solve your problem. However, you may run into #107. If you do, let us know over there!