Hi Team Plasmic!
We have self-hosted Plasmic. However we are having issues with setting up the app host. Any help would be greatly appreciated!
Hi Team Plasmic!
We have self-hosted Plasmic. However we are having issues with setting up the app host. Any help would be greatly appreciated!
Hello @aihe_team !
Which exact issues are you experiencing? Could you please provide some screenshots and detailed logs if there are some?
sure! @alex_noel! @luis_barreto could you please provide some screen shots and any detailed logs?
This is the site that is not responding
if we choose any project, then the next page isn’t working
This is what the logs show
@aihe_team It is hard to tell, but @felipemds suggested that this might be some issue related to loading the frames.
We would need the configuration details of your setup to pinpoint the exact problem.
I would also suggest going over the readme doc again to make sure you followed all the setup steps correctly.
@alex_noel I’m grateful for the response!
Can you tell us what you mean by frames?
When you say configuration details you mean the package.json? cc: @luis_barreto
[canvas] watching…
[canvas] watching…
[canvas] watching…
[canvas] watching…
[canvas] watching…
[backend] __
[backend] Creating typeorm connection pool for default
[backend] (node:1823) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
[backend] on September 8, 2024 and reach end-of-support on September 8, 2025.
[backend]
[backend] Please migrate your code to use AWS SDK for JavaScript (v3).
[backend] For more information, check blog post at Announcing end-of-support for AWS SDK for JavaScript v2 effective September 8, 2025 | AWS Developer Tools Blog
[backend] (Use node --trace-warnings ...
to show where the warning was created)
[backend] Creating typeorm connection pool for migration-pool
[backend] Starting up app server; NODE_ENV: undefined
[backend] No socket host found; serving sockets from app backend
[backend] Adding codegen routes
[backend] Starting server with heap memory 9755.505416870117MB
[backend]
[backend] App studio is running at http://localhost:3004 in development mode
[backend] Press CTRL-C to stop immediately.
[backend] Send SIGINT to shutdown gracefully: kill -INT 1823
[backend]
[frontend] ready Client compiled in 49.4 s
[frontend] warn Compile Warning:
[frontend] Module Warning
[frontend] (46:2) from “autoprefixer” plugin: end value has mixed support, consider using flex-end instead
[frontend] │
[frontend] │ Code:
[frontend] │ justify-content: end
[frontend] │
[frontend] │ (from: /root/plasmic/platform/wab/node_modules/@rsbuild/shared/compiled/postcss-loader/index.js??ruleSet[1].rules[7].oneOf[1].use[0])
[frontend]
[frontend] start Compiling…
[frontend] ready Client compiled in 17 s
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [PF7naESICVP1] ::1 - admin@admin.example.com [02/Nov/2024:00:47:10 +0000] “GET /api/v1/auth/csrf HTTP/1.1” 200 49 “http://95.217.1.150:3003/admin” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (251ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [7wlQynZApy7d] ::1 - admin@admin.example.com [02/Nov/2024:00:47:12 +0000] “GET /api/v1/latest-bundle-version HTTP/1.1” 200 77 “http://95.217.1.150:3003/admin” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (2076ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] ::1
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [8pA1l5vrfr34] ::1 - admin@admin.example.com [02/Nov/2024:00:47:12 +0000] “GET /api/v1/app-ctx HTTP/1.1” 200 10339 “http://95.217.1.150:3003/admin” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (202ms)
[backend] [O09Tegje0FrU] ::1 - admin@admin.example.com [02/Nov/2024:00:47:12 +0000] “GET /api/v1/app-config HTTP/1.1” 200 10208 “http://95.217.1.150:3003/admin” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (211ms)
[backend] ::1
[backend] getting self info for admin@admin.example.com
[backend] [kL7XfK6pHSMM] ::1 - admin@admin.example.com [02/Nov/2024:00:47:12 +0000] “GET /api/v1/auth/self HTTP/1.1” 200 701 “http://95.217.1.150:3003/admin” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (218ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] ::1
[backend] [3aSXib30DdL5] ::1 - admin@admin.example.com [02/Nov/2024:00:47:13 +0000] “GET /api/v1/admin/users HTTP/1.1” 200 1904 “http://95.217.1.150:3003/admin” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (46ms)
[backend] [lkhWB9TrfobL] ::1 - admin@admin.example.com [02/Nov/2024:00:47:13 +0000] “GET /api/v1/admin/feature-tiers HTTP/1.1” 200 5143 “http://95.217.1.150:3003/admin” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (45ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [7Oz9qL0owjvn] ::1 - admin@admin.example.com [02/Nov/2024:00:47:59 +0000] “POST /api/v1/admin/teams HTTP/1.1” 200 12 “http://95.217.1.150:3003/admin/teams” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (267ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [cTCUiE0cViz7] ::1 - admin@admin.example.com [02/Nov/2024:00:50:34 +0000] “GET /api/v1/auth/csrf HTTP/1.1” 200 49 “http://95.217.1.150:3003/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (118ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [LKJjxi4QELQo] ::1 - admin@admin.example.com [02/Nov/2024:00:50:34 +0000] “GET /api/v1/latest-bundle-version HTTP/1.1” 200 77 “http://95.217.1.150:3003/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (30ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] getting self info for admin@admin.example.com
[backend] ::1
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [XX7abkLMeA-b] ::1 - admin@admin.example.com [02/Nov/2024:00:50:34 +0000] “GET /api/v1/app-ctx HTTP/1.1” 200 10339 “http://95.217.1.150:3003/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (140ms)
[backend] ::1
[backend] [dNxxSDPoo2p4] ::1 - admin@admin.example.com [02/Nov/2024:00:50:34 +0000] “GET /api/v1/app-config HTTP/1.1” 200 10208 “http://95.217.1.150:3003/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (203ms)
[backend] [1hVEshHfkI-R] ::1 - admin@admin.example.com [02/Nov/2024:00:50:34 +0000] “GET /api/v1/auth/self HTTP/1.1” 200 701 “http://95.217.1.150:3003/” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (212ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [tKYnakyFEJ4C] ::1 - admin@admin.example.com [02/Nov/2024:00:50:35 +0000] “GET /api/v1/projects?query=%22all%22 HTTP/1.1” 200 22169 “http://95.217.1.150:3003/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (112ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [xbpg2Tuk0qVb] ::1 - admin@admin.example.com [02/Nov/2024:00:50:35 +0000] “GET /api/v1/feature-tiers HTTP/1.1” 200 3416 “http://95.217.1.150:3003/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (41ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] ::1
[backend] [avrkdEh7_Sbp] ::1 - admin@admin.example.com [02/Nov/2024:00:50:39 +0000] “GET /api/v1/hosts HTTP/1.1” 200 19 “http://95.217.1.150:3003/projects/fhnxW9jcQEURyUodfQJpuZ” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (55ms)
[backend] [CLCmSbA5-HuT] ::1 - admin@admin.example.com [02/Nov/2024:00:50:39 +0000] “GET /api/v1/projects?query=%22byIds%22&projectIds=%5B%22fhnxW9jcQEURyUodfQJpuZ%22%5D HTTP/1.1” 200 3926 “http://95.217.1.150:3003/projects/fhnxW9jcQEURyUodfQJpuZ” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (187ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] ::1
[backend] [Vguj-VLRHovo] ::1 - admin@admin.example.com [02/Nov/2024:00:51:01 +0000] “GET /api/v1/feature-tiers HTTP/1.1” 200 3416 “http://95.217.1.150:3003/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (343ms)
[backend] [M_1XiHnVlh8q] ::1 - admin@admin.example.com [02/Nov/2024:00:51:01 +0000] “GET /api/v1/projects?query=%22all%22 HTTP/1.1” 200 22169 “http://95.217.1.150:3003/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (286ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [Ztjui-TZO0nQ] ::1 - admin@admin.example.com [02/Nov/2024:00:51:08 +0000] “GET /api/v1/projects/fhnxW9jcQEURyUodfQJpuZ/branches HTTP/1.1” 200 15 “http://95.217.1.150:3003/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (92ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] ERROR! ; rollback NotFoundError: Project with ID The real Plasmic project 1 not found
[backend] at ensureFound (/root/plasmic/platform/wab/src/wab/server/db/DbMgr.ts:449:11)
[backend] at DbMgr.getProjectById (/root/plasmic/platform/wab/src/wab/server/db/DbMgr.ts:2919:12)
[backend] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[backend] at DbMgr. (/root/plasmic/platform/wab/src/wab/server/db/DbMgr.ts:2438:23)
[backend] at DbMgr.updateProject (/root/plasmic/platform/wab/src/wab/server/db/DbMgr.ts:2627:7)
[backend] at updateProject (/root/plasmic/platform/wab/src/wab/server/routes/projects.ts:1521:19)
[backend] [0OL5_VklzC8C] ::1 - admin@admin.example.com [02/Nov/2024:00:51:37 +0000] “PUT /api/v1/projects/The%20real%20Plasmic%20project%201 HTTP/1.1” 404 116 “http://95.217.1.150:3003/admin/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (199ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [2_eqjH2v4AQH] ::1 - admin@admin.example.com [02/Nov/2024:00:51:44 +0000] “GET /api/v1/projects?query=%22all%22 HTTP/1.1” 200 22169 “http://95.217.1.150:3003/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (177ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] ::1
[backend] [m-tcV_L-Q8x-] ::1 - admin@admin.example.com [02/Nov/2024:00:51:46 +0000] “GET /api/v1/hosts HTTP/1.1” 200 19 “http://95.217.1.150:3003/projects/fhnxW9jcQEURyUodfQJpuZ” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (106ms)
[backend] [VOwv8UTZGp7i] ::1 - admin@admin.example.com [02/Nov/2024:00:51:46 +0000] “GET /api/v1/projects?query=%22byIds%22&projectIds=%5B%22fhnxW9jcQEURyUodfQJpuZ%22%5D HTTP/1.1” 200 3926 “http://95.217.1.150:3003/projects/fhnxW9jcQEURyUodfQJpuZ” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (147ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [Th_mUCNYOAe5] ::1 - admin@admin.example.com [02/Nov/2024:00:51:57 +0000] “PUT /api/v1/projects/fhnxW9jcQEURyUodfQJpuZ HTTP/1.1” 200 4643 “http://95.217.1.150:3003/admin/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (331ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [lROd6Ptq5Ab4] ::1 - admin@admin.example.com [02/Nov/2024:00:51:59 +0000] “PUT /api/v1/projects/fhnxW9jcQEURyUodfQJpuZ HTTP/1.1” 200 4643 “http://95.217.1.150:3003/admin/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (206ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [pzGLoIxrWR78] ::1 - admin@admin.example.com [02/Nov/2024:00:52:01 +0000] “PUT /api/v1/projects/fhnxW9jcQEURyUodfQJpuZ HTTP/1.1” 200 4643 “http://95.217.1.150:3003/admin/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (157ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [OfdATaVWEx0x] ::1 - admin@admin.example.com [02/Nov/2024:00:52:07 +0000] “GET /api/v1/feature-tiers HTTP/1.1” 200 3416 “http://95.217.1.150:3003/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (36ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [CfOG21MNOlIx] ::1 - admin@admin.example.com [02/Nov/2024:00:52:07 +0000] “GET /api/v1/projects?query=%22all%22 HTTP/1.1” 200 22168 “http://95.217.1.150:3003/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (124ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] ::1
[backend] [WTBCUVzNtRCp] ::1 - admin@admin.example.com [02/Nov/2024:00:52:09 +0000] “GET /api/v1/hosts HTTP/1.1” 200 19 “http://95.217.1.150:3003/projects/fhnxW9jcQEURyUodfQJpuZ” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (109ms)
[backend] [yWtSkQASjVEJ] ::1 - admin@admin.example.com [02/Nov/2024:00:52:09 +0000] “GET /api/v1/projects?query=%22byIds%22&projectIds=%5B%22fhnxW9jcQEURyUodfQJpuZ%22%5D HTTP/1.1” 200 3925 “http://95.217.1.150:3003/projects/fhnxW9jcQEURyUodfQJpuZ” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (170ms)
[backend] [analytics] appendBaseEventProperties { host: ‘http://localhost:3003’, production: false }
[backend] [analytics] setUser “5a9b93db-e0da-495c-b019-49699da2853f”
[backend] ::1
[backend] [iC4f9Q9hXIxa] ::1 - admin@admin.example.com [02/Nov/2024:00:52:22 +0000] “PUT /api/v1/projects/fhnxW9jcQEURyUodfQJpuZ HTTP/1.1” 200 4643 “http://95.217.1.150:3003/admin/projects” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36” (333ms)
@alex_noel I have a hypothesis that it is the app host we need to update.
So for self-hosting, would you know how we can get the api_token? I’ve tried looking in the usual places where the api_token is found on the cloud but we can’t find the api token. We can find the project_id but not the api_token.
I’m grateful in advance!
@muhammad_asim can you specify the place where @aihe_team can find the api_token?
@alex_noel Thank you so much!
@aihe_team Can you please check if your instance is up an running? I’m trying to access https://95.217.1.150:3003/ but it’s not loading for me at the moment? Is the self hosted instance publicly accessible?
Hi @muhammad_asim. I’m very grateful for your response!. We turned the server off to save on server costs.
@luis_barreto can we turn on the server so Asim can assist us?
@aihe_team the server and the app is already running.
@luis_barreto @aihe_team Based on the errors shown in the console, it’s failing to fetch the scripts because it’s accessing it through https
secure connection where as your server configuration doesn’t support https at the moment. Please try enabling https by setting up SSL certificate. You can try Letsencrypt for that.
Thanks @muhammad_asim, makes sense. There is any guide to apply https on the plasmic server ? from my understand Letsencrypt provides certificates, that is correct ?
@muhammad_asim I’m very grateful for you! Because of you we can make progress.
@luis_barreto Thank you. Letsencrypt provides certificates. I did it before. I will share with you.
I’m taking an attempt at self hosting and when I run “yarn local-unpublish” I get the following error.
Any help would be appreciated! @muhammad_asim
yarn run v1.22.22
$ lerna exec -- npm unpublish -f --registry="http://localhost:4873/" "\${LERNA_PACKAGE_NAME}"
lerna notice cli v7.4.2
lerna info versioning independent
lerna info Executing command in 70 packages: "npm unpublish -f --registry=http://localhost:4873/ ${LERNA_PACKAGE_NAME}"
npm warn using --force Recommended protections disabled.
npm warn using --force Recommended protections disabled.
npm warn using --force Recommended protections disabled.
npm warn using --force Recommended protections disabled.
npm warn using --force Recommended protections disabled.
npm warn using --force Recommended protections disabled.
npm warn using --force Recommended protections disabled.
npm warn using --force Recommended protections disabled.
npm error code ECONNREFUSED
npm error code ECONNREFUSED
⠴npm error syscall connect
npm error syscall connect
⠴npm error errno ECONNREFUSED
npm error errno ECONNREFUSED
npm error FetchError: request to http://localhost:4873/@plasmicapp%2fauth-api?write=true failed, reason: connect ECONNREFUSED ::1:4873
npm error at ClientRequest.<anonymous> (/root/.nvm/versions/node/v18.20.4/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)
npm error at ClientRequest.emit (node:events:517:28)
npm error at _destroy (node:_http_client:882:13)
npm error at onSocketNT (node:_http_client:902:5)
npm error at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm error code: 'ECONNREFUSED',
npm error errno: 'ECONNREFUSED',
npm error syscall: 'connect',
npm error address: '::1',
npm error port: 4873,
npm error type: 'system'
npm error }
@aihe_team Could you share why do you want to execute local-unpublish
command?
In the mentioned case, the error thrown ECONNREFUSED
means it cannot reach the host http://localhost:4873
, which means there is no local npm registry running on the server.