Giter VIP home page Giter VIP logo

shoppinglist's People

Contributors

aluedtke7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

windhooked

shoppinglist's Issues

Not really a bug, but more a question

Hi,
I'm a flutter/dart newbie and last week I found out about your shoppinglist app on flutterawesome.com. I thought it was a fun and useful project so that on Monday I embarked into trying to understand your code and the architecture you've chosen.
I unzipped the file, installed it, and started to check it with AndroidStudio as an IDE connected to my mobile phone. I have installed pocketbase, which I have also been discovering... then for the past day and half I've been stuck at the login page and I was wondering if you would have any idea of what I did wrong.

From pocketbase, I've created a couple of users and collection named shoppinglist which I fed with a few articles. Navigating with pocketbase, these are associated with the following url :
http://127.0.0.1:8090/_/#/collections?collectionId=_pb_users_auth_&filter=&sort=-created
and
http://127.0.0.1:8090/_/#/collections?collectionId=3mv593ieqawcouz&filter=&sort=-created.

However, when, from the IDE, I run the app on my phone I cannot pass the login page. The error I get is
ClientException: {url: http://localhost:8090/api/collections/users/auth-with-password, isAbort: true, statusCode: 0, response: {}, originalError: ClientException with SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 41496, uri=http://localhost:8090/api/collections/users/auth-with-password}

The port number varies, but the rest of the error message is unchanged. I have not found error number list on Pocketbase so that I cannot fully identify errno = 111, while "Connection refused" is rather broad. The app login requests do reach pocket_base_prov.dart/login method but
final authData = await _pb.collection('users').authWithPassword(email, password);
does not seem to fill the variable, if I trust a set of debugPrint(); positioned before and after the corresponding line.

I guess I did not set the communication between pocketbase and the app properly. At the same time installing pocketbase is rather straightforward as there is no external host, so that I'm a bit stuck, so that I've thought about reaching to you in case you would have any suggestion.

Many Thanks & Best Wishes
PAscal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.