Comments (2)
Hi!
Please enable application logs on Azure Portal for this website. Select the AppService, go to "Monitoring" -> Diagnostics logs & Enable Application Logging (filesystem) and Level "verbose".
Then restart the AppService
Now you can go to MONITORING -> Log Stream and you'll see the log of the AppService.
Connect using mobile app or postman and hopefully you'll see the error in the Log Stream.
Thx!
from bikesharing360_mobileapps.
Thank you for the tip! That tip helped me track down what else I needed to configure to get the My Rides section of the app to show data.
Here is the screenshot of my working app in the simulator:
So what was the error? I found out that the "restify" package was not installed during the deployment. I googled around and found out that I needed to run "npm install" manually to install the packages. I may not have had Visual Studio configured correctly with NodeJS and NPM to install the packages in the Rides project before deployment. So I had to do it manually.
Here are the extra manual steps in case anyone else runs into the same problem.
- Open the BikeSharing.Services.Deploy.sln.
- Go to BikeSharing.Services.Rides project.
- Open the package.json.
- Edit the version so it looks like the following: "version": "1.0.0". Otherwise, the NPM command will not run properly.
- Open the same project in Windows Explorer.
- Open a command-line prompt.
- Run "npm install".
- Return to the project in Visual Studio. You should see the npm folder in the Rides project populated with the installed packages. Right click on the Rides project and republish it.
- Go to the Rides App Service in Azure.
- Go to Monitoring -> Diagnostic Logs -> Enable Application Logging -> Level: Verbose.
- Restart the App Service.
- Start PostMan or start the app.
- You should see data in the My Rides section.
- Go to Log Stream. You should see the SQL queries that get run.
I hope this helps. Maybe the administrators of this project should create a troubleshooting section and add such steps in the ReadMe file.
Thank you
from bikesharing360_mobileapps.
Related Issues (19)
- Working demo HOT 2
- Error when I tap Sign up
- UWP app working fine, Android crashes on start HOT 2
- Missing tests for being a "demo" or "reference" implementation
- Can't find UWP menu as shown in the screenshots.
- Writeups for Animation Library HOT 2
- Can BikeSharing360_MobileApps be opened by Visual Studio 2017 Community?
- HockeyApp is required; hangs on signup process. HOT 3
- Fake data creation
- Updated version available? HOT 1
- This repo is missing important files HOT 1
- This repo is missing a LICENSE file
- MSFT-provided testing backend? HOT 3
- Option to Sign in as a Guest User HOT 4
- Will these libraries increase the app size? HOT 11
- Documentation
- Events pulling instead of push notifications HOT 1
- Does not run HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bikesharing360_mobileapps.