boarzVideosClipsStatistics

#️⃣EP 142 - AWS WebSocket Integration with SAM Pt.3

🎦
📅 2022-01-02 (704 days ago)
⌛ 1:03:18
ZainboarToreyboar
AllClipsEpisodesHas Blog PostZainThaneshKartikTorey
001
Build Break and Code
📅 2021-07-14 
(876 days ago)
⌛ 0:58:43
ZainboarKartikboar
002
Build, Break & Fix
📅 2021-07-15 
(875 days ago)
⌛ 0:53:45
ZainboarKartikboar
🎬
Krunchmaster Kartik
Build, Break & Fix
ZainboarKartikboar
003
Build, Break & Fix
📅 2021-07-16 
(874 days ago)
⌛ 1:09:05
ZainboarKartikboar
004
Special Edition: We don't stop until we get our code working
📅 2021-07-16 
(874 days ago)
⌛ 2:27:06
ZainboarKartikboar
🎬
Killing it
Special Edition: We don't stop until we get our code working
ZainboarKartikboar
005
Build,Break & Fix // Weekend two hour special
📅 2021-07-17 
(873 days ago)
⌛ 2:00:31
ZainboarKartikboar
🎬
Schooling in brown countries
Build,Break & Fix // Weekend two hour special
ZainboarKartikboar
🎬
Unprofessional Kartik
Build,Break & Fix // Weekend two hour special
ZainboarKartikboar
006
Build, Break & Fix
📅 2021-07-19 
(871 days ago)
⌛ 1:03:20
ZainboarKartikboar
007
Build, Break & Fix
📅 2021-07-20 
(870 days ago)
⌛ 1:04:37
ZainboarKartikboar
008
Build, Break & Fix
📅 2021-07-21 
(869 days ago)
⌛ 1:00:37
ZainboarKartikboar
009
Build, Break & Fix
📅 2021-07-22 
(868 days ago)
⌛ 1:17:02
ZainboarKartikboar
010
Build, Break & Fix
📅 2021-07-23 
(867 days ago)
⌛ 1:04:59
ZainboarKartikboar
011
Build, Break & Fix
📅 2021-07-23 
(867 days ago)
⌛ 1:48:16
ZainboarKartikboar
012
Build, Break & Fix
📅 2021-07-24 
(866 days ago)
⌛ 2:05:28
ZainboarKartikboar
013
Build, Break & Code //First Special Guest Appearance
📅 2021-07-26 
(864 days ago)
⌛ 1:09:09
ZainboarKartikboar
014
Build, Break & Fix
📅 2021-07-27 
(863 days ago)
⌛ 1:05:37
ZainboarKartikboar
015
Build, Break & Fix // Setting a blog using Hugo and AWS Amplify
📅 2021-07-28 
(862 days ago)
⌛ 1:07:46
ZainboarKartikboar
🎬
Brain Refresh
Build, Break & Fix // Setting a blog using Hugo and AWS Amplify
ZainboarKartikboar
016
Build, Break & Fix // Working on FETCH APIs
📅 2021-07-29 
(861 days ago)
⌛ 1:03:57
ZainboarKartikboar
017
Build, Break & Fix // Working on FETCH APIs
📅 2021-07-30 
(860 days ago)
⌛ 1:06:45
ZainboarKartikboar
018
Build, Break & Fix // creating get methods with FETCH API
📅 2021-07-30 
(860 days ago)
⌛ 2:00:16
ZainboarKartikboar
019
Build, Break & Fix // BLOG REVEAL!! &Fixing our broken Hugo blog
📅 2021-07-31 
(859 days ago)
⌛ 2:03:11
📰
ZainboarKartikboar
020
Build, Break & Fix // Fixing the uncaught exception error in FETCH APIs
📅 2021-08-02 
(857 days ago)
⌛ 1:02:04
ZainboarKartikboar
021
Build, Break & Fix // Trying different things to resolve the error
📅 2021-08-03 
(856 days ago)
⌛ 1:04:49
📰
ZainboarKartikboar
022
Build, Break & Fix // Special Guest announcement for tomorrow!
📅 2021-08-04 
(855 days ago)
⌛ 1:03:15
📰
ZainboarKartikboar
023
Special Episode : Talking to a Principal Developer at Seek
📅 2021-08-05 
(854 days ago)
⌛ 1:04:56
📰
ZainboarKartikboar
024
Build, Break & Fix // Working out Software design
📅 2021-08-06 
(853 days ago)
⌛ 1:08:19
📰
ZainboarKartikboar
🎬
Finger driven architecture
Build, Break & Fix // Working out Software design
ZainboarKartikboar
🎬
Fast food driven architecture
Build, Break & Fix // Working out Software design
ZainboarKartikboar
025
Build, Break & Fix
📅 2021-08-06 
(853 days ago)
⌛ 2:01:05
📰
ZainboarKartikboar
🎬
Can't be ashamed if there's never a first version
Build, Break & Fix
ZainboarKartikboar
🎬
Not a uni student
Build, Break & Fix
ZainboarKartikboar
026
Weekend Special 1.5 hours
📅 2021-08-08 
(851 days ago)
⌛ 1:35:49
📰
Zainboar
027
30 mins of deployment 😠 || 30 mins of coding 🥲
📅 2021-08-09 
(850 days ago)
⌛ 1:07:48
📰
ZainboarKartikboar
🎬
Can't work, deploying
30 mins of deployment 😠 || 30 mins of coding 🥲
ZainboarKartikboar
028
Today's Broadcast
📅 2021-08-10 
(849 days ago)
⌛ 1:18:59
📰
ZainboarKartikboar
🎬
Two points of contact
Today's Broadcast
ZainboarKartikboar
🎬
CORS exclusive lovin'
Today's Broadcast
ZainboarKartikboar
029
Build Break Fix
📅 2021-08-11 
(848 days ago)
⌛ 1:01:46
📰
ZainboarKartikboar
030
Today's Stream
📅 2021-08-12 
(847 days ago)
⌛ 1:09:24
📰
ZainboarKartikboar
🎬
Sensible policy
Today's Stream
ZainboarKartikboar
🎬
Shoes in mouth
Today's Stream
ZainboarKartikboar
031
Buidl Break Fix
📅 2021-08-13 
(846 days ago)
⌛ 1:05:05
📰
ZainboarKartikboar
🎬
The code always wins
Buidl Break Fix
ZainboarKartikboar
🎬
Chicken curry in the brown way
Buidl Break Fix
ZainboarKartikboar
032
Today's Broadcast
📅 2021-08-14 
(845 days ago)
⌛ 1:20:18
📰
ZainboarKartikboar
033
Build - Break - Fix
📅 2021-08-15 
(844 days ago)
⌛ 1:34:03
📰
ZainboarKartikboar
034
Build Break Fix
📅 2021-08-16 
(843 days ago)
⌛ 1:18:19
📰
ZainboarKartikboar
🎬
Finger memory practice
Build Break Fix
ZainboarKartikboar
🎬
See you later Kartik
Build Break Fix
ZainboarKartikboar
035
Today's Broadcast
📅 2021-08-17 
(842 days ago)
⌛ 1:04:07
📰
ZainboarKartikboar
🎬
Keep your code looking sexy
Today's Broadcast
ZainboarKartikboar
🎬
Echo chamber Zain
Today's Broadcast
ZainboarKartikboar
🎬
And Kartik never got a job again...
Today's Broadcast
ZainboarKartikboar
036
Build, Break, Fix
📅 2021-08-18 
(841 days ago)
⌛ 1:03:21
📰
ZainboarKartikboar
037
Special Guest - Sam Nolan
📅 2021-08-19 
(840 days ago)
⌛ 1:05:19
📰
ZainboarKartikboar
038
Today's Broadcast
📅 2021-08-20 
(839 days ago)
⌛ 1:01:55
📰
ZainboarKartikboar
039
Today's Broascast
📅 2021-08-21 
(838 days ago)
⌛ 1:33:11
📰
ZainboarKartikboar
🎬
Pilot? What even iz dat kind of fing
Today's Broascast
ZainboarKartikboar
040
Build - Break - Fix
📅 2021-08-22 
(837 days ago)
⌛ 1:33:18
📰
ZainboarKartikboar
🎬
Fish and Chips
Build - Break - Fix
ZainboarKartikboar
🎬
Backup career
Build - Break - Fix
ZainboarKartikboar
041
Build Break Fix
📅 2021-08-23 
(836 days ago)
⌛ 0:57:11
📰
Zainboar
042
Today's Broadcast
📅 2021-08-24 
(835 days ago)
⌛ 1:06:08
📰
ZainboarKartikboar
🎬
Professional background? Wat even iz dat?
Today's Broadcast
ZainboarKartikboar
🎬
Private mentorship group
Today's Broadcast
ZainboarKartikboar
043
Today's Stream
📅 2021-08-25 
(834 days ago)
⌛ 1:13:08
📰
ZainboarKartikboar
🎬
Actually good job advice from Zain
Today's Stream
ZainboarKartikboar
044
Today's Stream
📅 2021-08-26 
(833 days ago)
⌛ 0:49:48
📰
ZainboarKartikboar
🎬
What a classic!
Today's Stream
ZainboarKartikboar
🎬
Uber driver in training
Today's Stream
ZainboarKartikboar
045
Today's Stream
📅 2021-08-27 
(832 days ago)
⌛ 1:08:21
📰
ZainboarKartikboar
046
Weekend Special
📅 2021-08-28 
(831 days ago)
⌛ 1:32:51
ZainboarKartikboar
047
Weekend Special
📅 2021-08-29 
(830 days ago)
⌛ 1:01:39
Zainboar
048
Today's Broadcast
📅 2021-08-30 
(829 days ago)
⌛ 1:17:19
ZainboarKartikboar
049
Today's Broadcast
📅 2021-08-31 
(828 days ago)
⌛ 1:00:16
ZainboarKartikboar
🎬
Viewer burn
Today's Broadcast
ZainboarKartikboar
050
CELEBRATION: 50th Episode
📅 2021-09-01 
(827 days ago)
⌛ 1:01:53
ZainboarKartikboar
051
Today's Broadcast
📅 2021-09-02 
(826 days ago)
⌛ 1:05:39
ZainboarKartikboar
🎬
Time for a nap
Today's Broadcast
ZainboarKartikboar
🎬
A sniffer of a line
Today's Broadcast
ZainboarKartikboar
🎬
Slow Zain
Today's Broadcast
ZainboarKartikboar
052
Today's Broadcast
📅 2021-09-03 
(825 days ago)
⌛ 1:12:47
ZainboarKartikboar
🎬
No single point of failure
Today's Broadcast
ZainboarKartikboar
🎬
Gambling on bad logic
Today's Broadcast
ZainboarKartikboar
🎬
Estimated Time of New-Careers
Today's Broadcast
ZainboarKartikboar
🎬
Fake Nod
Today's Broadcast
ZainboarKartikboar
053
NEW SETUP!!
📅 2021-09-04 
(824 days ago)
⌛ 1:04:04
ZainboarKartikboar
🎬
Investing in 'the brand'
NEW SETUP!!
ZainboarKartikboar
🎬
Hitting a brick
NEW SETUP!!
ZainboarKartikboar
🎬
Master of the green screen
NEW SETUP!!
ZainboarKartikboar
🎬
Logiclesstech
NEW SETUP!!
ZainboarKartikboar
054
Weekend Special
📅 2021-09-05 
(823 days ago)
⌛ 1:41:54
ZainboarKartikboar
055
Today's Stream
📅 2021-09-06 
(822 days ago)
⌛ 1:20:05
ZainboarKartikboar
🎬
Get him to the greenscreen
Today's Stream
ZainboarKartikboar
🎬
Change the digit to a number
Today's Stream
ZainboarKartikboar
056
Today's Broadcast
📅 2021-09-07 
(821 days ago)
⌛ 1:25:44
ZainboarKartikboar
🎬
The benefits of pair programming
Today's Broadcast
ZainboarKartikboar
057
Today's Stream
📅 2021-09-08 
(820 days ago)
⌛ 1:00:33
ZainboarKartikboar
🎬
Xs, the healthy choice
Today's Stream
ZainboarKartikboar
🎬
Xs vs mother
Today's Stream
ZainboarKartikboar
058
Today's Stream
📅 2021-09-09 
(819 days ago)
⌛ 1:13:08
ZainboarKartikboar
🎬
The beginning of the end of productivity
Today's Stream
ZainboarKartikboar
🎬
Unprofessional Zain
Today's Stream
ZainboarKartikboar
🎬
Blazing fast
Today's Stream
ZainboarKartikboar
🎬
Premature celebratory dance
Today's Stream
ZainboarKartikboar
🎬
Timeline slippage
Today's Stream
ZainboarKartikboar
🎬
Speed coding
Today's Stream
ZainboarKartikboar
059
Today's Broadcast
📅 2021-09-10 
(818 days ago)
⌛ 1:50:40
ZainboarKartikboar
🎬
Sorry I dont know that voice
Today's Broadcast
ZainboarKartikboar
🎬
Definition of done
Today's Broadcast
ZainboarKartikboar
🎬
Amway bites
Today's Broadcast
ZainboarKartikboar
🎬
A cool stream
Today's Broadcast
ZainboarKartikboar
🎬
Spooky Kartik
Today's Broadcast
ZainboarKartikboar
060
Today's Stream
📅 2021-09-12 
(816 days ago)
⌛ 1:02:36
ZainboarKartikboar
061
Today's Stream
📅 2021-09-13 
(815 days ago)
⌛ 1:00:40
ZainboarKartikboar
🎬
Water physics 101
Today's Stream
ZainboarKartikboar
🎬
Scrum master Zain
Today's Stream
ZainboarKartikboar
🎬
Zain applying his scrum master skills
Today's Stream
ZainboarKartikboar
062
Today's Stream
📅 2021-09-14 
(814 days ago)
⌛ 1:11:29
ZainboarKartikboar
063
Today's Stream
📅 2021-09-15 
(813 days ago)
⌛ 1:07:00
ZainboarKartikboar
🎬
Zain the blunderer
Today's Stream
ZainboarKartikboar
🎬
Healthier than other traditional drinks
Today's Stream
ZainboarKartikboar
🎬
Real headscratcha
Today's Stream
ZainboarKartikboar
🎬
Bracket blues
Today's Stream
ZainboarKartikboar
🎬
If statements are not good practice
Today's Stream
ZainboarKartikboar
🎬
Kappa Quality Code
Today's Stream
ZainboarKartikboar
🎬
Exciting switch statements
Today's Stream
ZainboarKartikboar
064
Today's Broadcast
📅 2021-09-16 
(812 days ago)
⌛ 1:20:45
📰
ZainboarKartikboar
🎬
Switched-on hat
Today's Broadcast
ZainboarKartikboar
🎬
Functions, one of the big coding challenges
Today's Broadcast
ZainboarKartikboar
🎬
Break fast
Today's Broadcast
ZainboarKartikboar
🎬
Blood and breath pumping up
Today's Broadcast
ZainboarKartikboar
🎬
Wrong since day 1
Today's Broadcast
ZainboarKartikboar
065
test
📅 2021-09-16 
(812 days ago)
⌛ 2:03:01
📰
ZainboarKartikboar
🎬
Electronic waves
test
ZainboarKartikboar
🎬
RAWR coders
test
ZainboarKartikboar
🎬
Transit in Japawn
test
ZainboarKartikboar
🎬
Xs sponsorship
test
ZainboarKartikboar
🎬
Lame roars
test
ZainboarKartikboar
🎬
Setting up a suppository in Diagon Alley
test
ZainboarKartikboar
🎬
Background Diagon Alley
test
ZainboarKartikboar
🎬
Half speed zain
test
ZainboarKartikboar
🎬
One second penetration
test
ZainboarKartikboar
🎬
Top loading switches
test
ZainboarKartikboar
🎬
Making it rain with CodeBuild
test
ZainboarKartikboar
066
Today's Broadcast
📅 2021-09-19 
(809 days ago)
⌛ 1:46:13
📰
ZainboarKartikboar
067
Today's Stream
📅 2021-09-20 
(808 days ago)
⌛ 1:03:46
📰
ZainboarKartikboarToreyboar
🎬
What is a sea cable?
Today's Stream
ZainboarKartikboarToreyboar
068
Today's Stream
📅 2021-09-21 
(807 days ago)
⌛ 1:09:13
📰
ZainboarKartikboarToreyboar
069
Today's Broadcast
📅 2021-09-22 
(806 days ago)
⌛ 1:03:51
📰
ZainboarKartikboar
070
Today's Stream
📅 2021-09-23 
(805 days ago)
⌛ 1:59:01
📰
ZainboarKartikboar
071
Today's Stream
📅 2021-09-24 
(804 days ago)
⌛ 0:28:57
📰
ZainboarKartikboar
072
Today's Stream
📅 2021-09-24 
(804 days ago)
⌛ 0:39:33
📰
ZainboarKartikboar
073
Today's Stream
📅 2021-09-26 
(802 days ago)
⌛ 1:21:14
📰
Zainboar
074
Today's Stream
📅 2021-09-27 
(801 days ago)
⌛ 1:03:40
📰
ZainboarKartikboar
075
Today's Stream
📅 2021-09-28 
(800 days ago)
⌛ 1:04:05
📰
ZainboarKartikboar
076
Today's Broadcast
📅 2021-09-29 
(799 days ago)
⌛ 0:58:07
📰
ZainboarKartikboar
077
Today' Broadcast
📅 2021-09-30 
(798 days ago)
⌛ 1:13:14
📰
ZainboarKartikboar
078
Today's Broadcast
📅 2021-10-01 
(797 days ago)
⌛ 1:23:11
📰
ZainboarKartikboar
🎬
If statements are bad practice
Today's Broadcast
ZainboarKartikboar
🎬
Tomato fan
Today's Broadcast
ZainboarKartikboar
079
Today's Stream
📅 2021-10-03 
(795 days ago)
⌛ 1:14:52
📰
ZainboarKartikboar
080
Today's Stream
📅 2021-10-04 
(794 days ago)
⌛ 1:05:10
📰
ZainboarKartikboar
081
Today's Stream
📅 2021-10-05 
(793 days ago)
⌛ 1:01:05
📰
Zainboar
082
Today's Stream
📅 2021-10-06 
(792 days ago)
⌛ 0:54:10
📰
ZainboarKartikboar
083
Today's Stream
📅 2021-10-07 
(791 days ago)
⌛ 1:15:04
📰
ZainboarKartikboar
🎬
Strong intro
Today's Stream
ZainboarKartikboar
084
Today's Stream
📅 2021-10-08 
(790 days ago)
⌛ 1:12:59
ZainboarKartikboar
085
Today's Stream
📅 2021-10-10 
(788 days ago)
⌛ 1:17:09
📰
ZainboarKartikboar
🎬
Impossible URL
Today's Stream
ZainboarKartikboar
🎬
Clever devs
Today's Stream
ZainboarKartikboar
086
Today's Stream
📅 2021-10-11 
(787 days ago)
⌛ 1:00:57
📰
ZainboarKartikboar
🎬
Always CORS related problems
Today's Stream
ZainboarKartikboar
🎬
CORS headscratcha
Today's Stream
ZainboarKartikboar
087
Today's Stream
📅 2021-10-12 
(786 days ago)
⌛ 0:51:02
📰
ZainboarKartikboar
088
Today's Stream
📅 2021-10-13 
(785 days ago)
⌛ 1:07:31
📰
ZainboarKartikboar
089
Today's Broadcast
📅 2021-10-14 
(784 days ago)
⌛ 1:07:16
📰
ZainboarKartikboar
090
Today's Stream
📅 2021-10-15 
(783 days ago)
⌛ 1:01:10
📰
Zainboar
091
Today's Stream
📅 2021-10-17 
(781 days ago)
⌛ 1:26:37
📰
ZainboarKartikboarThaneshboar
🎬
Torres Strait Icelander people
Today's Stream
ZainboarKartikboarThaneshboar
092
Today's Stream
📅 2021-10-18 
(780 days ago)
⌛ 1:05:40
📰
ZainboarKartikboarThaneshboar
🎬
Icelander or Islander?
Today's Stream
ZainboarKartikboarThaneshboar
093
Today's Stream
📅 2021-10-19 
(779 days ago)
⌛ 1:01:58
📰
ZainboarThaneshboar
094
Today's Stream
📅 2021-10-20 
(778 days ago)
⌛ 1:04:18
📰
ZainboarKartikboar
095
Today's Stream
📅 2021-10-21 
(777 days ago)
⌛ 1:16:08
📰
ZainboarKartikboarThaneshboar
096
100th Episode
📅 2021-10-23 
(775 days ago)
⌛ 1:13:16
📰
ZainboarKartikboar
097
101/200 Episodes
📅 2021-10-24 
(774 days ago)
⌛ 1:00:53
📰
ZainboarThaneshboar
🎬
Best Practices
101/200 Episodes
ZainboarThaneshboar
098
102/200 Episode
📅 2021-10-25 
(773 days ago)
⌛ 1:09:20
📰
ZainboarKartikboar
099
103/200 Episode
📅 2021-10-26 
(772 days ago)
⌛ 1:10:51
📰
ZainboarKartikboarThaneshboar
100
104/200
📅 2021-10-27 
(771 days ago)
⌛ 1:03:23
📰
ZainboarKartikboar
101
105/200
📅 2021-10-28 
(770 days ago)
⌛ 1:15:24
📰
ZainboarThaneshboar
🎬
ROAR coders
105/200
ZainboarThaneshboar
102
107/200
📅 2021-10-29 
(769 days ago)
⌛ 1:14:04
📰
ZainboarKartikboar
103
109/200
📅 2021-10-31 
(767 days ago)
⌛ 1:11:38
📰
ZainboarKartikboarThaneshboar
104
110/200
📅 2021-11-01 
(766 days ago)
⌛ 1:04:53
📰
ZainboarKartikboar
105
111/200
📅 2021-11-02 
(765 days ago)
⌛ 1:11:33
📰
ZainboarKartikboarThaneshboar
106
112/200
📅 2021-11-03 
(764 days ago)
⌛ 1:00:17
📰
ZainboarKartikboar
🎬
Diagon Alley? What is that kind of fing?
112/200
ZainboarKartikboar
107
113/200
📅 2021-11-04 
(763 days ago)
⌛ 1:03:53
📰
Zainboar
🎬
C.O.D.I.N.G
113/200
Zainboar
108
114/200
📅 2021-11-05 
(762 days ago)
⌛ 0:56:39
Zainboar
109
115/200
📅 2021-11-07 
(760 days ago)
⌛ 1:02:25
📰
ZainboarThaneshboar
🎬
What's testing
115/200
ZainboarThaneshboar
🎬
CORS coders
115/200
ZainboarThaneshboar
110
116/200
📅 2021-11-08 
(759 days ago)
⌛ 1:09:37
📰
ZainboarKartikboar
111
117/200
📅 2021-11-09 
(758 days ago)
⌛ 1:06:25
📰
ZainboarKartikboarThaneshboar
112
118/200
📅 2021-11-10 
(757 days ago)
⌛ 1:02:39
📰
ZainboarKartikboar
113
119/200
📅 2021-11-11 
(756 days ago)
⌛ 1:08:01
📰
ZainboarKartikboarThaneshboar
114
120/200
📅 2021-11-12 
(755 days ago)
⌛ 1:00:14
📰
Zainboar
115
120/200
📅 2021-11-14 
(753 days ago)
⌛ 1:06:19
📰
ZainboarKartikboarThaneshboar
116
122/200
📅 2021-11-15 
(752 days ago)
⌛ 1:00:31
ZainboarKartikboar
117
Today's Stream
📅 2021-11-22 
(745 days ago)
⌛ 1:01:46
📰
KartikboarThaneshboar
118
How This Video Has 12 Views, Explained
📅 2021-11-25 
(742 days ago)
⌛ 0:59:47
KartikboarThaneshboar
119
How This Video Has 14 Views, Explained
📅 2021-11-29 
(738 days ago)
⌛ 1:16:20
📰
KartikboarThaneshboar
120
Special Guest - Torey Littlefield Pt.2
📅 2021-11-30 
(737 days ago)
⌛ 1:12:15
📰
ZainboarToreyboar
121
Today's Stream
📅 2021-12-02 
(735 days ago)
⌛ 1:02:25
KartikboarThaneshboar
122
Today's Stream
📅 2021-12-06 
(731 days ago)
⌛ 1:02:01
📰
KartikboarThaneshboar
123
Today's Broadcast
📅 2021-12-07 
(2 years ago)
⌛ 1:01:00
KartikboarThaneshboar
124
Today's Stream
📅 2021-12-09 
(728 days ago)
⌛ 1:05:48
📰
ZainboarThaneshboar
🎬
Complimenting the wrong person
Today's Stream
ZainboarThaneshboar
🎬
Alt+F4 Zain
Today's Stream
ZainboarThaneshboar
125
Today's Stream
📅 2021-12-10 
(727 days ago)
⌛ 1:07:15
ZainboarToreyboar
126
Today's Stream
📅 2021-12-12 
(725 days ago)
⌛ 0:12:47
📰
ZainboarThaneshboar
127
Today's Stream
📅 2021-12-12 
(725 days ago)
⌛ 0:50:29
📰
ZainboarThaneshboar
128
Today's Stream
📅 2021-12-13 
(724 days ago)
⌛ 1:02:31
📰
ZainboarKartikboar
129
Today's Stream
📅 2021-12-14 
(723 days ago)
⌛ 1:10:28
📰
ZainboarToreyboar
130
Today's Stream
📅 2021-12-16 
(721 days ago)
⌛ 1:16:51
📰
ZainboarThaneshboar
131
Today's Stream
📅 2021-12-17 
(720 days ago)
⌛ 1:10:59
ZainboarKartikboarToreyboar
132
Today's Stream
📅 2021-12-19 
(718 days ago)
⌛ 1:00:49
📰
Zainboar
133
Today's Stream
📅 2021-12-20 
(717 days ago)
⌛ 1:01:49
📰
ZainboarKartikboar
134
Today's Stream
📅 2021-12-21 
(716 days ago)
⌛ 1:03:43
📰
ZainboarThaneshboar
135
Today's Stream
📅 2021-12-22 
(715 days ago)
⌛ 1:06:30
📰
ZainboarKartikboar
136
Today's Stream
📅 2021-12-23 
(714 days ago)
⌛ 1:00:09
Zainboar
137
Today's Stream
📅 2021-12-26 
(711 days ago)
⌛ 1:17:00
📰
ZainboarThaneshboar
🎬
Fixing and failing
Today's Stream
ZainboarThaneshboar
138
Today's Stream
📅 2021-12-27 
(710 days ago)
⌛ 1:05:22
📰
ZainboarKartikboar
139
Today's Stream
📅 2021-12-28 
(709 days ago)
⌛ 1:16:17
📰
ZainboarToreyboar
140
WebSocket Integration
📅 2021-12-29 
(708 days ago)
⌛ 1:02:44
📰
Zainboar
141
AWS WebSocket API Integration Pt.2
📅 2021-12-30 
(707 days ago)
⌛ 1:08:23
📰
ZainboarToreyboar
▶️
AWS WebSocket Integration with SAM Pt.3
📅 2022-01-02 
(704 days ago)
⌛ 1:03:18
📰
ZainboarToreyboar
143
Today's Stream
📅 2022-01-03 
(703 days ago)
⌛ 1:07:18
📰
ZainboarKartikboar
144
AWS WebScoket Integration with SAM Pt.4
📅 2022-01-04 
(702 days ago)
⌛ 1:04:18
📰
ZainboarToreyboar
145
AWS WebSocket Integration with SAM Pt.5
📅 2022-01-05 
(701 days ago)
⌛ 1:03:21
📰
ZainboarKartikboar
146
AWS WebSocket Integration with SAM Pt. 6
📅 2022-01-06 
(700 days ago)
⌛ 1:03:18
📰
ZainboarToreyboar
147
Today's Stream
📅 2022-01-07 
(699 days ago)
⌛ 1:11:55
📰
ZainboarToreyboar
148
Connect AWS WebSocket to DynamoDB Pt.1
📅 2022-01-09 
(697 days ago)
⌛ 1:10:25
📰
ZainboarToreyboar
149
Connect AWS WebSocket to DynamoDB
📅 2022-01-10 
(696 days ago)
⌛ 1:02:06
ZainboarKartikboar
150
"Blank Line" Bug In Lambda Response For AWS Websocket Pt.1
📅 2022-01-11 
(695 days ago)
⌛ 0:58:13
📰
ZainboarKartikboarToreyboar
151
"Blank Line" Bug In Lambda Response From Lambda
📅 2022-01-13 
(693 days ago)
⌛ 1:04:40
📰
ZainboarToreyboar
152
AWS WebSocket + Lambda + DynamoDB
📅 2022-01-14 
(692 days ago)
⌛ 1:04:33
📰
ZainboarThaneshboar
153
AWS WebSocket + Lambda + DynamoDB
📅 2022-01-16 
(690 days ago)
⌛ 1:11:37
📰
ZainboarToreyboar
154
Test
📅 2022-01-17 
(689 days ago)
⌛ 1:03:13
📰
ZainboarThaneshboar
155
Today's stre
📅 2022-01-18 
(688 days ago)
⌛ 0:45:24
ZainboarToreyboar
156
AWS Websocket + DyanmoDb + Lambda
📅 2022-01-19 
(687 days ago)
⌛ 1:06:33
📰
ZainboarThaneshboar
🎬
Brown is always better than white
AWS Websocket + DyanmoDb + Lambda
ZainboarThaneshboar
157
Today's Stream
📅 2022-01-20 
(686 days ago)
⌛ 0:57:55
📰
Zainboar
158
Today's Stream
📅 2022-01-21 
(685 days ago)
⌛ 1:02:17
📰
ToreyboarZainboar
159
Today's Stream
📅 2022-01-23 
(683 days ago)
⌛ 1:13:29
📰
ZainboarToreyboar
🎬
Wild street dogs
Today's Stream
ZainboarToreyboar
160
How To Host A Web App using AWS S3 and CloudFront
📅 2022-01-24 
(682 days ago)
⌛ 1:16:15
📰
ZainboarThaneshboar
161
How to Host Web App In AWS S3 using CloudFront, Route53 and CloudFormation
📅 2022-01-25 
(681 days ago)
⌛ 1:01:07
ZainboarToreyboar
162
How to Host Web App Using AWS S3, CloudFront and Route53
📅 2022-01-26 
(680 days ago)
⌛ 1:03:12
ZainboarThaneshboar
🎬
The more you know
How to Host Web App Using AWS S3, CloudFront and Route53
ZainboarThaneshboar
163
How To Host Web App In AWS S3 with Custom Domain
📅 2022-01-27 
(679 days ago)
⌛ 1:08:48
📰
ZainboarToreyboar
164
How To Host Web App In AWS S3 with Custom Domain Using Route 53
📅 2022-01-28 
(678 days ago)
⌛ 1:08:57
📰
ZainboarThaneshboar
🎬
Inactive brain
How To Host Web App In AWS S3 with Custom Domain Using Route 53
ZainboarThaneshboar
165
How To Host Web App In AWS S3 with Custom Domain Using Route 53
📅 2022-01-30 
(676 days ago)
⌛ 0:28:17
Zainboar
166
Today's Broadcast
📅 2022-01-31 
(675 days ago)
⌛ 1:11:16
📰
ThaneshboarToreyboar
167
How To Host Web App In AWS S3 with Custom Domain Using Route 53
📅 2022-02-01 
(674 days ago)
⌛ 1:06:35
📰
ZainboarToreyboar
168
Generate SSL Certificate via AWS Certificate Manager
📅 2022-02-02 
(673 days ago)
⌛ 0:58:02
📰
ZainboarThaneshboar
169
Test AWS Websocket Connection With Multiple Users
📅 2022-02-03 
(672 days ago)
⌛ 1:01:59
📰
ZainboarToreyboar
170
Adding Redirection To The AWS S3 Page
📅 2022-02-04 
(671 days ago)
⌛ 0:25:00
Zainboar
171
Redirecting AWS S3 page
📅 2022-02-06 
(669 days ago)
⌛ 0:54:11
Zainboar
172
Today's Broadcast
📅 2022-02-07 
(668 days ago)
⌛ 1:05:20
📰
ThaneshboarToreyboar
173
Today's Stream
📅 2022-02-08 
(667 days ago)
⌛ 1:05:29
ZainboarToreyboar
174
Today's Stream
📅 2022-02-10 
(665 days ago)
⌛ 1:05:47
ZainboarToreyboar
🎬
No electricity in Bali
Today's Stream
ZainboarToreyboar
175
How To Send Messages To Multiple Clients Through AWS Websocket
📅 2022-02-13 
(662 days ago)
⌛ 1:02:05
ZainboarToreyboar
176
How To CRUD Data Through AWS Websocket with Multiple Clients
📅 2022-02-16 
(659 days ago)
⌛ 1:07:32
ZainboarThaneshboar
177
Today's Stream
📅 2022-02-17 
(658 days ago)
⌛ 0:58:01
ZainboarToreyboar
🎬
Francesco
Today's Stream
ZainboarToreyboar
178
How To Change String Property to Object in AWS SAM and Deploy
📅 2022-02-20 
(655 days ago)
⌛ 1:21:24
ZainboarToreyboar
179
Today's Stream
📅 2022-02-23 
(652 days ago)
⌛ 0:59:43
📰
ZainboarThaneshboar
180
How To HASH A Password using BCRYPT in Node
📅 2022-02-25 
(650 days ago)
⌛ 1:03:48
ZainboarThaneshboar
181
How to Hash Passcode with BCRYPT using Node Pt.2
📅 2022-02-27 
(648 days ago)
⌛ 1:07:59
ZainboarToreyboar
182
Create Passcode UI
📅 2022-02-28 
(647 days ago)
⌛ 1:01:29
📰
ZainboarThaneshboar
183
How To Make FrontEnd Talk to Backend with Node
📅 2022-03-01 
(646 days ago)
⌛ 1:01:33
ZainboarToreyboar
184
How To Positioning A Div
📅 2022-03-04 
(643 days ago)
⌛ 1:09:27
ZainboarToreyboar
185
Today's Stream
📅 2022-03-06 
(641 days ago)
⌛ 1:00:29
Zainboar
186
Today's Stream
📅 2022-03-07 
(640 days ago)
⌛ 0:55:51
ZainboarThaneshboar
187
Today's Stream
📅 2022-03-09 
(638 days ago)
⌛ 1:00:11
ZainboarThaneshboar
188
Compare Hashed Passwords Using Bcryptjs
📅 2022-03-10 
(637 days ago)
⌛ 1:01:31
ZainboarToreyboar
🎬
Indian givers
Compare Hashed Passwords Using Bcryptjs
ZainboarToreyboar
189
Special Appearance
📅 2022-03-11 
(636 days ago)
⌛ 0:58:44
ZainboarThaneshboarKartikboar
190
Today's Stream
📅 2022-03-13 
(634 days ago)
⌛ 1:16:40
ZainboarToreyboar
🎬
Cold coffee, cold tea
Today's Stream
ZainboarToreyboar
191
How To Make Frontend Talk To The Backend - NodeJS
📅 2022-03-14 
(633 days ago)
⌛ 1:07:00
ZainboarThaneshboar
192
Today's Stream
📅 2022-03-15 
(632 days ago)
⌛ 1:05:51
ZainboarToreyboar
193
Today's Stream
📅 2022-03-17 
(630 days ago)
⌛ 1:21:59
ZainboarToreyboar
194
How To Apply Authentication When Saving NodeJs
📅 2022-03-18 
(629 days ago)
⌛ 1:05:27
Zainboar
195
How to Compare Passcodes Using Bcrytp Node.js
📅 2022-03-20 
(627 days ago)
⌛ 1:04:19
ZainboarToreyboar
196
Today's Broadcast
📅 2022-03-21 
(626 days ago)
⌛ 1:06:59
ThaneshboarToreyboar
197
Today's Stream
📅 2022-03-22 
(625 days ago)
⌛ 1:02:51
ZainboarToreyboar
198
Verify Passcode Saving Information to DynamoDB with NodeJs
📅 2022-03-23 
(624 days ago)
⌛ 1:03:09
ZainboarThaneshboar
🎬
Tough questions
Verify Passcode Saving Information to DynamoDB with NodeJs
ZainboarThaneshboar
199
Today's Stream
📅 2022-03-25 
(622 days ago)
⌛ 1:12:27
ZainboarToreyboar
200
Today's Stream
📅 2022-03-27 
(620 days ago)
⌛ 1:14:36
ZainboarToreyboar
201
Today's Stream
📅 2022-03-28 
(619 days ago)
⌛ 1:08:28
ZainboarThaneshboar
202
How To Do A Merge Using VSCode and Github
📅 2022-03-29 
(618 days ago)
⌛ 1:05:33
ZainboarToreyboar
203
Today's Stream
📅 2022-03-30 
(617 days ago)
⌛ 0:57:26
ZainboarThaneshboar
🎬
Tandoor? Wat even iz dat kind of fing
Today's Stream
ZainboarThaneshboar
204
Today's Stream
📅 2022-03-31 
(616 days ago)
⌛ 0:57:10
ZainboarToreyboar
🎬
This is why you don't click ops
Today's Stream
ZainboarToreyboar
205
Today's Stream
📅 2022-04-01 
(615 days ago)
⌛ 1:00:36
Zainboar
206
Today's Stream
📅 2022-04-03 
(613 days ago)
⌛ 1:06:56
ZainboarToreyboar
207
Get Board Columns from Frontend to Backend NodeJS
📅 2022-04-04 
(612 days ago)
⌛ 1:00:38
ZainboarThaneshboarToreyboar
🎬
Bish Bash Bosh
Get Board Columns from Frontend to Backend NodeJS
ZainboarThaneshboarToreyboar
208
Today's Stream
📅 2022-04-05 
(611 days ago)
⌛ 0:57:30
ZainboarToreyboar
209
Today's Stream
📅 2022-04-06 
(610 days ago)
⌛ 0:59:39
ZainboarThaneshboar
🎬
Zip first developer
Today's Stream
ZainboarThaneshboar
210
Today's Stream
📅 2022-04-07 
(609 days ago)
⌛ 1:04:46
Zainboar
🎬
Busted again
Today's Stream
Zainboar
211
Store String Array in DynamoDB using NodeJS
📅 2022-04-08 
(608 days ago)
⌛ 0:19:27
Zainboar
212
Today's Stream
📅 2022-04-10 
(606 days ago)
⌛ 1:07:24
Zainboar
213
Today's Stream
📅 2022-04-11 
(605 days ago)
⌛ 1:02:34
ZainboarThaneshboar
214
Today's Stream
📅 2022-04-12 
(604 days ago)
⌛ 0:27:43
Zainboar
215
Jira Organising & Beta Testing Day 1
📅 2022-04-13 
(603 days ago)
⌛ 0:58:09
ZainboarThaneshboar
216
Implement Passcode Tab Feature
📅 2022-04-17 
(599 days ago)
⌛ 0:58:49
ZainboarToreyboar
217
Beta Testing Fixes Part 2
📅 2022-04-19 
(597 days ago)
⌛ 1:00:24
ZainboarToreyboar
🎬
Torey the stinker
Beta Testing Fixes Part 2
ZainboarToreyboar
218
Beta Testing Fixes Part 3
📅 2022-04-20 
(596 days ago)
⌛ 1:01:02
ZainboarThaneshboar
🎬
Torcoders which are roarers
Beta Testing Fixes Part 3
ZainboarThaneshboar
🎬
Delusional Zain
Beta Testing Fixes Part 3
ZainboarThaneshboar
🎬
Hey guys, torey here
Beta Testing Fixes Part 3
ZainboarThaneshboar
219
Beta Testing Fixes Part 4
📅 2022-04-21 
(595 days ago)
⌛ 1:00:13
ZainboarToreyboar
220
Beta Testing 5
📅 2022-04-22 
(594 days ago)
⌛ 1:10:18
ThaneshboarToreyboar
221
Today's Stream
📅 2022-04-25 
(591 days ago)
⌛ 1:01:01
ZainboarThaneshboar
🎬
Zain's going platinum
Today's Stream
ZainboarThaneshboar
🎬
Doggy dog
Today's Stream
ZainboarThaneshboar
222
WebSocket Heartbeat & Thanesh's Farewell
📅 2022-04-27 
(589 days ago)
⌛ 0:51:08
ZainboarThaneshboar
223
Today's Stream
📅 2022-04-28 
(588 days ago)
⌛ 1:00:33
ZainboarToreyboar
224
Save Notes Through Websocket
📅 2022-04-29 
(587 days ago)
⌛ 0:51:30
Zainboar
225
Saving Object Through Websocket in DynamoDB
📅 2022-05-01 
(585 days ago)
⌛ 0:49:15
ZainboarToreyboar
226
Saving Object Through Websocket in DynamoDb
📅 2022-05-02 
(584 days ago)
⌛ 0:55:26
Zainboar
227
Today's Stream
📅 2022-05-05 
(581 days ago)
⌛ 1:01:32
ZainboarToreyboar
228
Welcome Back Kartik Party
📅 2022-05-08 
(578 days ago)
⌛ 0:55:32
ZainboarToreyboarKartikboar
229
Testing Prevention of XSS attack
📅 2022-05-10 
(576 days ago)
⌛ 0:29:16
Zainboar
230
How To Test Prevention XSS Attack
📅 2022-05-11 
(575 days ago)
⌛ 0:40:42
ZainboarKartikboar
🎬
Fartik
How To Test Prevention XSS Attack
ZainboarKartikboar
231
Fixing Websocket
📅 2022-05-19 
(567 days ago)
⌛ 0:49:55
Zainboar
232
Today's Stream
📅 2022-05-20 
(566 days ago)
⌛ 0:56:10
ZainboarKartikboar
233
Today's Stream
📅 2022-05-22 
(564 days ago)
⌛ 0:55:33
Zainboar
🎬
Second Favourite
Today's Stream
Zainboar
🎬
Disco Zain
Today's Stream
Zainboar
234
Today's Stream
📅 2022-05-24 
(562 days ago)
⌛ 0:23:19
Zainboar
235
Websockets bugs
📅 2022-05-27 
(559 days ago)
⌛ 1:00:51
ZainboarKartikboar
236
Websocket Bug Fix
📅 2022-05-29 
(557 days ago)
⌛ 0:49:50
Zainboar
237
Hook Up AWS Websocket
📅 2022-05-30 
(556 days ago)
⌛ 0:48:59
Zainboar
🎬
Keyboard allergies
Hook Up AWS Websocket
Zainboar
238
Hook up AWS Websocket Pt.2
📅 2022-05-31 
(555 days ago)
⌛ 0:53:07
Zainboar
239
Today's Stream
📅 2022-06-01 
(554 days ago)
⌛ 0:21:05
Zainboar
240
AWS Websocket Bug Fix
📅 2022-06-05 
(550 days ago)
⌛ 0:52:47
Zainboar
241
AWS Websocket Bug Fix Pt.2
📅 2022-06-06 
(549 days ago)
⌛ 0:23:52
Zainboar
242
Hook Up Board Columns to Websockets Nodejs + AWS Websockets
📅 2022-07-27 
(498 days ago)
⌛ 1:00:06
Zainboar
🎬
As you been poopin?
Hook Up Board Columns to Websockets Nodejs + AWS Websockets
Zainboar

Blog

Today we continued to research the 502 error and found out the error was coming from lambda and the actual error was 410. Turns out that the reason was we were sending response to the client while connecting to the websocket. We commented out the sending response part and it connected succesfully.

Subtitles

0:00:00
[Music]
0:00:24
what is going on guys welcome to uh
0:00:29
another session the first session i'll
0:00:32
say of 2022 of bill breaking fakes
0:00:35
brought to you by the roll coders
0:00:38
yes that is us baby so
0:00:41
uh i
0:00:43
really hope you have had a really
0:00:44
fantastic celebrations out of ending the
0:00:49
2021 and i have set your
0:00:53
goals for 2022 i know
0:00:56
i have how about you tori have you got
0:00:59
any
0:01:00
any gold set
0:01:02
oh yeah they were already set like
0:01:06
like i know what i'm doing like this
0:01:07
next two months for sure
0:01:09
oh look at that look at that
0:01:13
honestly it's easy dude it's easy it's
0:01:16
fine find a job
0:01:19
yeah by the way
0:01:21
shout out to any employees who are
0:01:23
watching this stream
0:01:25
tori is an amazing dev
0:01:28
and
0:01:29
he's actually contributing a lot to this
0:01:32
open source project
0:01:34
which we are enhancing um
0:01:37
from the past few months so you just
0:01:40
it's been an exciting journey
0:01:42
and yeah so
0:01:45
just before we actually start the action
0:01:48
of coding i would play the
0:01:50
acknowledgement or of the country so
0:01:54
here goes
0:01:56
i begin today by acknowledging the
0:01:58
traditional custodians of the land on
0:02:01
which we gather today and pay my
0:02:03
respects to the elders past present and
0:02:05
future i extend their respect to
0:02:08
aboriginal and torres strait islander
0:02:10
people here today
0:02:14
wonderful that is all done
0:02:17
and um
0:02:18
yeah so
0:02:20
let's
0:02:21
get right into
0:02:22
the fun part
0:02:24
so i don't know if you guys
0:02:27
remember or not but uh what we were
0:02:29
doing is um we were trying to integrate
0:02:34
websocket from uh
0:02:36
aws
0:02:38
into sam template
0:02:40
yeah well i'll say sam
0:02:44
not the template because that's the
0:02:46
written part as in the the coding part
0:02:48
of it
0:02:49
so yes i have been actually working on
0:02:52
it in my free time as
0:02:55
well getting all the infrastructure as
0:02:58
code
0:02:59
done and dusted as well
0:03:04
um so let's
0:03:07
share my screen
0:03:09
and
0:03:10
let's give you guys a tour of what i
0:03:12
have been up to so far
0:03:16
by the way just said this this
0:03:19
disclaimer i haven't been able to get
0:03:22
working but i'm this close this close
0:03:25
i'm pretty sure
0:03:27
nice
0:03:29
fantastic so
0:03:31
let's get on to sharing the screen
0:03:37
do that one right cool
0:03:41
so hi hi cute jesse
0:03:44
happy 20
0:03:46
20 20 22.
0:03:55
right uh so
0:03:57
what i need
0:03:59
okay so
0:04:01
uh
0:04:03
what i
0:04:04
have done
0:04:05
since
0:04:06
since the last session in my spare time
0:04:09
is i basically
0:04:11
uh did all these um requirements that we
0:04:15
needed to get the
0:04:17
connection from the websocket api to the
0:04:21
sam
0:04:22
the sam template
0:04:25
and
0:04:26
um so how i've actually done is
0:04:31
that by following some tutorials and
0:04:35
have you
0:04:36
have you done um this connecting the
0:04:40
websocket to sam
0:04:43
before tory as well
0:04:44
oh no absolutely no no
0:04:47
okay perfect looking forward to it
0:04:50
yeah yeah me too because
0:04:53
this is all a brand new
0:04:55
brand new knowledge for me as well as in
0:04:57
i'm learning applying
0:05:00
failing fixing learning applying paid
0:05:02
failing fixing
0:05:04
which is basically the name of the show
0:05:07
as well bring break and fix um okay so
0:05:13
explain you uh what i have been actually
0:05:16
up to
0:05:20
so where do i start i'm
0:05:22
just thinking where should i start from
0:05:25
okay cool so i think the easiest way is
0:05:28
to just
0:05:30
draw it
0:05:33
and
0:05:34
show you
0:05:36
all right
0:05:38
um so save this is our
0:05:41
client
0:05:42
okay
0:05:47
you
0:05:48
with me tori
0:05:50
yep
0:05:51
okay cool
0:05:52
yes
0:05:53
i said this is our
0:05:55
client and this is our
0:05:58
web socket
0:06:01
api
0:06:02
and everything
0:06:04
is actually uh yeah
0:06:08
everything is
0:06:11
over here
0:06:13
so what happens here is that um
0:06:17
[Music]
0:06:18
we
0:06:21
when we try to connect
0:06:23
our our our client
0:06:26
to the
0:06:29
websocket basically
0:06:32
he
0:06:32
sends um
0:06:36
a cen
0:06:38
request
0:06:42
or
0:06:43
um
0:06:45
in the
0:06:46
key value pairs
0:06:48
right
0:06:50
this is
0:06:51
what comes in the
0:06:53
there's something called a root
0:06:56
selection
0:06:57
expression
0:06:59
and what that does is it basically
0:07:03
so if you put
0:07:05
say
0:07:06
if
0:07:08
see how the ruse
0:07:11
selection
0:07:13
expression is
0:07:15
this as in dollar sign request
0:07:18
body
0:07:19
action
0:07:22
so what
0:07:24
when this is present in the websocket
0:07:28
api
0:07:30
our request
0:07:32
should have
0:07:33
whatever value is here in the json
0:07:37
response
0:07:40
so
0:07:40
if it's a message
0:07:43
say a message
0:07:46
or
0:07:47
action
0:07:48
or
0:07:50
test
0:07:53
anything
0:07:54
that's here that should be
0:07:57
okay
0:07:59
okay
0:08:02
is this all making
0:08:04
sense until now or not
0:08:06
yeah um
0:08:08
it makes sense to me
0:08:09
i think of it as as uh
0:08:12
like um
0:08:15
there's like a reducer pattern in
0:08:19
encoding so like i think of the example
0:08:21
and like like um
0:08:24
like uh react or
0:08:27
other state management
0:08:29
libraries you have this reducer and so
0:08:32
you
0:08:32
[Music]
0:08:34
which they probably borrowed from
0:08:35
obviously like event i think they just
0:08:37
borrowed it from events but like yeah
0:08:39
you just have an action
0:08:41
yeah the action the action is is like
0:08:44
some label essentially and then when
0:08:46
your api receives it it reads that it
0:08:50
reads what action you're sending
0:08:52
so like right right yeah
0:08:55
send
0:08:56
i don't know i forgot what you have but
0:08:58
like in the example i've seen is like
0:09:00
you can call it send message
0:09:03
okay okay cool and then a lot and then
0:09:05
along with the action
0:09:07
you'll send data maybe
0:09:09
maybe you'll send data along with it
0:09:11
like the like the message data that
0:09:14
you want to send to
0:09:16
right
0:09:17
along with along with it
0:09:19
okay
0:09:20
so
0:09:21
yeah
0:09:24
i think
0:09:25
uh
0:09:26
to the concept that you're talking about
0:09:29
you're absolutely right um i didn't know
0:09:32
about the reducing pattern but i've just
0:09:35
learned something
0:09:37
brand new again
0:09:39
but um
0:09:40
what
0:09:41
yeah this is
0:09:44
similar but
0:09:46
the only difference would be
0:09:48
their
0:09:50
this doesn't really have to be
0:09:53
action this could be basically anything
0:09:58
uh okay
0:10:00
as long as um
0:10:02
this matches this
0:10:06
oh i i mean not in the not in the yaml
0:10:09
but what you call like in that key value
0:10:13
like what you call the value for the
0:10:15
action key
0:10:16
right right yeah i i was gonna go there
0:10:20
so
0:10:21
please example i've called the value
0:10:24
save connect
0:10:27
so according to you what would
0:10:30
this be for um i think is connect one of
0:10:34
those like must-have
0:10:37
um
0:10:38
actions in the in the websocket api
0:10:43
so that one just connects that one just
0:10:45
triggers a lambda to connect the client
0:10:47
to the api
0:10:49
exactly
0:10:51
exactly so
0:10:53
basic
0:10:55
see the overall concept of this value
0:10:59
is that this
0:11:00
will be the action
0:11:03
as in if you want to have
0:11:05
connect then the
0:11:08
websocket api will read this value and
0:11:12
look for a lambda
0:11:15
present with the value as in
0:11:18
the lambda that's actually connecting
0:11:21
and if you do disconnect
0:11:26
then it will look for a lambda with uh
0:11:29
disconnect
0:11:31
label on
0:11:32
so
0:11:33
essentially
0:11:35
wherever the value is here it will
0:11:38
it will look for a
0:11:39
[Music]
0:11:41
a lambda
0:11:42
function that has this label
0:11:48
so
0:11:48
then um
0:11:50
this is where i've gotten up to so
0:11:54
i've done all the
0:11:57
lambda part so
0:11:59
say
0:12:00
this is our lambda
0:12:03
by the way we really hit this
0:12:06
drawing but
0:12:07
it was the job okay
0:12:12
it
0:12:13
conveys the meaning yeah
0:12:15
so say this is a lambda for
0:12:19
connect
0:12:21
this is for
0:12:22
disconnect
0:12:24
and this is for
0:12:27
default
0:12:29
okay
0:12:31
and
0:12:34
from what i
0:12:35
uh understood
0:12:37
that
0:12:39
if
0:12:40
if you have a certain value here
0:12:43
say
0:12:45
for example
0:12:49
um
0:12:49
count
0:12:51
then if this
0:12:53
value isn't pre
0:12:55
if there isn't any lambda
0:12:58
which is
0:13:00
labeled as count
0:13:02
then
0:13:03
the
0:13:04
api will send this request
0:13:07
straight to the default
0:13:10
okay
0:13:13
so any any action
0:13:15
label basically that's not connect or
0:13:17
disconnect will just automatically go to
0:13:20
default
0:13:23
we go to the default lambda yes
0:13:26
yes okay so if i had said
0:13:30
test
0:13:31
it will go to the
0:13:34
default if i had said
0:13:39
destroy
0:13:42
destroy it
0:13:44
and
0:13:47
it will like the
0:13:50
them does
0:13:51
a lot that you you wouldn't just
0:13:53
destroy but you will
0:13:55
you will go to the default and basically
0:13:58
give and
0:14:01
give an exception if i remember
0:14:03
correctly or give a kind of a meaningful
0:14:08
error
0:14:10
okay
0:14:11
yeah
0:14:12
cool so uh have you uh kind of have i've
0:14:16
been able to
0:14:18
explain
0:14:19
this
0:14:20
concepts
0:14:22
right
0:14:23
because this is a brand new concept for
0:14:25
me
0:14:27
i think you i think that that that
0:14:29
covers like how the api
0:14:32
websocket gateway works yeah yeah
0:14:35
perfect so
0:14:37
now that that is out of the way so i'll
0:14:40
just
0:14:41
go to the
0:14:44
go to this code so this part is i will
0:14:49
uh the entire websocket here
0:14:53
okay
0:14:54
and then i've also created a test route
0:14:59
because i wanted to test the lambda
0:15:03
integration
0:15:08
and then i've
0:15:11
and these are the
0:15:13
functions so at the moment i'm just
0:15:15
working with the
0:15:17
connect handler function
0:15:20
because i just
0:15:22
want to take baby steps and make sure
0:15:25
it connects
0:15:26
and then i've also
0:15:29
configured the
0:15:31
permission here
0:15:33
as in
0:15:34
allowing
0:15:35
[Music]
0:15:37
the
0:15:38
api gateway and then this
0:15:42
lambda integration is um
0:15:45
calling
0:15:47
this
0:15:49
lambda function here
0:15:51
nice
0:15:53
all right hope that makes sense
0:15:57
when i look at the animal i'm like okay
0:15:59
i believe
0:16:03
[Applause]
0:16:05
which is why
0:16:06
i've at said hope that makes sense
0:16:09
because it's not working
0:16:12
at the moment good job man
0:16:15
good job i mean
0:16:17
this is this is rough for me like doing
0:16:19
the ammo isn't like wow
0:16:22
yeah perfect man
0:16:27
that's all right
0:16:30
um okay
0:16:32
where was i
0:16:34
um
0:16:36
yeah so what we want to do now is
0:16:41
basically i'm going to deploy this
0:16:45
api
0:16:48
and we will figure out
0:16:51
what is working and what isn't
0:16:54
because the last time i
0:16:57
did it i was getting uh some kind of uh
0:17:01
um
0:17:03
some json mapping
0:17:06
error which
0:17:08
i was still in the process to figure out
0:17:12
why was that
0:17:14
okay let's close this
0:17:18
all right um
0:17:21
sound deploy
0:17:26
i know i need to
0:17:28
delete it first
0:17:30
yes so this is to test the websocket
0:17:34
uh
0:17:35
scroll delete stack yeah i wanna delete
0:17:38
it
0:17:40
there we go that's deleted and now i
0:17:43
wanna deploy again
0:17:47
here we go
0:17:58
all right
0:18:01
whoops where did i mess up
0:18:04
delete oh
0:18:06
i've done it too quick
0:18:09
the delete is still in progress
0:18:19
yes the delete my friend is still in
0:18:23
progress
0:18:24
oops it wasn't that one so i need that
0:18:28
one to come over there
0:18:35
and then
0:18:36
i need
0:18:37
a they're popular by themselves
0:18:42
cool so let's go to cloud formation
0:18:50
code so
0:18:51
as you can see
0:18:52
that's been deleted
0:18:54
so now if we try and create it again
0:18:57
that should work
0:19:11
all right
0:19:13
it's just deploying at the moment
0:19:18
sergio devin tori
0:19:22
not bad man i'm just like um
0:19:25
like
0:19:26
like prepping
0:19:28
uh
0:19:29
for my interview like on the 12th and
0:19:32
then just
0:19:33
like working on my own project and also
0:19:36
just looking for
0:19:39
fur rules too but yeah it's like
0:19:43
it's good
0:19:45
oh fantastic man so is that the one with
0:19:49
um shopify
0:19:51
uh yeah yeah i have uh that's on the
0:19:54
that's on the 12th
0:19:56
oh okay nice one
0:19:59
how's the prep going
0:20:01
i mean it's it's good like um
0:20:04
i i have somebody i have another
0:20:07
engineer who works at t-mobile
0:20:10
um who i talk to
0:20:12
um and he's he's he's really helpful so
0:20:16
and he's also looking for a role too so
0:20:18
we like meet up like
0:20:21
like maybe once or twice a week and do
0:20:24
like
0:20:25
just like mock mock interviews on the
0:20:28
for the front end
0:20:31
yeah like it's good a lot of a lot of
0:20:33
learning gets done for sure
0:20:37
that's pretty epic man it's really
0:20:41
good to have
0:20:42
someone who's as in
0:20:45
um in the same situation as yours and
0:20:49
you
0:20:50
you guys actually being
0:20:52
accountable um
0:20:54
to
0:20:55
each other and that also keeps you
0:20:58
motivated but most of all
0:21:01
it keeps you in a really good practice
0:21:03
as well
0:21:05
yeah yeah it's it's it's really it's
0:21:08
really really good um like um
0:21:11
i'm good with react and he's he's kind
0:21:14
of like learning more about react so i'm
0:21:16
a bit further along on that so i can
0:21:18
really help him
0:21:20
in that regard um and then he just
0:21:24
teaches me a lot of other
0:21:26
stuff about you know working on the team
0:21:28
there and then like yeah just like the
0:21:31
other interview aspects that are
0:21:33
non-technical that's really helpful too
0:21:36
and he has like this awesome radio voice
0:21:39
yeah
0:21:40
so wow yeah so i'm like i'm like you
0:21:43
must do so well in your interviews
0:21:47
your voice is just so smooth
0:21:49
ah
0:21:52
interesting stuff
0:21:55
so was he uh
0:21:57
uh
0:21:58
has he done a conference
0:22:00
career shift as in from
0:22:02
some other profession to
0:22:05
uh
0:22:06
i'd say
0:22:07
oh just
0:22:09
yeah
0:22:10
he um he started as uh
0:22:14
he started as
0:22:17
i think if i remember correctly he
0:22:19
started as um it support at t-mobile for
0:22:23
like a long time and moved up there to
0:22:26
like a more i don't know senior level or
0:22:28
something and then
0:22:30
and then he learned like
0:22:33
this dog and then he
0:22:36
i'll talk later man this dog's gonna
0:22:38
annoy me i gotta kick it out of here all
0:22:41
right cool
0:22:45
so
0:22:46
uh
0:22:47
so the sam
0:22:49
project has been
0:22:51
deployed and everything has been done
0:22:54
so
0:22:55
what we're doing at the moment is uh
0:22:57
i've just enabled um the
0:23:01
the cloud watch
0:23:02
logs and i've also
0:23:07
made sure that is
0:23:09
our connect route
0:23:12
key
0:23:13
is actually using the lambda proxy
0:23:16
integration
0:23:17
so that's been done and um
0:23:20
let's test our
0:23:22
websocket for
0:23:24
connect so
0:23:26
for the con
0:23:28
for
0:23:29
testing it well i've actually installed
0:23:32
this package
0:23:33
as in it's an
0:23:36
npm package called
0:23:40
ws cat
0:23:41
which um i'm assuming stands for
0:23:44
websocket cat
0:23:46
and
0:23:48
this
0:23:48
hyphen c is a short form for
0:23:52
hyphen hyphen connect
0:23:55
so here
0:23:56
actually i'll just
0:23:58
go to that
0:23:59
um
0:24:02
cat we go and
0:24:05
so
0:24:06
this is basically what i have
0:24:09
installed to
0:24:11
test the websocket in the terminal
0:24:14
and it's basically a
0:24:17
care and the flag that i'm using
0:24:21
to connect is
0:24:23
this
0:24:24
one
0:24:25
so hyphen c
0:24:27
is is a short for
0:24:29
iphone iphone connect and then here i've
0:24:31
got my url as well which is over here
0:24:35
all right so let's
0:24:37
press enter and see what do we get good
0:24:40
luck
0:24:46
yeah
0:24:47
ah
0:24:48
five or two okay so basically is working
0:24:51
but
0:24:53
it's not kind of
0:24:56
working as well if that makes sense
0:25:00
what do you think is what do you think
0:25:01
the problem is
0:25:03
um
0:25:06
502
0:25:08
to be honest if it was a 500 then it
0:25:11
would have been
0:25:13
the um
0:25:15
you can't found it
0:25:17
oh so it's in the lambda you think
0:25:22
that's what i'm
0:25:24
gonna check because i purposely
0:25:27
enabled the
0:25:30
cloud watch
0:25:31
logs for
0:25:33
this
0:25:34
api
0:25:37
so
0:25:38
500
0:25:39
is
0:25:40
is
0:25:40
uh
0:25:41
like internal server error yeah yeah
0:25:44
okay
0:25:45
internal server
0:25:47
okay
0:25:49
so i need to check the time zone 959
0:25:53
yeah this is the one
0:25:54
let's see where did we go wrong
0:26:00
oh so the lambda execution has filled
0:26:03
with the status 200 okay
0:26:06
so the status is 200 which means it's an
0:26:09
okay one
0:26:12
and
0:26:15
due to a customer function
0:26:17
410
0:26:19
interesting i'm
0:26:21
gonna actually copy and paste this into
0:26:23
google
0:26:26
let's see what do i get
0:26:29
200
0:26:31
with a
0:26:33
customer function error
0:26:36
okay
0:26:38
just pause that one
0:26:41
it looks like you that's in python
0:26:45
don't don't need then python
0:26:50
node
0:26:54
do you have a do you have a lambda
0:26:57
called connect
0:26:58
yes
0:26:59
lambda connect i'm just actually good
0:27:03
that you point it out i'll make you sure
0:27:06
as well there's
0:27:08
so this is a
0:27:10
websocket
0:27:12
connect handler
0:27:14
okay yeah it's there
0:27:17
what what's in the code if you
0:27:20
yeah i'll just show it to you
0:27:22
so this is oh hang on a minute
0:27:26
i can check my bs code too
0:27:30
if i
0:27:32
i don't know if you've uploaded it
0:27:35
uh i haven't uploaded it yet
0:27:38
okay yeah
0:27:41
actually it's good that you pointed it
0:27:44
out because i think
0:27:48
when you pointed it out i might have
0:27:50
cons
0:27:52
known the problem already
0:27:54
on connect oh
0:27:56
no
0:27:58
so basically i was
0:28:00
checking if this matches the
0:28:03
file num um file name
0:28:05
on connect
0:28:07
yeah that's all but that doesn't seem to
0:28:09
be
0:28:10
the problem so this is in my
0:28:14
on connect
0:28:15
so basically what so i've got this
0:28:19
uh code from a repo as well
0:28:22
as in from the one of the online sources
0:28:26
and
0:28:28
yeah so
0:28:30
basically i'm i'm trying to get a socket
0:28:33
connection
0:28:35
give um
0:28:37
the
0:28:38
domain name stage and
0:28:40
connector is coming
0:28:42
from the event so
0:28:44
request
0:28:46
context object
0:28:47
and then this is the end point
0:28:54
ah
0:28:55
right this is what happens if you
0:28:58
basically copy and um well not copy and
0:29:01
paste but manually
0:29:04
write the code
0:29:05
as it is
0:29:08
this is interesting
0:29:12
yeah
0:29:13
because i don't really have any domain
0:29:16
name here
0:29:18
this must be oh
0:29:20
yeah
0:29:21
sorry endpoints
0:29:26
can you
0:29:28
can is there a way to like
0:29:30
run the
0:29:34
what if what if instead of
0:29:39
what if you just like returned it to
0:29:41
like a 200 with the message high just to
0:29:44
see if the lambda actually
0:29:47
if it finds the lambda or you you you
0:29:50
certainly it's like it finds that lambda
0:29:54
so what i actually did is
0:29:58
this is the actual
0:30:00
lambda
0:30:01
code
0:30:02
so it's actually
0:30:04
calling
0:30:05
this function
0:30:09
and it's
0:30:12
and it's sending this
0:30:15
this message
0:30:17
so the but the does the event
0:30:20
the event
0:30:23
the event object doesn't it always have
0:30:26
a domain name
0:30:28
to be honest
0:30:30
i don't i wouldn't i wouldn't know about
0:30:32
that
0:30:34
how about if we keep google googling
0:30:37
that
0:30:39
error because i'm pretty sure the area
0:30:41
that you pointed out in
0:30:44
something must have to change around
0:30:47
that as well
0:30:49
yeah i don't know i'm not that well
0:30:51
versed in
0:30:54
like
0:30:55
the lambdas and everything to be honest
0:30:56
that's all right
0:30:59
all we're doing is
0:31:01
learning so
0:31:02
all fine
0:31:04
um we were wait
0:31:06
was this the one
0:31:08
okay here we go
0:31:10
uh
0:31:11
lambda execution failed for the state
0:31:13
detail
0:31:14
customer error
0:31:16
the provided key does not match the
0:31:18
schema what
0:31:20
so i've got this error here
0:31:25
which is
0:31:28
410
0:31:31
that's really helpful
0:31:35
all right i'm looking it up let's see if
0:31:36
i can find something
0:31:39
[Music]
0:31:42
oh oh
0:31:43
serverless
0:31:46
okay nice
0:31:49
um it looks like it is related to well
0:31:52
according to this article it looks like
0:31:54
it might be related to websockets so
0:31:57
yeah cool so it's a long article hold on
0:32:00
i'm trying to
0:32:01
reason
0:32:02
all right um
0:32:05
4 10 error
0:32:07
code means the connection is gone
0:32:10
or isn't established yet depending on
0:32:12
your use case
0:32:15
um you may want to so i think it's
0:32:18
saying that
0:32:20
okay you cannot send a websocket message
0:32:23
via the management api
0:32:25
in the connect route
0:32:27
that needs to succeed before the socket
0:32:30
connection will amount allow messages to
0:32:32
flow
0:32:33
you will get a 410 code meaning the
0:32:36
connection is gone or doesn't exist
0:32:39
so something's wrong with the connection
0:32:41
i take it
0:32:42
yeah you shall or obviously because if
0:32:46
it was
0:32:47
connected then this
0:32:54
this lambda
0:32:56
would have
0:32:57
logs here
0:32:59
hang on oh right right this has logs
0:33:02
here
0:33:02
okay
0:33:03
this okay
0:33:05
might be a big
0:33:06
perfect good
0:33:08
one so go on exception
0:33:11
okay
0:33:12
um
0:33:13
massive code message gone status code
0:33:17
alright but what's the actual
0:33:20
goal exception
0:33:23
error type going exception
0:33:26
looks like it did log that event object
0:33:28
too
0:33:33
and
0:33:35
um
0:33:36
i think
0:33:37
i think the the second one from the top
0:33:40
for the info headers host
0:33:44
oh yeah second
0:33:45
yeah yeah
0:33:47
that's the event
0:33:48
so does that have a
0:33:50
domain property yeah i'm just
0:33:53
yeah i'm just
0:33:55
checking that as you speak
0:33:57
because that's the first thing that came
0:33:59
into my mind that this
0:34:01
need to have everything that
0:34:03
we have over there
0:34:05
oh here we go yeah that
0:34:08
yeah hang on
0:34:10
isn't this really the one
0:34:13
i'm just gonna confirm that is that the
0:34:16
api
0:34:18
ac yeah okay that is the one
0:34:21
which is
0:34:22
good
0:34:26
that's good yeah
0:34:29
and then the stage
0:34:31
name
0:34:32
is
0:34:34
of uh
0:34:38
here
0:34:39
hang on
0:34:41
have i said that properly the
0:34:45
domain
0:34:46
name
0:34:47
yeah and stage yeah that's fine
0:34:51
what's connection connection id is there
0:34:54
too
0:34:55
yeah
0:34:56
l u here every every lambda should have
0:34:59
a connection id
0:35:01
yeah exactly um
0:35:03
so host is
0:35:05
this one
0:35:07
promising client max window okay that
0:35:10
shouldn't really matter
0:35:13
uh okay that's the date connect even
0:35:16
event type connect
0:35:19
yeah yeah i d
0:35:22
so what's on
0:35:24
gone
0:35:25
exception
0:35:27
so why
0:35:28
what does it mean
0:35:31
that's okay unknown error
0:35:33
post to connection
0:35:35
are you trying to use a personal
0:35:37
connection inside the connect handler
0:35:39
the websocket
0:35:41
the web topic connection is only created
0:35:44
after
0:35:48
oh okay the connect handler has reached
0:35:51
oh
0:35:52
so are you
0:35:53
are you trying to post the message
0:35:58
are you trying to be honest
0:36:01
yes i was here
0:36:04
okay i think it just tried to
0:36:07
cancel that out
0:36:09
or i mean uh commented out sorry yeah
0:36:13
it works
0:36:15
i think that's i think that's the
0:36:17
problem
0:36:18
yeah that makes sense because the other
0:36:20
article i read said
0:36:23
like you're trying to send a message
0:36:25
before it connects and i was confused
0:36:27
because i didn't know what to do
0:36:29
right so i think that's what that four
0:36:31
tenant error is is that
0:36:33
it hasn't established a
0:36:35
a connection to the
0:36:37
websocket api server
0:36:40
before you can send a message
0:36:43
ah okay so it hasn't connected yet but
0:36:47
i'm also
0:36:50
telling it that i don't care if you
0:36:53
connect it or not but i want you to send
0:36:56
a message
0:36:57
yeah
0:36:58
ah
0:36:59
i mean
0:37:00
it might it might work if that get
0:37:03
socket
0:37:05
what's that get socket contacts thing
0:37:08
oh i never mind i don't think it's going
0:37:10
to work never mind forget it
0:37:12
i think that gets socket contacts
0:37:18
wait what does that do
0:37:20
so is basically just
0:37:24
getting their socket crimp
0:37:27
contacts
0:37:28
as an oh and then just names
0:37:30
suggest
0:37:32
so is
0:37:34
why does is that is
0:37:37
sets all the
0:37:40
variables
0:37:42
uh into the event uh
0:37:45
request context and
0:37:47
then it initiates the
0:37:50
api game management on
0:37:54
on the
0:37:55
uh
0:37:56
endpoint
0:37:58
which is from here and then he basically
0:38:01
send us sends the data
0:38:05
oh and
0:38:06
this
0:38:08
and then it returns the connection id
0:38:10
endpoint and the data that's sent as
0:38:14
well
0:38:15
yeah poster connection so is that get
0:38:18
socket contacts function
0:38:21
um is that is that what you need to
0:38:24
to be honest establishment
0:38:26
okay
0:38:27
um
0:38:29
yeah to be honest i got that
0:38:32
code from the online blog so i'm
0:38:36
thinking that this
0:38:37
only
0:38:38
this part should be fine
0:38:42
and we don't even have to send it
0:38:46
because it's actually
0:38:48
creating an error into opposed to
0:38:50
connection if you see the
0:38:53
if you see the thing here
0:38:56
in the message as in
0:38:59
uh should not oppose to connection
0:39:02
inside the
0:39:04
connect handler which i was
0:39:07
doing it here
0:39:09
so so basically for a connect
0:39:12
lambda
0:39:13
all you need is basically just the uh
0:39:17
uh empty lambda turning return uh status
0:39:20
200 to make a connection
0:39:25
that's what it seems is
0:39:30
yeah
0:39:32
all right so what i'm gonna do probably
0:39:35
is a way to send no yeah i'm gonna
0:39:39
basically comment this one out
0:39:42
i don't need this send anymore
0:39:45
and
0:39:46
get socket event yeah i need this one
0:39:50
but you can save that for your your
0:39:52
default handler right
0:39:54
yeah yeah
0:39:57
all right let's try and check this one
0:40:00
out
0:40:04
and see what
0:40:05
gives us now
0:40:10
i wonder if you can send a body in the
0:40:12
return
0:40:15
you can try that
0:40:17
so i would assume you can
0:40:22
maybe not
0:40:24
yeah
0:40:26
it doesn't cause anything to
0:40:29
try so why not
0:40:32
like it might cost another 10 minutes of
0:40:34
debugging
0:40:36
sorry
0:40:38
but i guess
0:40:40
that's how we
0:40:41
learn isn't it
0:40:43
as in if we
0:40:44
know that oops we were wrong this
0:40:47
shouldn't be there
0:40:48
then we know that there is actually a
0:40:51
fact that it should not be there
0:40:54
because it actually
0:40:55
blew up
0:40:57
in front of us
0:40:58
yeah
0:40:59
right cool
0:41:01
so
0:41:02
let's
0:41:03
have i done some build yes i have so now
0:41:06
let's deploy it
0:41:09
hopefully we can get this working in
0:41:12
tonight's
0:41:13
section
0:41:15
and then
0:41:16
move on to the disk
0:41:19
disconnection
0:41:21
one
0:41:26
so in the in the in the future
0:41:28
implementation like the on connect
0:41:31
lambda will
0:41:33
like
0:41:34
basically take the
0:41:36
the connected user and toss them in
0:41:40
dynamodb in the table to say is
0:41:42
connected okay
0:41:45
yeah
0:41:46
and then as soon as the user disc
0:41:49
disconnects it will actually remove
0:41:52
their
0:41:54
row in
0:41:55
in dynamodb completely
0:42:03
okay so this is oh my goodness you have
0:42:06
no idea how much fun
0:42:08
i'm having at the moment just
0:42:10
experimenting learning checking
0:42:15
me too man blowing things up i love this
0:42:17
stuff
0:42:18
yeah
0:42:20
right there we go cool so the moment of
0:42:22
truth now
0:42:24
um i
0:42:26
i just deployed it but didn't have to do
0:42:28
that yeah cool so now i
0:42:31
just want to check if i have to set the
0:42:34
lambda proxy into
0:42:36
migration again on the
0:42:39
websocket api
0:42:41
in the connect one yeah it
0:42:44
must be there all right cool so let's
0:42:47
try out and see what do we get
0:42:52
are you ready
0:42:54
[Music]
0:42:56
all right there we go oh sexy
0:43:00
that's connected
0:43:02
nice
0:43:04
good job zane nice job
0:43:06
i know
0:43:08
you're the one who
0:43:10
pointed
0:43:11
out my copy and pasting error
0:43:15
here we go
0:43:16
now man oh it's
0:43:18
nice job teamwork
0:43:20
teamwork
0:43:23
we both did it
0:43:25
right but did it print out any any any
0:43:28
connect
0:43:30
thing over there i'm just curious now
0:43:35
let's have a look if it did
0:43:39
59 no this might not be it
0:43:45
um
0:43:46
no
0:43:53
okay
0:43:54
uh now this one i was working on yes
0:43:59
today so this probably can
0:44:01
be deleted
0:44:04
any chance you can send me the the web
0:44:07
socket url
0:44:09
yes
0:44:10
there's a there's a nice
0:44:12
website called pi socket
0:44:15
and i know
0:44:16
yeah yeah i know about that
0:44:20
one more
0:44:21
yeah
0:44:22
i want to see if it gives the body
0:44:25
ah all right i see
0:44:27
maybe
0:44:28
uh the console the
0:44:30
the
0:44:31
what is it w
0:44:32
s cat
0:44:33
yeah websocket cap
0:44:38
um i'm just checking where was the
0:44:41
[Music]
0:44:42
web socket yeah there we go
0:44:45
and stages
0:44:47
that one
0:44:48
and there we go
0:44:52
oh and i'll just copy and paste that one
0:44:55
into the private chat so you can have
0:44:57
that as well
0:44:58
thank you
0:45:01
no problemo
0:45:06
yeah if you can do that that'd be
0:45:07
awesome
0:45:10
all right just want to check if they
0:45:12
actually produced
0:45:14
something
0:45:17
so that didn't actually produce anything
0:45:20
which is interesting
0:45:21
i was hoping they will produce the logs
0:45:25
that we can have look at
0:45:28
well i connected
0:45:29
it connected but i didn't i didn't see
0:45:31
the the body the connect
0:45:34
ah
0:45:35
right okay
0:45:38
that's good then as long as it connects
0:45:41
that's exactly what we want
0:45:46
perfect
0:45:47
tea work
0:45:50
all right so how about if we contin
0:45:52
actually
0:45:53
we won't need
0:45:55
actually i'm not i'm not gonna
0:46:00
not gonna um
0:46:02
i'm not gonna
0:46:03
uncommend this i'll just
0:46:06
leave them here
0:46:07
because we might need that
0:46:09
in
0:46:10
the
0:46:13
future
0:46:15
okay so if i do basic
0:46:20
okay never mind
0:46:23
so let's move on to the disk connects
0:46:26
one
0:46:36
okay
0:46:37
i'm gonna try my best
0:46:39
to complete the dis
0:46:42
connect one in nine minutes
0:46:46
all right
0:46:48
let's see if i can make it
0:46:51
oh which was that one
0:46:55
i think you can just copy the connect
0:46:57
one
0:46:58
and then just
0:47:00
like your connect function i think it's
0:47:02
the same thing
0:47:03
okay
0:47:04
i think it's i think it's in amazon the
0:47:07
api gateway is where it knows to
0:47:09
disconnect i don't think you have
0:47:13
i'm just kind of like
0:47:15
making stuff up to be honest guys
0:47:18
i assume that's the way it works is like
0:47:21
okay
0:47:22
this connect end point and this
0:47:23
disconnect endpoint
0:47:25
okay interesting
0:47:28
like i said i'm just kind of missing it
0:47:29
yeah like that was based on my
0:47:32
my vague memory of the reading
0:47:35
ah right and the videos we watched you
0:47:38
know let's try that
0:47:40
actually because i really i'm really
0:47:42
curious if that is the case actually
0:47:46
so end point is that one request context
0:47:50
yeah cool status okay perfect
0:47:54
all right let's oh no no we would have
0:47:57
to make changes to our
0:48:01
lambda function uh
0:48:04
template yeah mo as well
0:48:09
connect so what if i just copy and paste
0:48:13
i would really not copy and paste it but
0:48:16
i really wanna see if this works
0:48:22
connect
0:48:26
handler function
0:48:28
on connect this causes disconnect
0:48:32
dude
0:48:34
configure yet api can disconnect
0:48:40
yep that is it
0:48:42
just connect this connect handler
0:48:44
function yeah
0:48:46
and then function ref which would be
0:48:48
disconnect as well
0:48:55
oh okay let's try this
0:48:58
tabs
0:49:00
okay if we
0:49:02
do this one as well i i'm not entirely
0:49:05
sure if this one as in how i'm doing at
0:49:08
the moment will work
0:49:10
but we'll find out if it does
0:49:14
locations
0:49:17
cure
0:49:26
right let's give this a shot
0:49:34
and see how much ever messed up
0:49:41
would be nothing it could be everything
0:49:53
oh okay
0:49:55
got the dot i found the dog
0:49:58
fantastic
0:49:59
from aws
0:50:00
[Music]
0:50:04
anything interesting there
0:50:07
um
0:50:19
oh it says if authorization fails on
0:50:22
connect the connection will not be
0:50:24
established the client will receive a
0:50:26
401 or 403 response what did we get 410
0:50:30
error
0:50:31
410 yeah okay
0:50:34
um
0:50:43
right um this is not being able to
0:50:46
deploy so the reason is the tesla lambda
0:50:50
integration
0:50:52
it's a slam
0:50:53
null values are not allowed in templates
0:50:56
where did i give null values
0:50:59
i didn't give any
0:51:00
known values
0:51:04
really i literally copied and pasted the
0:51:07
working one
0:51:11
maybe it's the white's white space
0:51:15
it must be the white space
0:51:17
however if i do just
0:51:21
um
0:51:23
control p yeah format format
0:51:28
document there's no ah
0:51:31
right
0:51:34
what do some validate
0:51:37
and then
0:51:38
t
0:51:41
and then template dot emo
0:51:55
all right again why
0:51:57
ever
0:52:01
i was scrambler
0:52:11
okay so this is valid
0:52:13
wait where am i messing up here
0:52:16
um oh so am i having two lambda
0:52:20
integration and that's why it's not
0:52:22
working
0:52:26
um
0:52:27
[Music]
0:52:29
how did
0:52:30
that guy on the block did
0:52:35
build
0:52:36
aws
0:52:38
websocket sam
0:52:42
okay
0:52:44
yeah it was this one i suppose
0:52:48
yeah
0:52:51
yeah i think it was this one that got
0:52:53
the code
0:52:55
from
0:52:56
yeah it was this one basically
0:52:59
so what how many
0:53:02
has he got the lambda authorization
0:53:04
don't need that
0:53:08
uh
0:53:10
connects roots so it's got one
0:53:12
tesla lambda into integration
0:53:16
oh so it's go only one
0:53:19
test lambda integration
0:53:21
because it's only testing one thing
0:53:24
there of obviously
0:53:26
would have only won
0:53:30
oh
0:53:40
um
0:53:44
okay i need something else
0:53:48
which one which one is it this can send
0:53:51
message ah
0:53:52
it must be here
0:53:54
so scan db scan
0:53:58
you can delete parameter
0:54:02
deploy no
0:54:05
on disconnect function
0:54:07
remove the record corresponding with the
0:54:10
specified connection id
0:54:13
table name
0:54:22
um and then on connect
0:54:29
but how do i
0:54:30
delete item
0:54:35
table status code
0:54:39
commands then you can do this
0:54:41
in one minute
0:54:53
um
0:54:54
chat app
0:54:56
okay that this is kind of what we need
0:54:59
right so score sim
0:55:02
connect integration disconnect route
0:55:06
right
0:55:08
disconnect into
0:55:10
so it's called the route separate and
0:55:12
then the integration separate
0:55:16
okay
0:55:18
and send russian integration
0:55:23
connection tape oh on permission on
0:55:26
connect function
0:55:28
okay this is gonna take a bit more time
0:55:32
it's not gonna happen in nine minutes
0:55:38
all right fine
0:55:41
howard and tory
0:55:43
i'm confused now not by you
0:55:49
i'm reading about the the disconnect
0:55:52
yeah and i and i thought
0:55:55
like i could be wrong i gotta like watch
0:55:57
something again now but i thought that
0:56:00
it would just be as simple as you
0:56:02
execute that lambda and
0:56:05
naively thought that you would know how
0:56:08
to disconnect that client but if you
0:56:10
think about it like
0:56:11
of course that doesn't work because like
0:56:14
you don't know which connection to to
0:56:16
disconnect right ah
0:56:19
yeah yeah yeah true
0:56:22
so actually makes sense yeah and so i
0:56:25
was like oh yeah like of course that's
0:56:27
silly but
0:56:29
so the thing is the thing that the docs
0:56:32
say that's confusing me
0:56:34
is it says
0:56:36
so the websocket connection can be
0:56:38
closed by the server or by the client so
0:56:41
like you know they can
0:56:43
close it on their end or your your
0:56:46
serverless function or whatever close it
0:56:50
um but so that so
0:56:53
the
0:56:56
when the connection is already closed is
0:56:59
best so
0:57:00
so it says the disconnect
0:57:03
lambda fires after they disconnect not
0:57:06
before
0:57:08
so like you don't use it to disconnect
0:57:12
the client from the websocket you use it
0:57:15
to do something like remove them from
0:57:17
your dynamodb table
0:57:21
ah so
0:57:23
here's the thing i don't understand like
0:57:25
it doesn't provide clear instructions on
0:57:27
how you actually disconnect a client
0:57:33
i don't i don't i don't know i'm like
0:57:35
wouldn't that
0:57:36
should wouldn't that just be as in
0:57:39
deleting their connection
0:57:42
id from the database
0:57:46
well the database
0:57:49
would
0:57:51
um
0:57:52
because if you see here i i saw this
0:57:56
article earlier on
0:57:58
yeah and in that one it basically said
0:58:03
what we should be doing
0:58:05
so if you see
0:58:06
this part here
0:58:09
um
0:58:09
[Music]
0:58:12
yeah
0:58:12
so
0:58:14
this is a on
0:58:16
connect
0:58:17
function it inserts the connection id
0:58:20
value
0:58:22
from the request content um context to
0:58:24
the dynamodb table
0:58:26
okay
0:58:27
so basically that tells that okay this
0:58:31
this client has been connected
0:58:34
and then on disconnect
0:58:36
function it removes
0:58:38
the record
0:58:40
corresponding to their specified
0:58:42
connection id value
0:58:45
which i'm assuming that if
0:58:48
the connection idea has been removed
0:58:51
then obviously if uh they will lose
0:58:54
connection automatically
0:58:57
uh well i
0:59:01
i think you don't need dynam like you
0:59:03
will use dynamodb yeah but i i think you
0:59:07
don't need dynamodb to keep track of
0:59:11
well you need it to keep track of who's
0:59:13
connected who's not connected yeah but
0:59:15
there should be another way where like
0:59:18
so like you use the command line tool to
0:59:21
connect to the websocket
0:59:24
right so there should be another way too
0:59:26
where you can like
0:59:28
call some endpoint on aws and disconnect
0:59:31
you without even using dynamodb you know
0:59:34
what i'm saying
0:59:36
ah
0:59:37
yes i know exactly what you're talking
0:59:40
about now
0:59:41
so basically you don't really want to be
0:59:43
dependent on dynamodb
0:59:46
right because you may you may remove
0:59:49
that person from the
0:59:51
from dynamodb but that doesn't mean the
0:59:54
websocket connection is closed
1:00:00
okay yeah
1:00:01
yeah those are two different things so i
1:00:03
i'm confused
1:00:05
how do you
1:00:06
how do you kill someone's websocket
1:00:08
connection i mean if they if they close
1:00:11
their browser window i think the
1:00:13
connection's like terminated
1:00:15
right
1:00:16
i think the server sits there and waits
1:00:19
for some
1:00:20
amount of time and then if it doesn't
1:00:22
hear like a ping from them then it
1:00:25
probably just like kills the connection
1:00:27
but there should be a way where
1:00:31
like you should be able on the server
1:00:33
side to terminate the connection too but
1:00:36
i just don't understand how you do it
1:00:38
yet because
1:00:39
that's the part i'm confused about i
1:00:41
guess
1:00:44
yeah i think i totally understand what
1:00:46
you mean
1:00:48
like
1:00:50
these two processes
1:00:52
should be as in
1:00:54
by themselves
1:00:56
like
1:00:57
uh there should be a
1:01:00
one process for disconnect and then
1:01:02
another process to actually delete the
1:01:06
connection
1:01:07
id
1:01:09
but
1:01:10
yeah i'm still
1:01:11
i'll probably have to research
1:01:14
as in where and if that exists because
1:01:19
like i said
1:01:21
it's a brand brand new thing
1:01:23
i'm doing and
1:01:26
if you want me to
1:01:28
ask that okay how does this work i would
1:01:32
just go straight to google and say okay
1:01:34
let me
1:01:35
let me find out for you yeah yeah well i
1:01:39
was disappointed i was i was thinking oh
1:01:42
i just called this lambda and it would
1:01:44
disconnect the client well obviously not
1:01:46
because the lambda doesn't know that
1:01:49
you're the same person who connected
1:01:53
like previously because it's not a it's
1:01:55
not a
1:01:56
these lambdas are decoupled they're not
1:01:58
like uh express
1:02:00
server app where everything's
1:02:03
you know 24 7. so too bad
1:02:09
well
1:02:10
the best part is that we got the
1:02:12
connection working so yeah that's that's
1:02:14
all looking fantastic
1:02:17
thanks to
1:02:18
our both enthusiasm
1:02:20
of learning willing to fail and then
1:02:23
keep on
1:02:24
trying and eventually succeeding so
1:02:27
that's been fantastic
1:02:30
yeah so
1:02:32
vent that's really good um
1:02:35
uh so yeah
1:02:37
thanks guys for
1:02:39
watching being a pleasure having you all
1:02:41
um and yeah wherever you are in the
1:02:45
world good afternoon good morning and
1:02:48
good
1:02:49
night in the case of melbourne
1:02:52
and in bali as well
1:02:54
it's nice is it
1:02:56
yeah yeah
1:02:57
do you think it's dark
1:02:59
perfect guys we'll see you tomorrow's
1:03:03
same time
1:03:05
same place and
1:03:07
same task
1:03:09
that's the one
1:03:11
all right cheers guys have a good one
1:03:13
bye-bye have a good night thank you
1:03:16
cheers