can you please share the specification on the success test above? like the version of kong and konga
On Fri, Mar 10, 2023 at 11:07 AM Benni Sanjaya <benni.sanja...@gmail.com> wrote: > my kong still got the same error. is it because the installation not > proper ? > > bash-5.1$ luarocks install kong-skywalking --local > Installing https://luarocks.org/kong-skywalking-0.2.0-0.src.rock > > *Missing dependencies for kong-skywalking 0.2.0-0: skywalking-nginx-lua > >= 0.6.0 (not installed)* > > kong-skywalking 0.2.0-0 depends on skywalking-nginx-lua >= 0.6.0 (not > installed) > Installing https://luarocks.org/skywalking-nginx-lua-0.6.0-0.src.rock > > > *Missing dependencies for skywalking-nginx-lua 0.6.0-0: lua-resty-http > >= 0.15 (not installed) lua-resty-jit-uuid >= 0.0.7 (not installed)* > > > *skywalking-nginx-lua 0.6.0-0 depends on lua-resty-http >= 0.15 (not > installed)Installing > https://luarocks.org/lua-resty-http-0.17.0.beta.1-0.src.rock > <https://luarocks.org/lua-resty-http-0.17.0.beta.1-0.src.rock>* > > lua-resty-http 0.17.0.beta.1-0 depends on lua >= 5.1 (5.1-1 provided by VM) > No existing manifest. Attempting to rebuild... > lua-resty-http 0.17.0.beta.1-0 is now installed in /home/kong/.luarocks > (license: 2-clause BSD) > > skywalking-nginx-lua 0.6.0-0 depends on lua-resty-jit-uuid >= 0.0.7 (not > installed) > Installing https://luarocks.org/lua-resty-jit-uuid-0.0.7-2.src.rock > > lua-resty-jit-uuid 0.0.7-2 is now installed in /home/kong/.luarocks > (license: MIT) > > skywalking-nginx-lua 0.6.0-0 is now installed in /home/kong/.luarocks > (license: Apache License 2.0) > > kong-skywalking 0.2.0-0 is now installed in /home/kong/.luarocks (license: > Apache License 2.0) > > > > and the only plugins that successfully installed are these : > kong-skywalking 0.2.0-0 depends on skywalking-nginx-lua >= 0.6.0 (0.6.0-0 > installed) > kong-skywalking 0.2.0-0 is now installed in /home/kong/.luarocks (license: > Apache License 2.0) > > > > On Sat, Mar 4, 2023 at 7:31 PM Sheng Wu <wu.sheng.841...@gmail.com> wrote: > >> Hi >> >> We don't have the Kong update for a while, but e2e test passed. >> You could check here >> - >> https://github.com/apache/skywalking-kong/tree/master/test/e2e/e2e-test-kong >> >> I can see the kong.conf is here >> >> https://github.com/apache/skywalking-kong/blob/master/test/e2e/e2e-test-kong/docker/conf/kong.conf >> >> Sheng Wu 吴晟 >> Twitter, wusheng1108 >> >> Benni Sanjaya <benni.sanja...@gmail.com> 于2023年3月4日周六 00:23写道: >> > >> > I already copy kong.conf as the readme on git instructed >> > Below is my kong.conf content: >> > >> > plugins = bundled,skywalking >> > >> > lua_package_path = ${user.home}/.luarocks/share/lua/5.1/?.lua;; >> > >> > >> > On Fri, Mar 3, 2023, 11:09 PM Benni Sanjaya <benni.sanja...@gmail.com> >> > wrote: >> > >> > > Hi, im ben >> > > Can you please help me im still gettint the error even when i install >> the >> > > latest version of kong >> > > >> > > VERSION >> > > kong - 3.1.1 >> > > konga - 0.14.9 >> > > postgres: 9.6 >> > > >> > > Php fpm : 8.1 >> > > >> > > Os: debian >> > > >> > > Ps: i already try kong version 2.2.0 - 2.5.0 >> > > >> > > But the error still the same. I really hope can help me >> > > >> > > Stack trace on my kong container like this: >> > > >> > > 2023-02-28 16:53:56 2023/02/28 09:53:56 [error] 1134#0: *2336 [kong] >> init.lua:333 [skywalking] >> ...arocks/share/lua/5.1/kong/plugins/skywalking/handler.lua:46: attempt to >> index local 'metadata_buffer' (a nil value), client: 192.168.224.1, server: >> kong, request: "GET /api-internal/salestracking/user_profile HTTP/1.1", >> host: "192.168.91.112:8000" >> > > 2023-02-28 16:53:56 192.168.224.1 - - [28/Feb/2023:09:53:56 +0000] >> "GET /api-internal/salestracking/user_profile HTTP/1.1" 500 0 "-" >> "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 >> Firefox/110.0" >> > > 2023-02-28 16:53:56 2023/02/28 09:53:56 [error] 1134#0: *2336 failed >> to run body_filter_by_lua*: >> /home/kong/.luarocks/share/lua/5.1/skywalking/span.lua:223: attempt to >> index local 'span' (a nil value) >> > > 2023-02-28 16:53:56 stack traceback: >> > > 2023-02-28 16:53:56 >> /home/kong/.luarocks/share/lua/5.1/skywalking/span.lua:223: in function >> 'tag' >> > > 2023-02-28 16:53:56 >> ...arocks/share/lua/5.1/kong/plugins/skywalking/handler.lua:75: in function >> <...arocks/share/lua/5.1/kong/plugins/skywalking/handler.lua:72> >> > > 2023-02-28 16:53:56 /usr/local/share/lua/5.1/kong/init.lua:374: in >> function 'execute_collected_plugins_iterator' >> > > 2023-02-28 16:53:56 /usr/local/share/lua/5.1/kong/init.lua:1391: in >> function 'body_filter' >> > > 2023-02-28 16:53:56 body_filter_by_lua:2: in main chunk, client: >> 192.168.224.1, server: kong, request: "GET >> /api-internal/salestracking/user_profile HTTP/1.1", host: " >> 192.168.91.112:8000" >> > > 2023-02-28 16:53:56 2023/02/28 09:53:56 [error] 1130#0: *2337 [kong] >> init.lua:333 [skywalking] >> ...arocks/share/lua/5.1/kong/plugins/skywalking/handler.lua:46: attempt to >> index local 'metadata_buffer' (a nil value), client: 192.168.224.1, server: >> kong, request: "GET /api-internal/salestracking/user_profile HTTP/1.1", >> host: "192.168.91.112:8000" >> > > 2023-02-28 16:53:56 2023/02/28 09:53:56 [error] 1130#0: *2337 failed >> to run body_filter_by_lua*: >> /home/kong/.luarocks/share/lua/5.1/skywalking/span.lua:223: attempt to >> index local 'span' (a nil value) >> > > 2023-02-28 16:53:56 stack traceback: >> > > >> > > >> > > On Fri, Mar 3, 2023, 7:54 PM Sheng Wu <wu.sheng.841...@gmail.com> >> wrote: >> > > >> > >> The Apache Mail list only accepts raw test or link. >> > >> The image would not be forwarded. >> > >> >> > >> Sheng Wu 吴晟 >> > >> Twitter, wusheng1108 >> > >> >> > >> >> > >> Myrelle Damas G. S. de Araújo <myrelle.da...@gmail.com> 于2023年3月3日周五 >> > >> 20:48写道: >> > >> >> > >> > Here the print when I put the "type": "module" >> > >> > [image: image.png] >> > >> > >> > >> > Em sex., 3 de mar. de 2023 às 09:10, Myrelle Damas G. S. de Araújo >> < >> > >> > myrelle.da...@gmail.com> escreveu: >> > >> > >> > >> >> I put the scheme (http), however, it still didn't return anything >> to me >> > >> >> on the Skywalking frontend. Here are the steps I usually take to >> > >> upload the >> > >> >> application: >> > >> >> >> > >> >> 1 - Saved my settings. >> > >> >> 2 - I do the "npm run build". >> > >> >> 3 - Then "npm run server" >> > >> >> >> > >> >> Then the application goes up, without any type of error, but it >> seems >> > >> >> that the agent still cannot communicate with the project. >> > >> >> >> > >> >> Attached is another attempt I made yesterday, placing the >> client.js >> > >> >> separately. This import error I looked for and already set the >> "type": >> > >> >> "module" in the package.json, but even so I can't overcome this >> > >> situation.[image: >> > >> >> error impor.png] >> > >> >> >> > >> >> Em qui., 2 de mar. de 2023 às 23:36, xue fan < >> qiuxia...@apache.org> >> > >> >> escreveu: >> > >> >> >> > >> >>> Hi, I found out your parameter of collector has no scheme. >> > >> >>> >> > >> >>> >> > >> >> https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL#scheme >> > >> >>> >> > >> >>> Myrelle Damas G. S. de Araújo <myrelle.da...@gmail.com> >> 于2023年3月2日周四 >> > >> >>> 23:01写道: >> > >> >>> > >> > >> >>> > The client-js version I'm using is 0.9.0. >> > >> >>> > >> > >> >>> > Attached is the .zip and the link Drive of the test project. I >> > >> >>> emphasize again that our team is a monitoring team, so we don't >> have >> > >> much >> > >> >>> knowledge of development in NodeJs, VUE... We look forward to >> your >> > >> feedback >> > >> >>> and thank you in advance! >> > >> >>> > >> > >> >>> > >> > >> >>> >> > >> >> https://drive.google.com/file/d/1V9UxFcr8JpbmQJKoCozdibM3Sh3jLHM4/view?usp=share_link >> > >> >>> > >> > >> >>> > Em qua., 1 de mar. de 2023 às 15:36, Myrelle Damas G. S. de >> Araújo < >> > >> >>> myrelle.da...@gmail.com> escreveu: >> > >> >>> >> >> > >> >>> >> Good afternoon, >> > >> >>> >> >> > >> >>> >> I'm trying to use Skywalking at my workplace and we're trying >> to >> > >> >>> instrument the agent in a NodeJS application. At first, the >> developer >> > >> >>> followed the manual and did the instrumentation, however, when an >> > >> error >> > >> >>> occurs in the application, it tries to send the log for a request >> > >> like this >> > >> >>> one: >> > >> >>> >> >> > >> >>> >> >> > >> >>> >> Then, at this moment, an error occurs in the Skywalking log: >> > >> >>> >> 2022-09-29 15:19:12,444 - >> > >> >>> com.linecorp.armeria.server.logging.LoggingService - 186 >> > >> >>> [armeria-eventloop-epoll-4-41] WARN [] - [sreqId=abbf564f, >> > >> >>> chanId=52c03e18, raddr=10.200.12.77:62788, laddr= >> 172.26.0.139:12800 >> > >> ][h1c://vlcd-zabbixdesv01/browser/errorLogs#POST] >> > >> >>> Response: {startTime=2022-09-29T18:19:12.442Z(1664475552442149), >> > >> >>> length=37B, duration=705µs(705241ns), >> > >> totalDuration=108ms(108534921ns), >> > >> >>> cause=java.lang.IllegalArgumentException: No suitable request >> > >> converter >> > >> >>> found for a @RequestObject 'List', headers=[:status=400, >> > >> >>> content-type=text/plain; charset=utf-8, content-length=37]} >> > >> >>> >> >> > >> >>> >> Below is the log that was sent to me on the day of the >> developer's >> > >> >>> test. >> > >> >>> >> >> > >> >>> >> Our monitoring team was unable to help resolve his problem, >> so we >> > >> >>> tried to make a very basic test application to understand the >> steps >> > >> the >> > >> >>> developer took. However, we are not succeeding, neither with the >> > >> backend >> > >> >>> agent nor with the clientjs agent, we would like some help so >> that we >> > >> can >> > >> >>> configure the agent in the application so that it appears in >> > >> Skywalking. I >> > >> >>> appreciate the attention! >> > >> >>> >> >> > >> >>> >> Myrelle Damas. >> > >> >>> >> > >> >> >> > >> >> > > >> >