Open mkitchingh opened 4 years ago
I have logging in 2 different programs. Not sure if this one is any cleaner.
Feb 13 16:40:01 mkcheckin app/worker.1: pid=4 tid=gstg7dnmk class=CheckinJob jid=e23c55eb87a3586eda78c0b9 INFO: start Feb 13 16:40:01 mkcheckin app/worker.1: pid=4 tid=gstg7dqfo class=CheckinJob jid=57438d5defa3715797ea9ce4 INFO: start Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:00.832299 #4] DEBUG -- : Flight Load (1.6ms) SELECT "flights".* FROM "flights" WHERE "flights"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]] Feb 13 16:40:01 mkcheckin app/worker.1: I, [2020-02-13T22:40:00.833274 #4] INFO -- : Performing CheckinJob (Job ID: 498c7cf1-e44a-4dbf-a4cb-9c0e8c314e3c) from Sidekiq(checkin) enqueued at with arguments: #<GlobalID:0x00007faa68ac6f60 @uri=#<URI::GID gid://southwest-checkin/Flight/64>> Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:00.834962 #4] DEBUG -- : Flight Load (1.5ms) SELECT "flights".* FROM "flights" WHERE "flights"."id" = $1 LIMIT $2 [["id", 62], ["LIMIT", 1]] Feb 13 16:40:01 mkcheckin app/worker.1: I, [2020-02-13T22:40:00.835505 #4] INFO -- : Performing CheckinJob (Job ID: a4aff858-894c-4f4c-acc6-8fd4804d8f13) from Sidekiq(checkin) enqueued at with arguments: #<GlobalID:0x00007faa68ad8b98 @uri=#<URI::GID gid://southwest-checkin/Flight/62>> Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:00.837668 #4] DEBUG -- : Reservation Load (1.4ms) SELECT "reservations".* FROM "reservations" WHERE "reservations"."id" = $1 LIMIT $2 [["id", 33], ["LIMIT", 1]] Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:00.838678 #4] DEBUG -- : Reservation Load (1.5ms) SELECT "reservations".* FROM "reservations" WHERE "reservations"."id" = $1 LIMIT $2 [["id", 32], ["LIMIT", 1]] Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:00.841099 #4] DEBUG -- : Passenger Load (1.4ms) SELECT "passengers".* FROM "passengers" WHERE "passengers"."reservation_id" = $1 [["reservation_id", 33]] Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:00.842399 #4] DEBUG -- : ETHON: Libcurl initialized Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:00.844790 #4] DEBUG -- : Passenger Load (4.3ms) SELECT "passengers".* FROM "passengers" WHERE "passengers"."reservation_id" = $1 [["reservation_id", 32]] Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:01.297347 #4] DEBUG -- : ETHON: performed EASY effective_url=https://mobile.southwest.com/api/extensions/v1/mobile/reservations/record-locator/*****/boarding-passes response_code=503 return_code=ok total_time=0.450938 Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:01.310209 #4] DEBUG -- : Checkin Load (1.8ms) SELECT "checkins".* FROM "checkins" WHERE "checkins"."flight_id" = $1 LIMIT $2 [["flight_id", 64], ["LIMIT", 1]] Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:01.353880 #4] DEBUG -- : (2.5ms) BEGIN Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:01.357106 #4] DEBUG -- : ETHON: performed EASY effective_url=https://mobile.southwest.com/api/extensions/v1/mobile/reservations/record-locator/****/boarding-passes response_code=500 return_code=ok total_time=0.505351 Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:01.363791 #4] DEBUG -- : Flight Load (9.3ms) SELECT "flights".* FROM "flights" WHERE "flights"."id" = $1 LIMIT $2 [["id", 64], ["LIMIT", 1]] Feb 13 16:40:01 mkcheckin app/worker.1: D, [2020-02-13T22:40:01.368650 #4] DEBUG -- : (2.9ms) ROLLBACK Feb 13 16:40:01 mkcheckin app/worker.1: E, [2020-02-13T22:40:01.369872 #4] ERROR -- : Error performing CheckinJob (Job ID: 498c7cf1-e44a-4dbf-a4cb-9c0e8c314e3c) from Sidekiq(checkin) in 536.16ms: JSON::GeneratorError (source sequence is illegal/malformed utf-8):
FYI, check in for the return flight fail as well. I have a ton of flights in March. If I had any idea of how the troubleshoot this, I would. Anything I can do to help?
It looks like SW is returning server errors. Hard to tell whether it doesn’t like the endpoints anymore or if the IPs are being blocked or what. That’s the first place to look. I thought I saw a fork with different urls in the past. Not sure though.
On Feb 17, 2020, at 10:48 AM, mkitchingh notifications@github.com wrote: FYI, check in for the return flight fail as well. I have a ton of flights in March. If I had any idea of how the troubleshoot this, I would. Anything I can do to help?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
If you're familiar with Postman, you can try posting the request from your local machine and see what the response is.
I am not. I will give it a shot. Traveling today, but I can try tomorrow.
On Mon, Feb 17, 2020, 2:14 PM David Kassa notifications@github.com wrote:
If you're familiar with Postman, you can try posting the request from your local machine and see what the response is.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidkassa/southwest-checkin-3/issues/95?email_source=notifications&email_token=AGFXIXRI6QMDAUDLXQ4JH63RDLO2LA5CNFSM4KU6EHK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL7NMCA#issuecomment-587126280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFXIXR37JSTZZTJDBYYEEDRDLO2LANCNFSM4KU6EHKQ .
You should be able to import or paste a variant of this:
curl -X POST \
https://mobile.southwest.com/api/extensions/v1/mobile/reservations/record-locator/XXXXXX/boarding-passes \
-H 'Accept-Language: en-US;q=1' \
-H 'Content-Type: application/vnd.swacorp.com.mobile.boarding-passes-v1.0+json' \
-H 'User-Agent: Southwest/3.3.7 (iPhone; iOS 9.3; Scale/2.00),PostmanRuntime/7.19.0' \
-H 'x-api-key: l7xx0a43088fe6254712b10787646d1b298e' \
-d '"{ names: { firstName: \"Test\", lastName: \"User\" } }"'
What error would you expect to get if it works but I'm simply trying to check in more than 24 hours ahead of time? I assume I'll get one with some wording in it as opposed to a numerical error code.
On Mon, Feb 17, 2020, 3:01 PM David Kassa notifications@github.com wrote:
You should be able to import or paste a variant of this:
curl -X POST \ https://mobile.southwest.com/api/extensions/v1/mobile/reservations/record-locator/XXXXXX/boarding-passes \ -H 'Accept-Language: en-US;q=1' \ -H 'Content-Type: application/vnd.swacorp.com.mobile.boarding-passes-v1.0+json' \ -H 'User-Agent: Southwest/3.3.7 (iPhone; iOS 9.3; Scale/2.00),PostmanRuntime/7.19.0' \ -H 'x-api-key: l7xx0a43088fe6254712b10787646d1b298e' \ -d '"{ names: { firstName: \"Test\", lastName: \"User\" } }"'
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidkassa/southwest-checkin-3/issues/95?email_source=notifications&email_token=AGFXIXQCGJ2YXQXFPDCA7L3RDLUJBA5CNFSM4KU6EHK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL7QU5I#issuecomment-587139701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFXIXUHYXZTPGE4EGKF6DTRDLUJBANCNFSM4KU6EHKQ .
I'm trying to work on this today. Here is where I'm at. I can't tell if there is truly no output, or if need to do something else with the --output switch. Everywhere I have tried to put it causes an error. I'll keep messing with it. `[root@localhost ~]# curl -X POST \
https://mobile.southwest.com/api/extensions/v1/mobile/reservations/record-locator/Valid-Conf/boarding-passes \ -H 'Accept-Language: en-US;q=1' \ -H 'Content-Type: application/vnd.swacorp.com.mobile.boarding-passes-v1.0+json' \ -H 'User-Agent: Southwest/3.3.7 (iPhone; iOS 9.3; Scale/2.00),PostmanRuntime/7.19.0' \ -H 'x-api-key: l7xx0a43088fe6254712b10787646d1b298e' \ -d '"{ names: { firstName: \"Valid-F-Name\", lastName: \"Valid-L-Name\" } }"' Warning: Binary output can mess up your terminal. Use "--output -" to tell Warning: curl to output it to your terminal anyway, or consider "--output Warning:
" to save to a file. [root@localhost ~]#`
Grabbed a friend at work that is better at this stuff than me. This is from a Linux machine at my house. Here is what we got:
HTTP/2 400
correlationid: _8V4LCzMR2CbMDzvxYRNqA-API
x-cnection: close
content-encoding: gzip
content-type: application/json
content-length: 130
x-cnection: close
server: SWA
access-control-allow-origin:
vary: Accept-Encoding
expires: Wed, 19 Feb 2020 19:48:20 GMT
cache-control: max-age=0, no-cache, no-store
pragma: no-cache
date: Wed, 19 Feb 2020 19:48:20 GMT
strict-transport-security: max-age=60
{"code":400400102,"message":"Invalid request data","httpStatusCode":"BAD_REQUEST","requestId":"cfY5IhVURqq2pJBt6iXLLg-API"}
A less pretty variant to try would be https://github.com/byalextran/luvwrapper
On Feb 19, 2020, at 1:55 PM, mkitchingh notifications@github.com wrote:
Grabbed a friend at work that is better at this stuff than me. Here is what we got: `HTTP/2 400 correlationid: _8V4LCzMR2CbMDzvxYRNqA-API x-cnection: close content-encoding: gzip content-type: application/json content-length: 130 x-cnection: close server: SWA access-control-allow-origin: vary: Accept-Encoding expires: Wed, 19 Feb 2020 19:48:20 GMT cache-control: max-age=0, no-cache, no-store pragma: no-cache date: Wed, 19 Feb 2020 19:48:20 GMT strict-transport-security: max-age=60
{"code":400400102,"message":"Invalid request data","httpStatusCode":"BAD_REQUEST","requestId":"cfY5IhVURqq2pJBt6iXLLg-API"}'
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
I'm willing to give it a try. Do you think our version is a lost cause?
No. If that one works, we can use it to figure out the root issue.
On Feb 19, 2020, at 7:32 PM, mkitchingh notifications@github.com wrote:
I'm willing to give it a try. Do you think our version is a lost cause?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Got it. I will get it installed and test. I have CentOS up and running, but I will install Ubuntu if needed. I'm working on it now.
On Wed, Feb 19, 2020 at 7:33 PM David Kassa notifications@github.com wrote:
No. If that one works, we can use it to figure out the root issue.
On Feb 19, 2020, at 7:32 PM, mkitchingh notifications@github.com wrote:
I'm willing to give it a try. Do you think our version is a lost cause?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidkassa/southwest-checkin-3/issues/95?email_source=notifications&email_token=AGFXIXVRAJWYO6RPVDTGDTDRDXMVFA5CNFSM4KU6EHK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMKMM7Q#issuecomment-588564094, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGFXIXTGWY6RKZ5ZX3Q3LWDRDXMVFANCNFSM4KU6EHKQ .
I'm about to give up on CentOS. I am stuck in a dependency loop. I will install Ubuntu. [root@localhost ~]# gem install luvwrapper Building native extensions. This could take a while... ERROR: Error installing luvwrapper: ERROR: Failed to build gem native extension.
current directory: /usr/local/share/gems/gems/unf_ext-0.0.7.6/ext/unf_ext
/usr/bin/ruby -r ./siteconf20200219-7500-1mhybn3.rb extconf.rb checking for -lstdc++... yes creating Makefile
current directory: /usr/local/share/gems/gems/unf_ext-0.0.7.6/ext/unf_ext make "DESTDIR=" clean rm -f rm -f unf_ext.so .o .bak mkmf.log .*.time
current directory: /usr/local/share/gems/gems/unf_ext-0.0.7.6/ext/unf_ext make "DESTDIR=" g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o unf.o -c unf.cc In file included from /usr/include/c++/8/vector:60, from unf/normalizer.hh:4, from unf.cc:1: /usr/include/c++/8/bits/stl_algobase.h:59:10: fatal error: bits/c++config.h: No such file or directory
^~~~~~~~~~~~~~~~~~
compilation terminated. make: *** [Makefile:211: unf.o] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/local/share/gems/gems/unf_ext-0.0.7.6 for inspection. Results logged to /usr/local/lib64/gems/ruby/unf_ext-0.0.7.6/gem_make.out
Trying again with an attachment. It messes up the text when I try to paste it here. Getting it running on Ubuntu was easy. I wish I had started there. I get an error when running it. Any thoughts? I will ask the author as well. luvwrapper.txt
While I haven't been proactive enough to switch to this repo yet, mine is also failing. It will pull new reservation info, but fail to check in flights.
This one appears to not use the mobile api. Not sure if that is preferable or not... https://github.com/pyro2927/SouthwestCheckin
I got the python version referenced above working. It is not very elegant, but it at least sees the reservation. It is basically a command that you launch and then leave running. If you have multiple people to checkin in, you would probably have to have multiple terminal windows open. Also, a reboot kills the pending command. I tried it on the host as well as Docker. Same results. I may try to schedule the command an hour before checkin and see if that will work. I can at least test to see if it works. Maybe this would be easier than trying to emulate the mobile app? Ironically, in the issues for this app, they are discussing trying to crack the mobile API. `Host: mkitchin@ubuntu-mk:~/checkin/python-ver/SouthwestCheckin-master$ python ./checkin.py J* M** **n Attempting to check in M** **n. Confirmation: J*
Flight information found, departing O, at 1 0:55M Too early to check in. Waiting 82 hours, 8 minutes, 54.750456 seconds ^CCtrl+C detected, canceling checkin
Docker: mkitchin@ubuntu-mk:~$ sudo docker run -it pyro2927/southwestcheckin:latest J* M** **n [sudo] password for mkitchin: Attempting to check in M** **n. Confirmation: J*
Flight information found, departing N**, at 1 0:30M Too early to check in. Waiting *70 hours, 31 minutes, 5.812851999886334 seconds Flight information found, departing O***, ** at 0:50M Too early to check in. Waiting 23 hours, 51 minutes, 5.587129999883473 seconds ^CCtrl+C detected, canceling checkin`
southwest.py is using the mobile API in that repo.
Got it. I didn't see that. I was able to figure out how to get the command to spawn, not tie up the terminal, and survive a reboot.
docker run -dit --restart unless-stopped pyro2927/southwestcheckin:latest J****H M*****w K*****n
I've got 16 docker instances queued up. No notifications or anything, but I should still know if they work. Couple of weeks out though before I will know. mkitchin@ubuntu-mk:~$ sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 015fd4cc1fea pyro2927/southwestcheckin:latest "./entrypoint.sh JPM…" 21 minutes ago Up 9 minutes elated_visvesvaraya
8996b31d1b56 pyro2927/southwestcheckin:latest "./entrypoint.sh JPQ…" 21 minutes ago Up 9 minutes lucid_mclean
978407517c9c pyro2927/southwestcheckin:latest "./entrypoint.sh JPD…" 21 minutes ago Up 9 minutes charming_yalow
4983d2ccb02b pyro2927/southwestcheckin:latest "./entrypoint.sh JPD…" 21 minutes ago Up 9 minutes jolly_rubin
85c148f0de76 pyro2927/southwestcheckin:latest "./entrypoint.sh PQ2…" 21 minutes ago Up 9 minutes mystifying_driscoll
9d0d7be76604 pyro2927/southwestcheckin:latest "./entrypoint.sh PQD…" 21 minutes ago Up 9 minutes strange_noether
ca3b00d08c01 pyro2927/southwestcheckin:latest "./entrypoint.sh PPS…" 21 minutes ago Up 9 minutes blissful_rosalind
f69cf2ae22e1 pyro2927/southwestcheckin:latest "./entrypoint.sh POA…" 21 minutes ago Up 9 minutes interesting_cerf
ec63ceb0e9d7 pyro2927/southwestcheckin:latest "./entrypoint.sh JN6…" 21 minutes ago Up 9 minutes nostalgic_kirch
8dd2b6e83f35 pyro2927/southwestcheckin:latest "./entrypoint.sh JMP…" 21 minutes ago Up 9 minutes angry_elbakyan
042d3900abc1 pyro2927/southwestcheckin:latest "./entrypoint.sh JMP…" 21 minutes ago Up 9 minutes sad_yalow
18a84cced9e8 pyro2927/southwestcheckin:latest "./entrypoint.sh JMP…" 21 minutes ago Up 9 minutes admiring_pare
6d8f02d10e44 pyro2927/southwestcheckin:latest "./entrypoint.sh JOS…" 21 minutes ago Up 9 minutes busy_hoover
399908cbe381 pyro2927/southwestcheckin:latest "./entrypoint.sh JOL…" 21 minutes ago Up 9 minutes jolly_lehmann
7647ed7ae0cb pyro2927/southwestcheckin:latest "./entrypoint.sh JOL…" 21 minutes ago Up 9 minutes focused_clarke
14415ca64eec pyro2927/southwestcheckin:latest "./entrypoint.sh JOL…" 21 minutes ago Up 9 minutes focused_wu
mkitchin@ubuntu-mk:~$
I've tested it as much as I can. If anyone has a flight for me to test with, I'll provide info to contact me directly and I will be happy to try one.
Also, I found another group working on this issue: https://github.com/xur17/southwest-alerts/issues/16
I have a test flight I just booked. Checkin time is in 1 hour 20 minutes. I'll see if it works with this app: https://github.com/pyro2927/SouthwestCheckin
It worked! See below. I got the Luvwrapper one working, I think, but it didn't seem to output anywhere, no logging, etc. Too early to check in. Waiting 1 hours, 19 minutes, 58.511679999999615 seconds
Sorry! This reservation is not eligible for check in.
Sorry! This reservation is not eligible for check in.
Sorry! This reservation is not eligible for check in.
Sorry! This reservation is not eligible for check in.
Sorry! We can't check you into this flight. Please see a gate agent.
Sorry! We can't check you into this flight. Please see a gate agent.
Sorry! We can't check you into this flight. Please see a gate agent.
Attempting check-in...
MyFName MI MyLName got B24!
I'll try to quit commenting after this one. It looks like they are building the headers starting at line 21 here: https://github.com/pyro2927/SouthwestCheckin/blob/master/southwest/southwest.py They are pulling some of the values dynamically from: https://mobile.southwest.com/js/config.js One important looking item is X-User-Experience-Id I tried adding that to the test above with Postman, but I couldn't get anything to work. I tried changing basically every field from what we are doing to to what they are doing, and all I coudl accomplish is going from a 400 error to a 415. Any ideas what else I could try? I certainly prefer our nice from end, running on Heroku, emailed boarding passes, etc.
Any thoughts on trying to merge the checkin logic from https://github.com/pyro2927/SouthwestCheckin/blob/master/southwest/southwest.py to the front end on this project? The front end, notifications, data storage, presentation, etc. with this project is outstanding. It is way ahead of anything else I have seen out there. I would love to keep it in place, but we need to have the checkin logic working obviously. If we really wanted to get crazy, it would be cool to build this in as well.... https://github.com/Fffrank/southwest-alerts
sounds like a great idea - I'll take a closer look in the near future.
On Tue, Feb 25, 2020 at 11:48 AM mkitchingh notifications@github.com wrote:
Any thoughts on trying to merge the checkin logic from https://github.com/pyro2927/SouthwestCheckin/blob/master/southwest/southwest.py to the front end on this project? The front end, notifications, data storage, presentation, etc. with this project is outstanding. It is way ahead of anything else I have seen out there. I would love to keep it in place, but we need to have the checkin logic working obviously. If we really wanted to get crazy, it would be cool to build this in as well.... https://github.com/Fffrank/southwest-alerts
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/davidkassa/southwest-checkin-3/issues/95?email_source=notifications&email_token=AAGG6AMTFYTYN3YG7Y2JWWTREVKVJA5CNFSM4KU6EHK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM42LTQ#issuecomment-590980558, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGG6AJSH6XZWPXJIUZ22YLREVKVJANCNFSM4KU6EHKQ .
Any ideas when you might be able to get this working again? Sorry to pester...
@flyize If you want, I'll load your flight into my working instance. I'd provide my direct contact info and you could email it to me. I have one that should kick off in 25 minutes so I will know if it is still working.
FYI, it worked again, and it is fast. It fires just before checkin starts and keep trying until it gets it.
Flight information found, departing -------, --- at Mar -- --:--AM
Too early to check in. Waiting 23 hours, 31 minutes, 39.688320999994176 seconds
Flight information found, departing ----- (-------), -- at Mar -- --:--PM
Too early to check in. Waiting 31 hours, 56 minutes, 39.38070300000254 seconds
Sorry! This reservation is not eligible for check in.
Sorry! This reservation is not eligible for check in.
Sorry! This reservation is not eligible for check in.
Sorry! We can't check you into this flight. Please see a gate agent.
Sorry! We can't check you into this flight. Please see a gate agent.
Sorry! We can't check you into this flight. Please see a gate agent.
Attempting check-in...
L----- - T----- got B02!
Is that a fork or the headless version?
On Mar 10, 2020, at 11:15 AM, mkitchingh notifications@github.com wrote:
FYI, it worked again, and it is fast. It fires just before checkin starts and keep trying until it gets it.
Flight information found, departing -------, --- at Mar -- --:--AM Too early to check in. Waiting 23 hours, 31 minutes, 39.688320999994176 seconds Flight information found, departing ----- (-------), -- at Mar -- --:--PM Too early to check in. Waiting 31 hours, 56 minutes, 39.38070300000254 seconds Sorry! This reservation is not eligible for check in. Sorry! This reservation is not eligible for check in. Sorry! This reservation is not eligible for check in. Sorry! We can't check you into this flight. Please see a gate agent. Sorry! We can't check you into this flight. Please see a gate agent. Sorry! We can't check you into this flight. Please see a gate agent. Attempting check-in... L----- - T----- got B02! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
It is this version: https://github.com/pyro2927/SouthwestCheckin It has no GUI at all. You have to add the reservations by command line. If you use Docker as reccomended, it creates a Docker instance for every flight. I would hope we could just look at the logic in https://github.com/pyro2927/SouthwestCheckin/blob/master/southwest/southwest.py and see what it is doing differently.
@davidkassa Any hope for this version? It is awesome and I hate to lose it.
@davidkassa Just tried a flight I have coming up, and it is even more broken now.
@mkitchingh Any luck finding updates to this?
TBH I haven't looked at this in a while. I didn't know anyone was flying :)
I've been looking for some work for Hacktoberfest so there is a chance I'll pick it up then but no promises.
On Fri, Sep 11, 2020 at 9:25 AM flyize notifications@github.com wrote:
Any luck finding updates to this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davidkassa/southwest-checkin-3/issues/95#issuecomment-691125673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGG6AJHAPG6WE7PNDP6XMTSFIXMNANCNFSM4KU6EHKQ .
Nope. Ours is broken in multiple ways right now. Checkins were failing, and now nothing works. These guys have the actual checkin process down, but there is no interface at all, and the scheduling of the process is a bit suspect. https://github.com/pyro2927/SouthwestCheckin https://github.com/pyro2927/SouthwestCheckin/blob/master/southwest/southwest.py
i happened to stumble on this thread doing a random github search. thought i'd chime in with some things that might help with troubleshooting (also, i'm the developer of luvwrapper
referenced earlier).
earlier this year southwest made changes to their mobile API that broke all our check-in apps. based on what i've seen, the changes were:
X-Channel-ID
header now when retrieving a reservationX-User-Experience-ID
header for every calli might have forgotten some things since i made some updates back in february and some now. but those are definitely the main changes.
hopefully that helps. i updated my code this past week and got it fully working in a new gem (and archived luvwrapper
).
if you look at southwestclient.rb
, that should give you an idea of what's required from the new API.
i'm personally vested in you getting yours working so i can recommend it to friends for the one-click install option. :)
good luck!
i happened to stumble on this thread doing a random github search. thought i'd chime in with some things that might help with troubleshooting (also, i'm the developer of
luvwrapper
referenced earlier).earlier this year southwest made changes to their mobile API that broke all our check-in apps. based on what i've seen, the changes were:
- different JSON structure for flight information/boarding passes
- removed the ability to send mobile boarding passes via text
- requires an
X-Channel-ID
header now when retrieving a reservation- requires an
X-User-Experience-ID
header for every call- removed time zones from JSON responses
i might have forgotten some things since i made some updates back in february and some now. but those are definitely the main changes.
hopefully that helps. i updated my code this past week and got it fully working in a new gem (and archived
luvwrapper
).
i happened to stumble on this thread doing a random github search. thought i'd chime in with some things that might help with troubleshooting (also, i'm the developer of
luvwrapper
referenced earlier). @byalextran Very cool! I will try yours out again. I couldn't get it working the first time I tried. I had 2 flights yesterday, and I used https://github.com/pyro2927/SouthwestCheckin I'm honestly not sure if it worked or not. I couldn't find anything in the log showing it actually ran when it was supposed to. I got A20 for both flights, but I'm also A-list right now, so I'm not sure if that matters.
@mkitchingh hopefully this version won't give you any problems. i intentionally tried to simplify things to ease installation/usage/upgrading. but if you do run into issues, feel free to submit an issue on my project.
my implementation does support email notifications. so if you configure it according to the instructions, you'll know whether or not a check-in succeeded. and you don't need to keep the terminal window open after scheduling a check-in. the check-in will happen behind-the-scenes (as long as the at
command is available and working).
i say working because it's available on macos but doesn't work by default.
all my testing has been done on a digitalocean server running ubuntu 20.04.
@byalextran awesome. I will get it setup today. Maybe one day we can merge these projects. The front end of this one was outstanding. I have no idea who built it, but it was really slick. Thanks!
@byalextran I see luvwrapper appears to be gone. Is this project dead?
@mkitchingh yeah, i decided to combine two of my projects (including luvwrapper) into a new one:
@mkitchingh Any luck finding a bot with a UI? The gem works, but I'd like to be able to share this with friends of course (and be able to add checkins remotely).
@mkitchingh Any luck finding a bot with a UI? The gem works, but I'd like to be able to share this with friends of course (and be able to add checkins remotely).
Nope. I used the gym for the first time this week. It did work well. I wish we could put our old gui on this back end.
Running the latest version on Heroku. I've had no problems for a long time. Checkins failed tonight. This is what I found in the logs. Any ideas?
13 Feb 2020 16:40:01.781336 <190>1 2020-02-13T22:40:01.297542+00:00 app worker.1 - - D, [2020-02-13T22:40:01.297347 #4] DEBUG -- : ETHON: performed EASY effective_url=https://mobile.southwest.com/api/extensions/v1/mobile/reservations/record-locator/*****/boarding-passes response_code=503 return_code=ok total_time=0.450938 Heroku/Syslog drain 13 Feb 2020 16:40:01.783306 <190>1 2020-02-13T22:40:01.310335+00:00 app worker.1 - - D, [2020-02-13T22:40:01.310209 #4] DEBUG -- : [1m[36mCheckin Load (1.8ms)[0m [1m[34mSELECT "checkins".* FROM "checkins" WHERE "checkins"."flight_id" = $1 LIMIT $2[0m [["flight_id", 64], ["LIMIT", 1]] Heroku/Syslog drain 13 Feb 2020 16:40:01.783186 <190>1 2020-02-13T22:40:01.354014+00:00 app worker.1 - - D, [2020-02-13T22:40:01.353880 #4] DEBUG -- : [1m[35m (2.5ms)[0m [1m[35mBEGIN[0m Heroku/Syslog drain 13 Feb 2020 16:40:01.783336 <190>1 2020-02-13T22:40:01.357226+00:00 app worker.1 - - D, [2020-02-13T22:40:01.357106 #4] DEBUG -- : ETHON: performed EASY effective_url=https://mobile.southwest.com/api/extensions/v1/mobile/reservations/record-locator/*****/boarding-passes response_code=500 return_code=ok total_time=0.505351 Heroku/Syslog drain 13 Feb 2020 16:40:01.783288 <190>1 2020-02-13T22:40:01.363891+00:00 app worker.1 - - D, [2020-02-13T22:40:01.363791 #4] DEBUG -- : [1m[36mFlight Load (9.3ms)[0m [1m[34mSELECT "flights".* FROM "flights" WHERE "flights"."id" = $1 LIMIT $2[0m [["id", 64], ["LIMIT", 1]] Heroku/Syslog drain 13 Feb 2020 16:40:01.783189 <190>1 2020-02-13T22:40:01.368750+00:00 app worker.1 - - D, [2020-02-13T22:40:01.368650 #4] DEBUG -- : [1m[35m (2.9ms)[0m [1m[31mROLLBACK[0m Heroku/Syslog drain 13 Feb 2020 16:40:01.783319 <190>1 2020-02-13T22:40:01.369974+00:00 app worker.1 - - E, [2020-02-13T22:40:01.369872 #4] ERROR -- : Error performing CheckinJob (Job ID: 498c7cf1-e44a-4dbf-a4cb-9c0e8c314e3c) from Sidekiq(checkin) in 536.16ms: JSON::GeneratorError (source sequence is illegal/malformed utf-8): Heroku/Syslog drain