AFFT-520 / NIEBot

A tool to help Barcelonian people get various immigration-related appointments via the Cita previa process
GNU General Public License v3.0
54 stars 21 forks source link

Problem when Running the Bot #16

Open Luna-sol opened 1 year ago

Luna-sol commented 1 year ago

Hi AFFT-520,

When the bot is running, I can see it opens the government's Cita Previa page, it chooses Barcelona, but it does not choose the Tramite I set up in the initial form. Then the bot immediately relaunch the initial Cita Previa page, chooses Barcelona, and then relaunch... It never goes to the page where to input personal information such as NIE, name, nationality etc.

I also have noticed that the initial form does not have a textbox to input nationality, which is required for tramites such as toma de huella, TIE issurance, etc. So, I guess that even if the bot goes to the page that request personal information, it would still not run properly.

Could you please help on this?

Thank you very much!

dequire commented 1 year ago

Hi. I just wanted to post the same issue. I'm attaching screenshot of the error page and video of the behavior

image

https://user-images.githubusercontent.com/24354336/194705612-aee334b2-0e6a-4283-b733-858626f7530d.mov

dequire commented 1 year ago

And since I posted recording from mac - I also tested this on Win 10. Exactly same issue.

AFFT-520 commented 1 year ago

Hi! Can you give me the details of what type of appointment you were trying to book?

dequire commented 1 year ago

Hi. I tried "EU Residency Certificate (CUE)". Is that the option we should choose if we are looking for appointment to get NIE?

BitJuggler90 commented 1 year ago

Maybe a topic of the link link of reachable website - https://icp.administracionelectronica.gob.es/icpplustieb/citar?p=8&locale=es link the bot uses - https://sede.administracionespublicas.gob.es/icpplustieb/citar?p=8&locale=es

dequire commented 1 year ago

I replaced the link in the code and now the page appears, bot selects Barcelona from dropdown and proceeds to the next page, failing with such error

image
Luna-sol commented 1 year ago

I replaced the link in the code and now the page appears, bot selects Barcelona from dropdown and proceeds to the next page, failing with such error image

