-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Get Rides for User #13
Comments
Hi! Now you can go to MONITORING -> Log Stream and you'll see the log of the AppService. Thx! |
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.
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 |
Hello,
I hope someone can give me a clue about why the Rides service is not returning any data.
Here is what I have already done successfully:
Here is what I am seeing.
Id LastLogin UserName Password TenantId
1 0001-01-01 00:00:00.0000000 scottgu NULL 1
SELECT TOP (1000) [Id] ,[Duration] ,[Start] ,[Stop] ,[StartStationId] ,[EndStationId] ,[BikeId] ,[UserId] ,[EventType] ,[EventId] ,[GeoDistance] ,[EventName] FROM [dbo].[rides] where UserId = 1
My URI string is the following:
http://bikesharing-services-XXXX.azurewebsites.net:80/api/rides/user/1
(Ignore the XXXX because I am not showing the entire URL on here.)
I either connect to the above URL either with Swagger, PostMan, or in the code. I found Swagger is not available for this project since it was written in Node. But PostMan and my code give the same response.
I get the following error:
"The page cannot be displayed because an internal server error has occurred."
I verified I get the same error from 2 different machines.
What am I missing? I followed all the steps in the ReadMe.MD file for the BikeSharing360_BackendServices project.
Do I need to configure or enable something in Azure?
Thank you
The text was updated successfully, but these errors were encountered: