Skip to content
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

Unauthenticated access error + steps to compile local code #21

Open
mrinmoymsarkar opened this issue May 9, 2021 · 5 comments
Open

Comments

@mrinmoymsarkar
Copy link

mrinmoymsarkar commented May 9, 2021

Screenshot 2021-05-10 at 2 26 00 AM

They sometimes add public to the URL it seems:
eg https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/calendarByDistrict?district_id=393&date=10-05-2021

Have changed the URL but I guess I don't know know how to create a new sh file from the code itself.

Can you add the steps to update compile existing code if any local changes are made in the readme file? It would be great

@PrasadG193
Copy link
Owner

@mrinmoymsarkar could you please try increasing the interval? We switched from public endpoints to these endpoints because we observed a mismatch between availability values we received before and after login. This endpoint gets called after login but doesn't require any authentication

@mrinmoymsarkar
Copy link
Author

@mrinmoymsarkar could you please try increasing the interval? We switched from public endpoints to these endpoints because we observed a mismatch between availability values we received before and after login. This endpoint gets called after login but doesn't require any authentication

In my town, the center gets full in less then a minute. So had decreased the interval to 5sec.

Can you add or mention the steps to update compile existing code if any local changes are made , in the readme file? It would be great!

@mrinmoymsarkar mrinmoymsarkar changed the title Unauthenticated access error Unauthenticated access error + steps to compile local code May 10, 2021
@PrasadG193
Copy link
Owner

Sure! It can be compiled with go build ., I will add the step in README

@mrinmoymsarkar
Copy link
Author

Thanks! This is a great notifier. I have tried multiple found this the best. Thanks for this.

@GOODBOIXD
Copy link

I am using the default interval of 60, though the use of docker, but I am still getting the unauthenticated access error? How do I decrease or increase the time interval if I use docker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants