holy daddy
holy daddy
RRailway
Created by holy daddy on 8/25/2024 in #✋|help
MinIO - UNABLE_TO_GET_ISSUER_CERT: unable to get issuer certificate
4a7f0cd0-ed31-47c8-b4ac-aaa814bf10a9
5 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
😓 you really helped me out here
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
Ok great thank you so much, i can still submit it in time
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
oh nvm it works now, maybe it didn't refresh
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://creditstar-be-production.up.railway.app/api/v1/data/users/344-17-0576. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://creditstar-be-production.up.railway.app/api/v1/data/users/344-17-0576. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
i have it as CORS(app, resources={r"/api/*": {"origins": "*"}})
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
One last thing, can you help me configure CORS? I already have it for python but i'm not sure how to do it for react
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
god bless you
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
its up
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/opt/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/opt/venv/lib/python3.8/site-packages/gunicorn/util.py", line 371, in import_app
mod = importlib.import_module(module)
File "/root/.nix-profile/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'main.app'; 'main' is not a package
[2023-09-18 06:42:17 +0000] [9] [INFO] Worker exiting (pid: 9)
[2023-09-18 06:42:17 +0000] [1] [ERROR] Worker (pid:9) exited with code 3
[2023-09-18 06:42:17 +0000] [1] [ERROR] Shutting down: Master
[2023-09-18 06:42:17 +0000] [1] [ERROR] Reason: Worker failed to boot.
[2023-09-18 06:42:18 +0000] [1] [INFO] Starting gunicorn 21.2.0
[2023-09-18 06:42:18 +0000] [1] [INFO] Listening at: http://0.0.0.0:7314 (1)
[2023-09-18 06:42:18 +0000] [1] [INFO] Using worker: sync
[2023-09-18 06:42:18 +0000] [11] [INFO] Booting worker with pid: 11
packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/opt/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/opt/venv/lib/python3.8/site-packages/gunicorn/util.py", line 371, in import_app
mod = importlib.import_module(module)
File "/root/.nix-profile/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'main.app'; 'main' is not a package
[2023-09-18 06:42:17 +0000] [9] [INFO] Worker exiting (pid: 9)
[2023-09-18 06:42:17 +0000] [1] [ERROR] Worker (pid:9) exited with code 3
[2023-09-18 06:42:17 +0000] [1] [ERROR] Shutting down: Master
[2023-09-18 06:42:17 +0000] [1] [ERROR] Reason: Worker failed to boot.
[2023-09-18 06:42:18 +0000] [1] [INFO] Starting gunicorn 21.2.0
[2023-09-18 06:42:18 +0000] [1] [INFO] Listening at: http://0.0.0.0:7314 (1)
[2023-09-18 06:42:18 +0000] [1] [INFO] Using worker: sync
[2023-09-18 06:42:18 +0000] [11] [INFO] Booting worker with pid: 11
this is the log atm
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
i know, i just wanted to get it working, it was supposed to be a 8 hour thing but now it's been like 3 days and i just want to get it done sadcat
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
do you also know about flask deployment? i have the app.run(host="0.0.0.0", port=3000, debug=True) but it also says application failed to respond
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
damn you're a hero
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
i've been up all night trying to finish this job application homework, its 9 am and i would like to sleep sadcat
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
all .env stuff is public but sure https://github.com/traagel/creditstar-fe
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
I did
#16 0.309 /bin/bash: line 1: npm: command not found
#16 ERROR: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127
-----
> [stage-0 10/15] RUN --mount=type=cache,id=s/cfaf7ed2-171a-4cf4-8c6a-f175f50a42fd-/root/bun,target=/root/.bun npm ci:
0.309 /bin/bash: line 1: npm: command not found
-----

Dockerfile:26
-------------------
24 | ENV NIXPACKS_PATH /app/node_modules/.bin:$NIXPACKS_PATH
25 | COPY . /app/.
26 | >>> RUN --mount=type=cache,id=s/cfaf7ed2-171a-4cf4-8c6a-f175f50a42fd-/root/bun,target=/root/.bun npm ci
27 |
28 | # build phase
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127
#16 0.309 /bin/bash: line 1: npm: command not found
#16 ERROR: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127
-----
> [stage-0 10/15] RUN --mount=type=cache,id=s/cfaf7ed2-171a-4cf4-8c6a-f175f50a42fd-/root/bun,target=/root/.bun npm ci:
0.309 /bin/bash: line 1: npm: command not found
-----

Dockerfile:26
-------------------
24 | ENV NIXPACKS_PATH /app/node_modules/.bin:$NIXPACKS_PATH
25 | COPY . /app/.
26 | >>> RUN --mount=type=cache,id=s/cfaf7ed2-171a-4cf4-8c6a-f175f50a42fd-/root/bun,target=/root/.bun npm ci
27 |
28 | # build phase
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 127
50 replies
RRailway
Created by holy daddy on 9/18/2023 in #✋|help
deploying react with vite
I had a Dockerfile but I renamed it, so now the build fails
50 replies