Trigaten
Trigaten
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
@miho letting you know that I (mostly you đŸ™‚ ) have now solved this. Here is where I went wrong: - used the default app name on deploy - didn't know the perform migrate The first was very avoidable. For the second, I didn't see it noted on the deploy page, and even having done the tutorial might not have known to do it. It might be worth clarifying these further in the docs to help unexperienced devs like myself. I am happy to make a PR if you are interested đŸ™‚
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
It looks like this problem is fixed. Im having a diff problem with mailgun, looking into that. Ill update here when done.
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
I did not. I went thru those docs somewhat before, but not sure if I would have known to migrate (limited webdev experience). tysm, ill go through them fully now
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
This seems like a potential problem with wasp/the template. Signing off for today. Thanks for your help @miho .
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
No description
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Everything works locally, im basically just copying yalls free saas example. Will keep investigating.
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
In server logs, I see this on page load: GET /auth/me 401 4.297 ms - 43 then this when i try to login:
POST /auth/email/login 500 138.080 ms - 148
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] PrismaClientKnownRequestError:
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] Invalid `prisma.authIdentity.findUnique()` invocation:
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] The table `public.AuthIdentity` does not exist in the current database.
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at Rn.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:174:7325)
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at Rn.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:174:6754)
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at Rn.request (/app/node_modules/@prisma/client/runtime/library.js:174:6344)
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at login (/app/.wasp/build/server/src/auth/providers/email/login.ts:23:30)
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at <anonymous> (/app/.wasp/out/sdk/wasp/server/utils.ts:26:5)
POST /auth/email/login 500 138.080 ms - 148
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] PrismaClientKnownRequestError:
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] Invalid `prisma.authIdentity.findUnique()` invocation:
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] The table `public.AuthIdentity` does not exist in the current database.
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at Rn.handleRequestError (/app/node_modules/@prisma/client/runtime/library.js:174:7325)
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at Rn.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/library.js:174:6754)
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at Rn.request (/app/node_modules/@prisma/client/runtime/library.js:174:6344)
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at login (/app/.wasp/build/server/src/auth/providers/email/login.ts:23:30)
2024-10-03T20:23:29.999 app[1781564ef036d8] mia [info] at <anonymous> (/app/.wasp/out/sdk/wasp/server/utils.ts:26:5)
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Failed to load resource: the server responded with a status of 401 () https://pub-adjust-server.fly.dev/auth/me Seeing this in web terminal
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
I may need to reset a bunch of keys, one sec
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Notably, while building I saw this in terminal:
> Launching new machine
No machines in group app, launching a new machine
> Machine 1781564ef036d8 [app] was created
✔ Machine 1781564ef036d8 [app] update finished: success

WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses:
- 0.0.0.0:8080
Found these processes inside the machine with open listening sockets:
> Launching new machine
No machines in group app, launching a new machine
> Machine 1781564ef036d8 [app] was created
✔ Machine 1781564ef036d8 [app] update finished: success

WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses:
- 0.0.0.0:8080
Found these processes inside the machine with open listening sockets:
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Interesting, so reran, and don't get that error anymore, but when I go to one of the pages (https://pub-adjust-client.fly.dev/audio-upload), I get this:
[Error] Origin https://pub-adjust-client.fly.dev is not allowed by Access-Control-Allow-Origin. Status code: 502
[Error] XMLHttpRequest cannot load https://pub-adjust-server.fly.dev/auth/me due to access control checks.
[Error] Failed to load resource: Origin https://pub-adjust-client.fly.dev is not allowed by Access-Control-Allow-Origin. Status code: 502 (me, line 0)
[Error] Origin https://pub-adjust-client.fly.dev is not allowed by Access-Control-Allow-Origin. Status code: 502
[Error] XMLHttpRequest cannot load https://pub-adjust-server.fly.dev/auth/me due to access control checks.
[Error] Failed to load resource: Origin https://pub-adjust-client.fly.dev is not allowed by Access-Control-Allow-Origin. Status code: 502 (me, line 0)
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
will do
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Ah that was you, ty again
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
ty!
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Im gonna try rerunning everything with a unique name
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
No description
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
I wonder if its related to leaving my app as default name my-wasp-app
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Client is maybe having issues, but looks fine
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
I also see XMLHttpRequest cannot load https://my-wasp-app-damp-snowflake-7739-server.fly.dev/auth/me due to access control checks. in my web terminal now
35 replies
WWasp-lang
Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
STRIPE_API_KEY not found, but that shouldnt kill build
35 replies