SRvSaha / CoWinVaccineSlotFinder

Cross-Platform Software to Fetch the Available Slots & Book the Appointment for COVID-19 Vaccination
https://shawt.io/r/sYv
MIT License
81 stars 32 forks source link

Not Working ! PS. I do not know any coding/programming, just followed your instructions .... #24

Closed Roozb closed 3 years ago

Roozb commented 3 years ago

C__Users_Roozbeh_Desktop_CoWinReleases_CoWin Core exe 15-05-2021 1_06_58

SRvSaha commented 3 years ago

Hi @Roozb, on checking your scenario, observed that you have some issue with the following line of the config file: "IsSearchToBeDoneByPINCode": true

Seems like you have pressed ENTER key in the input. Can you please share your config file after removing the confidential information like beneficiary id and mobile number to help us resolve your issue quicker?

Meanwhile you can try again with the suggestion above and inform if it work. Hope you are using the latest version: v3.0.0

Tnu02 commented 3 years ago

App crashed as soon as the slot got available

Roozb commented 3 years ago

I have *** the last few digits to prevent privacy

Hi @Roozb, on checking your scenario, observed that you have some issue with the following line of the config file: "IsSearchToBeDoneByPINCode": true

Seems like you have pressed ENTER key in the input. Can you please share your config file after removing the confidential information like beneficiary id and mobile number to help us resolve your issue quicker?

Meanwhile you can try again with the suggestion above and inform if it work. Hope you are using the latest version: v3.0.0

appsettings - Notepad 15-05-2021 18_56_28

SRvSaha commented 3 years ago

App crashed as soon as the slot got available

Hi @Tnu02, sorry that happened, Can you share the config so that I can check from my side. Is slot available now as well? Also, can you tell me what exactly happened like : Did your Captcha Pop Up? Did you get NOTIFIER BEEP BEEP before entering Captcha? Also, what is the version of the App you are using?

SRvSaha commented 3 years ago

I have *** the last few digits to prevent privacy

Hi @Roozb, on checking your scenario, observed that you have some issue with the following line of the config file: "IsSearchToBeDoneByPINCode": true Seems like you have pressed ENTER key in the input. Can you please share your config file after removing the confidential information like beneficiary id and mobile number to help us resolve your issue quicker? Meanwhile you can try again with the suggestion above and inform if it work. Hope you are using the latest version: v3.0.0

appsettings - Notepad 15-05-2021 18_56_28

Hi @Roobz, see you have a missing quote in the highlighted area: image

Please Replace "Thane-2nd: with "Thane-2nd": and it should fix your issue. Let me know if that fixes your issue.

