Giter VIP home page Giter VIP logo

receipt-manager-webapp's Introduction

Receipt Manager Webapp

Gitter Docker Pulls

You can find pre-compiled releases on the Github release page. All the needed info about how to use the receipt-manager-webapp is present at your wiki.

  • ⭐ We appreciate your star, it helps!


receipt-manager-webapp's People

Contributors

caco3 avatar dependabot-preview[bot] avatar dependabot[bot] avatar dielee avatar monolidth avatar mre avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

receipt-manager-webapp's Issues

Documentation: Webapp Container Instructions don't run by default

Noticed the documentation for the docker version of the web app was missing some clarity on paths and such. I'm far from as well versed in Docker as I'd hope, so this isn't something I can figure out quite yet, but I wanted to go ahead and create the issue - if I figure out how to run it down the road in Docker, I'll definitely update.

Snippet from https://receipt-manager-webapp.readthedocs.io/en/latest/installation.html that's running into issues below:

""""

Finally, you can start the receipt-parser-webapp.

docker run -d –network host –name “receipt-manager-webapp” -v /your/path/onDockerHost/ssl:/app/webroot/ssl -v /your/path/onDockerHost/config:/app/config -e backendIP=”backendIP” -e backendPort=”5558” -e useSSL=”false” dielee/receipt-manager-webapp:latest

"""

Even updating the paths, I'm getting

docker: invalid reference format.
See 'docker run --help'.

('HY000', '[HY000] [Microsoft][ODBC Driver 17 for SQL Server]Protocol error in TDS stream (0) (SQLDriverConnect)')

Hello,
i have installed the receipt-manager-webapp using the instruction in the wiki and this is my config file:

backendHostname: ricevute.local
backendIP: 0.0.0.0
backendLanguage: en
backendPort: 5558
dbMode: mssql
encrypted: true
parserIP: 0.0.0.0
parserPort: 8721
parserToken: REDACTED
sqlDatabase: receiptData
sqlPassword: REDACTED
sqlServerIP: 0.0.0.0,3306
sqlUsername: receiptParser
useSSL: false

But seems that cannot connect to the DB, below the error message:

Using mssql DB
('HY000', '[HY000] [Microsoft][ODBC Driver 17 for SQL Server]Protocol error in TDS stream (0) (SQLDriverConnect)')

This is the log of the receiptDB container:

2023-12-04 17:56:35+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Serve                                                                                                             r 8.2.0-1.el8 started.
2023-12-04 17:56:36+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysq                                                                                                             l'
2023-12-04 17:56:36+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Serve                                                                                                             r 8.2.0-1.el8 started.
'/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2023-12-04T17:56:36.802928Z 0 [System] [MY-015015] [Server] MySQL Server - start                                                                                                             .
2023-12-04T17:56:37.418474Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-                                                                                                             host-cache' is deprecated and will be removed in a future release. Please use SE                                                                                                             T GLOBAL host_cache_size=0 instead.
2023-12-04T17:56:37.423562Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (my                                                                                                             sqld 8.2.0) starting as process 1
2023-12-04T17:56:37.444912Z 1 [System] [MY-013576] [InnoDB] InnoDB initializatio                                                                                                             n has started.
2023-12-04T17:56:38.121901Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-12-04T17:56:39.070294Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-12-04T17:56:39.070525Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-12-04T17:56:39.082784Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2023-12-04T17:56:39.299682Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.2.0'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
2023-12-04T17:56:39.300672Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock

Best Regards
Stefano

Constant error "backend token is not valid"

Backend token not set, invalid or expired. Check settings or try to clear browser cache!

How to fix? The default config does not have an empty value for backendToken, and adding one doesn't seem to do anything. Is this for the parser server? or for the backend of the webapp?

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.