Release Kanzi: Amazon Alexa skill for Kodi - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: Release Kanzi: Amazon Alexa skill for Kodi (/showthread.php?tid=254502) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
RE: Amazon Echo skill for Kodi - m0ngr31 - 2017-04-18 Also try running a command in the skill simulator and see what it says. RE: Amazon Echo skill for Kodi - bsollenb54 - 2017-04-19 (2017-04-18, 23:26)bsollenb54 Wrote:(2017-04-18, 23:12)m0ngr31 Wrote:(2017-04-18, 23:08)bsollenb54 Wrote: Testing yields a 502 error..... (2017-04-18, 23:57)m0ngr31 Wrote: Also try running a command in the skill simulator and see what it says. The skill simulator returns "There was an error calling the remote endpoint, which returned HTTP 502 : Bad Gateway" when I type "play latest episode of Friends" Also, the log is here: http://imgur.com/a/3bttx? The image cuts off the last line, but it displays some log URL as the endpoint URL: "https://logs.us-east-1.amazonaws.com/" RE: Amazon Echo skill for Kodi - m0ngr31 - 2017-04-19 Yeah, it needs that part of the url RE: Amazon Echo skill for Kodi - bsollenb54 - 2017-04-19 So that weird log URL should be the endpoint URL? RE: Amazon Echo skill for Kodi - m0ngr31 - 2017-04-19 It should look something like this: RE: Amazon Echo skill for Kodi - bsollenb54 - 2017-04-19 (2017-04-19, 00:38)m0ngr31 Wrote: It should look something like this: Yup, and that's exactly what's in my configuration tab in the ASK. But the log file I screengrabbed from the Zappa tail Deb command shows that https://log.us-east-1.amazonaws.com/ URL which I think isn't even looking at the URL I pasted into my Skill's configuration from the Zappa deployment. RE: Amazon Echo skill for Kodi - jingai - 2017-04-19 Try adding (or removing, if there already is one) a trailing slash. I self-host, but I've noticed that the trailing slash matters -- in my case, it needs to be present. RE: Amazon Echo skill for Kodi - bsollenb54 - 2017-04-19 Good thought, jingai but no dice. I added a trailing / to /dev but it still returns a bad "remote end point connection, 502 bad gateway yards yada" when I test it in Amazon skills kit. Any other ideas? RE: Amazon Echo skill for Kodi - bsollenb54 - 2017-04-19 Also, hole I continue to tinker with this, what's the Windows CMD command for "re-deploying" updates to my dev from zappa? RE: Amazon Echo skill for Kodi - m0ngr31 - 2017-04-19 "zappa update dev" RE: Amazon Echo skill for Kodi - m0ngr31 - 2017-04-19 Make sure you are in your virtual environment before you run any zappa commands though. I think that's probably why your log command failed. RE: Amazon Echo skill for Kodi - bsollenb54 - 2017-04-19 nah, I've been executing virtualenv venv before the deployment and I've done a few updates as well. Still getting the error though. Any other files or commands (and then logs) I could try next? RE: Amazon Echo skill for Kodi - bsollenb54 - 2017-04-19 What permissions (or policies) did you attach to your role built in AWS console? RE: Amazon Echo skill for Kodi - m0ngr31 - 2017-04-19 Like the readme says, you just need to have your user have the Admin permissions. RE: Amazon Echo skill for Kodi - bsollenb54 - 2017-04-19 Yup, my user has that but I'm just spitballing ideas at this point and saw a HowToGeek article that tells you to build a role in addition to a user....Reddit and other parts of this forum seem to diss it though, but I'm just spitballing ideas because I've quadrupled checked my steps from the README at this point so I'm truly stumped on what's causing the 502 error in the skills simulator. |