In Case, I could help you, feel free to Star the repo and share it with your buddies! Also share your feedback by comment/share/like in the associated LinkedIn Post (https://www.linkedin.com/feed/update/urn:li:activity:6796093424492720128/) That'll be used as References/Testimonials in the Application and will increase the credibility of the App.

Tnu02 commented 3 years ago

App crashed as soon as the slot got available

Hi @Tnu02, sorry that happened, Can you share the config so that I can check from my side. Is slot available now as well? Also, can you tell me what exactly happened like : Did your Captcha Pop Up? Did you get NOTIFIER BEEP BEEP before entering Captcha? Also, what is the version of the App you are using?

I was not sure but as soon as the slots are avialble there was some message on the app and it got crashed without even asked for captcha also no beep and no captcha pop up.. please tell me a way to share my config file.

I was using 3.0 version

SRvSaha commented 3 years ago

@Tnu02 Please share here as attachment after removing the mobile number and beneficiary details. I will try from my side. Just some more info: Could you get the BEEP BEEP OTP Notification when OTP was sent to your Registered Mobile Number? Also, when the App crashed, did you retry after that? Can you retry again and see if it still crashes. Also. please provide your system windows version

Tnu02 commented 3 years ago

@Tnu02 Please share here as attachment after removing the mobile number and beneficiary details. I will try from my side. Just some more info: Could you get the BEEP BEEP OTP Notification when OTP was sent to your Registered Mobile Number? Also, when the App crashed, did you retry after that? Can you retry again and see if it still crashes. Also. please provide your system windows version

Yes, i got the beep sound for the otp and after entering it starts checking for slots. I tried 2 time with the app but both the time it got crashed so i tried manually but no luck today. I am using windows 10 Pro

Config

SRvSaha commented 3 years ago

@Tnu02 Please share here as attachment after removing the mobile number and beneficiary details. I will try from my side. Just some more info: Could you get the BEEP BEEP OTP Notification when OTP was sent to your Registered Mobile Number? Also, when the App crashed, did you retry after that? Can you retry again and see if it still crashes. Also. please provide your system windows version

Also, if you can provide the system error diagnostic information from your machine, it would be best to help resolve the issue.

How to do that?

Go to Event Viewer image

And then Under Windows Logs, go to Application.

image

After that on the right side, there is a filter current log, filter the Event Sources for .NET Runtime image

Once that is done, you will see the error logs. Share the details like this from there, which will have all the information regarding the crash if that has happened due to some bug in the code or some unexpected behaviour.

image

Please share these details ASAP @Tnu02

SRvSaha commented 3 years ago

@Tnu02 Please share here as attachment after removing the mobile number and beneficiary details. I will try from my side. Just some more info: Could you get the BEEP BEEP OTP Notification when OTP was sent to your Registered Mobile Number? Also, when the App crashed, did you retry after that? Can you retry again and see if it still crashes. Also. please provide your system windows version

Yes, i got the beep sound for the otp and after entering it starts checking for slots. I tried 2 time with the app but both the time it got crashed so i tried manually but no luck today. I am using windows 10 Pro

Config

@Tnu02

Sorry to hear that.

On first observation, I could see that Vaccination Centre Name is not correct.

"VaccinationCentreName": <USE_EITHER_PROPER_VACCINATION_CENTRE_NAME_OR_LEAVE_IT_BLANK>

Check #21, VaccinationCentreName should be the like the name highlighted in Yellow in the issue description.

Tnu02 commented 3 years ago

@Tnu02 Please share here as attachment after removing the mobile number and beneficiary details. I will try from my side. Just some more info: Could you get the BEEP BEEP OTP Notification when OTP was sent to your Registered Mobile Number? Also, when the App crashed, did you retry after that? Can you retry again and see if it still crashes. Also. please provide your system windows version

Also, if you can provide the system error diagnostic information from your machine, it would be best to help resolve the issue.

How to do that?

Go to Event Viewer image

And then Under Windows Logs, go to Application.

image

After that on the right side, there is a filter current log, filter the Event Sources for .NET Runtime image

Once that is done, you will see the error logs. Share the details like this from there, which will have all the information regarding the crash if that has happened due to some bug in the code or some unexpected behaviour.

image

Please share these details ASAP @Tnu02

Sharing error Error1 Error2 Error3 Error4 Error5

Tnu02 commented 3 years ago

@Tnu02 Please share here as attachment after removing the mobile number and beneficiary details. I will try from my side. Just some more info: Could you get the BEEP BEEP OTP Notification when OTP was sent to your Registered Mobile Number? Also, when the App crashed, did you retry after that? Can you retry again and see if it still crashes. Also. please provide your system windows version

Yes, i got the beep sound for the otp and after entering it starts checking for slots. I tried 2 time with the app but both the time it got crashed so i tried manually but no luck today. I am using windows 10 Pro Config

@Tnu02

Sorry to hear that.

On first observation, I could see that Vaccination Centre Name is not correct.

"VaccinationCentreName": <USE_EITHER_PROPER_VACCINATION_CENTRE_NAME_OR_LEAVE_IT_BLANK>

Check #21, VaccinationCentreName should be the like the name highlighted in Yellow in the issue description.

Corrected that thank you...

Also thank you to look into the issue so actively

SRvSaha commented 3 years ago

@Tnu02 As per the error screenshots, I could see that you had set duplicate values inside of PINCodes where Udaipur was duplicate and hence the application crashed. However the current config you have shared has proper names.

{
"PINCodes":
{
"Udaipur": XXXXXX,
"Udaipur": YYYYYY
}
}

I'd suggest you keep some arbitrary names, and search again by setting "MinimumVaccineAvailability": 0, so that you can check if you application works or not.

Event though booking will not happen, but you can see if you are getting the slots and then proceeding for captcha. You'll get Already Booked error. If you still get some error, share it here.

SRvSaha commented 3 years ago

@Tnu02 As per the error screenshots, I could see that you had set duplicate values inside of PINCodes where Udaipur was duplicate and hence the application crashed. However the current config you have shared has proper names.

{
"PINCodes":
{
"Udaipur": XXXXXX,
"Udaipur": YYYYYY
}
}

I'd suggest you keep some arbitrary names, and search again by setting "MinimumVaccineAvailability": 0, so that you can check if you application works or not.

Event though booking will not happen, but you can see if you are getting the slots and then proceeding for captcha. You'll get Already Booked error. If you still get some error, share it here.

@Tnu02 You should be getting something like this, it is working fine with me: ApplicationBookingFailed

Tnu02 commented 3 years ago

@Tnu02 As per the error screenshots, I could see that you had set duplicate values inside of PINCodes where Udaipur was duplicate and hence the application crashed. However the current config you have shared has proper names.

{
"PINCodes":
{
"Udaipur": XXXXXX,
"Udaipur": YYYYYY
}
}

I'd suggest you keep some arbitrary names, and search again by setting "MinimumVaccineAvailability": 0, so that you can check if you application works or not. Event though booking will not happen, but you can see if you are getting the slots and then proceeding for captcha. You'll get Already Booked error. If you still get some error, share it here.

@Tnu02 You should be getting something like this, it is working fine with me

Checking.. Thank you so much for your quick responses :) :)

Tnu02 commented 3 years ago

@SRvSaha Checked... working fine now.. Will again try tomorrow for booking. Thank u so much...

SRvSaha commented 3 years ago

@Tnu02 Awesome. In Case, I could help you, feel free to Star the repo and share it with your buddies! Also share your feedback by comment/share/like in the associated LinkedIn Post (https://www.linkedin.com/feed/update/urn:li:activity:6796093424492720128/) That'll be used as References/Testimonials in the Application and will increase the credibility of the App. Closing the Issue.

Tnu02 commented 3 years ago

Hey @SRvSaha sorry to disturb you again but have I doubt regarding pin code and district.. Do i need to put a , if I have single district and pin code like "district" : xxxxxx, or just xxxxx and same for district!!

SRvSaha commented 3 years ago

You don’t need a comma. For multiple districts/pins you need comma separator.

Also, there are some changes made by CoWin, I am made the fix. Shall deploy a new version ASAP. Use the latest one @Tnu02

Tnu02 commented 3 years ago

You don’t need a comma. For multiple districts/pins you need comma separator.

Also, there are some changes made by CoWin, I am made the fix. Shall deploy a new version ASAP. Use the latest one @Tnu02

Oh thanks 😊

SRvSaha commented 3 years ago

@Tnu02 Please NOTE, If you want to search only by PIN which is by default, keep “IsSearchToBeDoneByPINCode” : true, similarly if you want to search only for District then “IsSearchToBeDoneByDistrict” : true. In case you want to do both, where preference is on PIN code, keep both as true.

Tnu02 commented 3 years ago

@Tnu02 Please NOTE, If you want to search only by PIN which is by default, keep “IsSearchToBeDoneByPINCode” : true, similarly if you want to search only for District then “IsSearchToBeDoneByDistrict” : true. In case you want to do both, where preference is on PIN code, keep both as true.

Gotcha Thanks :) And I can write like "PINCodes": { "Udaipur-1st": XXXXX} or just "Udaipur": XXXXXX..

Also can i add multiple "DateToSearch", if Yes !! then how... :) Also do let us know once u are done with the deployment. 👍

SRvSaha commented 3 years ago

It's well mentioned in the ReadMe. You can't add multiple DateToSearch, by Default it searches for DateGiven + upto 7 days Please check that. @Tnu02

Tnu02 commented 3 years ago

It's well mentioned in the ReadMe. You can't add multiple DateToSearch, by Default it searches for DateGiven + upto 7 days Please check that. @Tnu02

Thanks... Can I use 3.0 version for my booking as slots are going to open at 5 PM

SRvSaha commented 3 years ago

You can use. But you might see that Slots are available yet Booking is not getting done. This is due to changes in the Internal API of COWIN. @Tnu02

Roozb commented 3 years ago

SRvSaha I have made the changes as suggested by you & it is working fine, now with the new updates from the cowin official site will your application work now ? also when you provide the new updated file from your side will we have to make changes in the appsettings file from our side too ?

SRvSaha commented 3 years ago

Hi @Roozb, application will work with some T&C's as mentioned in #27. New Version v4.0.0 will be deployed tonight, WIP If there are some changes in appsettings.config, just use diffchecker.com to check the differences and then make the changes(if any) in the new config. If there are no changes, then you can use to old one.

Recommended is always to use the new one with changes done as per previous config

Roozb commented 3 years ago

Wow , thanks a lot for the speedy reply. Awaiting for the latest version ..

SRvSaha commented 3 years ago

@Roozb @Tnu02 @iSatishYadav @priyanka1111 Version 4.0.0 is out now. Thanks for your patience. Check it out: https://github.com/SRvSaha/CoWinVaccineSlotFinder/releases/latest

Roozb commented 3 years ago

HI SRvSAha , tried the latest version works perfectly . Just wanted to clarify that the app suggested that both "IsSearchToBeDoneByPINCode" and "IsSearchToBeDoneByDistrict" remain "true" , is that allright ?? Hence I have made them both true. Thanks for the latest updates.

SRvSaha commented 3 years ago

@Roozb Hi, thanks for the feedback, could you book slot?

The App suggested that because you changed values of district but forgot to change IsSearchToBeDoneByDistrict. If you don’t want to search by district and only by PIN, no chnage is require in IsSearchToBeDoneByDistrict and district. Let it be as it is. It is alright to keep both as true, at that tike preferred will be slot by PIN and then by District, not an issue.

Since others nave reported issues as it isn’t working properly, please share it it worked for you.