Questions tagged [serverpod]

14 questions
2
votes
1 answer

Flutter Serverpod returns 400 error on sample project

I'm newly learning Serverpod version 0.9.21 as my backend, first I changed the Client address from http://localhost:8080/ to http://10.0.2.2:8080/ so the SocketException error had gone on the emulator and now the sample app (say hello) works…
Alireza Akbari
  • 2,153
  • 2
  • 28
  • 53
1
vote
1 answer

How can I sync my Flutter Serverpod project on multiple Mac's remotely?

I have created a Flutter Serverpod project on MacBook Air M1. Then i uploaded it to GitHub, now my question is whenever I download the project from GitHub to my iMac(not the same host mac). I don't find my project's container in docker on that Mac…
1
vote
1 answer

What causes 'Null check operator used on a null value' error while using serverpod generate command in Dart on Windows 11?

Serverpod generate command throws "Null check operator used on a null value" error. While using serverpod generate on a brand-new project with only the following code added, I get the following error: In example_endpoint.dart, I added this in the…
Dirk Schut
  • 21
  • 7
1
vote
1 answer

how to handle and throw errors from serverpod

Future> getBusiness(Session session, {int? id}) async { return await Business.find( session, where: (t) => id != null ? t.id.equals(id) : Constant(true), ); } How to return the error model if any error happens,…
1
vote
1 answer

Flutter App not working after deploying Serverpod on Aws

I have serverpod project it working fine on local host , I can use Crud but after deploying on aws , server still working shows "ok" message but flutter app not working .
1
vote
2 answers

Serverpod as a localhost server on windows

I want to deploy Serverpod as a localhost server on windows without using docker. i don't want to use docker on client machine, and is serverpod stable on windows?
Salim Tabet
  • 11
  • 1
  • 1
0
votes
0 answers

unable to use https connection in flutter's serverpod

We have setup a client connection to the server using serverpod. we setup ssl on the server, and we're able to use https:// connections when making rest calls to the server, but for our websocket connection, we are unable to switch it over to…
MetaStack
  • 3,266
  • 4
  • 30
  • 67
0
votes
0 answers

How to implement custom authentication with jwt tokens using Serverpod?

As right now I am trying to implement it but I am getting null from header for auth token. So what is the right way to implement custom authentication with jwt tokens using Serverpod. I tried generating jwt but at serverside when I try to get the…
0
votes
1 answer

Unable to Generate toJson Method Using Serverpod

I'm having trouble using the serialization process for serverpod. Here's the repo if you'd like to take a look: https://github.com/fhir-fli/fhirpod. All of my classes are freezed, and I've adjusted all of the fromJson to include the…
Grey
  • 331
  • 3
  • 11
0
votes
3 answers

Serverpod sql error when starting a clean project

I have created a new serverpod project and launched the docker containers for the database and redis. But when I launch the server it self I get the following error: Failed to connect to the database. Retrying in 10 seconds. PostgreSQLSeverity.error…
Isak dl
  • 448
  • 3
  • 13
0
votes
1 answer

Serverpod unable to authenticate with postgres

I have a completely new clean project created with the cli, I.E. serverpod create project_name. But when I run the startup commands for the server, it fails to connect to the database. I run $ docker compose up --build --detach $ dart…
Isak dl
  • 448
  • 3
  • 13
0
votes
1 answer

Serverpod: is it possible to upload files right on my server

Is it possible to upload files directly on my server, not on a third-party cloud storage like AWS or Google Cloud, or to send it to the server for further processing (resizing, cropping, reformatting etc.) without storing?
0
votes
4 answers

Why is my serverpod server not running as it should

Working with win11 pro education. After running my dockor container, docker-compose up --build --detach. I tried and had the below Kojo Mensah@DESKTOP-RJUJLBG MINGW64 /c/src/flutter projects/serverpod/e_commerce/e_commerce_server $ dart…
0
votes
2 answers

Error while starting the server by using serverpod

enter image description hereInternal server error. Failed to connect to database in future call manager. PostgreSQLSeverity.error 42P01: relation "serverpod_future_call" does not exist I want to start the server at localhost port 8080 but it shows…