Looks like the Spanish government is prohibiting the use of bots to search for citas previas. Even the Selenium add-on web browsers is not allowed. Sad. :(

dequire commented 1 year ago

AFAIK they can only do that by headers or by monitoring client activity. This appeared the first time I tried it, so for sure my activity was not suspicious. And as for headers - we can just provide whatever we want in the bot. That would require modification of bot though :-(

BitJuggler90 commented 1 year ago

Okay, then it is the same issues. Another bot NIE project here on GitHub has the same problem. I would not say it's bad. Maybe it's the right step to make the process fair again and no one has to pay a high price for a layer or agency.

Back to the manual approach 🙈

dequire commented 1 year ago

@BitJuggler90 , full agree. Actually because of that I tried today to find an appointment "manually" and I managed to do this just in 3 attempts.

RSPKM commented 1 year ago

Hi, I had the same issue. Does this mean the bot is no longer working? I’m 2 months trying to get an appointment.. it’s sending me mad I’m also finding chrome doesn’t work even manually

BitJuggler90 commented 1 year ago

I also tried a simple python program that just clicks fixed x-y-coordinates on the screen to click through the process. But just after a day of working it got also blocked. Also, the auto-completion suggestions in my Chrome browser for the fields "NIE" and "name" are now gone. Seems that they're working currently on the page.

A reason for the recent changes could be due to the new reforms they tried to introduce: https://www.inclusion.gob.es/web/guest/w/el-gobierno-aprueba-una-reforma-del-reglamento-de-extranjeria-para-mejorar-el-modelo-migratorio-y-favorecer-la-incorporacion-al-mercado-laboral-de-las-personas-migrantes

I also tried it now almost for a month. I didn't expect to be so difficult to even get an appointment. And the next question is when will it be? Next year? So have to continue to working in co-working spaces, because I can't get an internet provider contract without a bank account, which I don't get without a NIE. Despite, I cannot sign a contract for the local energy supplier. That system is so broken :D

RSPKM commented 1 year ago

@BitJuggler90 My best advice is to book at Lleida, it’s 1hr20 from Sants station on train and you can get NIE appointments next day. I’ve checked all places and this is the best option. Bcn appointments will be 2023 onwards so can’t wait for that. Good luck

BitJuggler90 commented 1 year ago

@RSPKM I did that too and canceled the appointment when I saw that one is not allowed to book appointments outside the province in which you are living in. I did not want to take the risk after that ride to be rejected.

RSPKM commented 1 year ago

@BitJuggler90 i did not see this.. shit

BitJuggler90 commented 1 year ago

Lugar de presentación: Desde España: Comisaría de Policía de la provincia donde tenga fijado su domicilio.

I know, I was also too happy to see after so many tries just a sign of light and didn't see this information. That whole process is really hard to figure out.

RSPKM commented 1 year ago

Might still risk it, use a local address

Sent from my iPhone

On Oct 27, 2022, at 1:37 PM, BitJuggler @.***> wrote:



Lugar de presentación: Desde España: Comisaría de Policía de la provincia donde tenga fijado su domicilio.

I know, I was also too happy to see after so many tries just a sign of light and didn't see this information. That whole process is really hard to figure out.

— Reply to this email directly, view it on GitHubhttps://github.com/AFFT-520/NIEBot/issues/16#issuecomment-1293396329, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APWY7XHQAV7573PD7SZ2UWLWFJSPJANCNFSM6AAAAAAQ7IC454. You are receiving this because you were mentioned.Message ID: @.***>

RSPKM commented 1 year ago

Paid for an appointment and got NIE If you want details just msg me IG @rspkm

Sent from my iPhone

On Oct 27, 2022, at 1:37 PM, BitJuggler @.***> wrote:



Lugar de presentación: Desde España: Comisaría de Policía de la provincia donde tenga fijado su domicilio.

I know, I was also too happy to see after so many tries just a sign of light and didn't see this information. That whole process is really hard to figure out.

— Reply to this email directly, view it on GitHubhttps://github.com/AFFT-520/NIEBot/issues/16#issuecomment-1293396329, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APWY7XHQAV7573PD7SZ2UWLWFJSPJANCNFSM6AAAAAAQ7IC454. You are receiving this because you were mentioned.Message ID: @.***>

emanodame commented 1 year ago

Looks like Spanish Gov has updated their cita previa websites with F5 BIG-IP ASM Firewall. Will be good to get your input on this @AFFT-520

Urbina09112022 commented 1 year ago

Maybe a topic of the link link of reachable website - https://icp.administracionelectronica.gob.es/icpplustieb/citar?p=8&locale=es link the bot uses - https://sede.administracionespublicas.gob.es/icpplustieb/citar?p=8&locale=es

Can you help me activate the bot please urbinaso29@gmail.com

Urbina09112022 commented 1 year ago

desplegable

Can you help me activate the bot please urbinaso29@gmail.com

Urbina09112022 commented 1 year ago

AFAIK, solo pueden hacerlo mediante encabezados o monitoreando la actividad del cliente. Esto apareció la primera vez que lo probé, así que seguro que mi actividad no era sospechosa. Y en cuanto a los encabezados, podemos proporcionar lo que queramos en el bot. Sin embargo, eso requeriría la modificación del bot :-(

Can you help me activate the bot please urbinaso29@gmail.com

mlliarm commented 1 year ago

I replaced the link in the code and now the page appears, bot selects Barcelona from dropdown and proceeds to the next page, failing with such error image

Looks like the Spanish government is prohibiting the use of bots to search for citas previas. Even the Selenium add-on web browsers is not allowed. Sad. :(

Hello,

This is sadly the error we're getting as well with a python solution since October '22. Sadly, none in the community has managed to resolve this yet.

Seems the government does its best to make our life harder, and the private companies that buy citas more prosperous.