ChilliSniff
ChilliSniff
DDeno
Created by ChilliSniff on 11/28/2023 in #help
module not updating anymore
a webhook delivery with a 200 status is really confusing
9 replies
DDeno
Created by ChilliSniff on 11/28/2023 in #help
module not updating anymore
well this should really be in front of the body or even inside the body itself i already overlooked this the second time,
9 replies
DDeno
Created by ChilliSniff on 11/28/2023 in #help
module not updating anymore
ok i see the status url and there it says module to large...
9 replies
DDeno
Created by ChilliSniff on 11/28/2023 in #help
module not updating anymore
this is an example delivery, Request URL: https://api.deno.land/webhook/gh/handyhelpers Request method: POST Accept: / Content-Type: application/json User-Agent: GitHub-### X-GitHub-Event: create X-GitHub-Hook-ID: ### X-GitHub-Hook-Installation-Target-ID: ### X-GitHub-Hook-Installation-Target-Type: repository
9 replies
DDeno
Created by ChilliSniff on 11/28/2023 in #help
module not updating anymore
i already contacted them via email several times this is why i started contacting on discord
9 replies
DDeno
Created by ChilliSniff on 11/28/2023 in #help
module not updating anymore
important to note is maybe also the fact that my module limit was reached with 15 module, got increased to 30 and then i reached it again, now i have a limit of 60 which is great so i can publish new modules but the module handyhelpers is stuck somehow...
9 replies
DDeno
Created by ChilliSniff on 11/4/2023 in #help
cannot set property on fetch response
ok i just tested it, it works also in deno js but it gets not logged when i log the object
3 replies
DDeno
Created by ChilliSniff on 8/31/2023 in #help
third party module not updating / releasing
thanks for your help
7 replies
DDeno
Created by ChilliSniff on 8/31/2023 in #help
third party module not updating / releasing
i have seens that the webhook response provides a status url, visiting this page revealed that my module /github repo is to large in size
7 replies
DDeno
Created by ChilliSniff on 8/31/2023 in #help
third party module not updating / releasing
i have asked the support, their response: "The issue is that consecutive underscores are not allowed in a module name."
7 replies
DDeno
Created by ChilliSniff on 8/31/2023 in #help
third party module not updating / releasing
thanks, i did not know such information could be looked up ! , unfortunately i see 3 successfull deliveries , but my module https://deno.land/x/o_file__wav@0.1 still does not exist
7 replies
DDeno
Created by ChilliSniff on 2/28/2023 in #help
deno in Dockerfile
luckily i do not need this module, i just forgot to remove the import
9 replies
DDeno
Created by ChilliSniff on 2/28/2023 in #help
deno in Dockerfile
actually i had a unused import in my script, the module which depends on buffer.ts is this https://deno.land/x/mysql2 , exactly here : https://deno.land/x/mysql2@v1.0.6/deps.ts?source
9 replies
DDeno
Created by ChilliSniff on 2/28/2023 in #help
deno in Dockerfile
visiting https://deno.land/std@0.178.0/node/buffer.ts shows a 404 Not Found message, i am going to report this
9 replies
DDeno
Created by ChilliSniff on 2/28/2023 in #help
deno in Dockerfile
i think the module is just down, it worked on my local machine because it was still in the cache , when i run the test with :
deno cache --reload tmp.js
deno cache --reload tmp.js
i also get the error on my physical machine
9 replies
DDeno
Created by ChilliSniff on 1/1/2023 in #help
deno.run not working as expected
i just figured out if i do it like this , it works as expected!
const p=Deno.run({
// "bash", "-c", "ls -la"
cmd: [
`bash`,
`-c`,
`mysql --defaults-extra-file=./tmpcnf_from_f_execute_query.cnf -e "DROP DATABASE test_database"`
],
stdout: 'piped',
stderr: 'piped',
stdin: 'null'
});
const p=Deno.run({
// "bash", "-c", "ls -la"
cmd: [
`bash`,
`-c`,
`mysql --defaults-extra-file=./tmpcnf_from_f_execute_query.cnf -e "DROP DATABASE test_database"`
],
stdout: 'piped',
stderr: 'piped',
stdin: 'null'
});
4 replies
DDeno
Created by ChilliSniff on 9/24/2022 in #help
does not provide an export named... module import
ok im quite sure there was some async fuckery going on, now it is working , i did it like this
var o_server = Deno.listenTls(
{
certFile: o_self.o_config.o_ssl.s_path_certificate_file,
keyFile: o_self.o_config.o_ssl.s_path_key_file,
port: o_self.o_config.o_encrypted.n_port,
hostname: o_self.o_config.o_encrypted.s_host,
}
);
while (true) {
try {
const o_connection = await o_server.accept();
// ... handle the o_connectionection ...
// console.log(o_connection)
const o_http_connection = Deno.serveHttp(o_connection);
while (true) {

try {
const o_request_event = await o_http_connection.nextRequest();
// ... handle o_request_event ...
// console.log(`${this.s_file_name}: o_request_event: ${o_request_event}`)
await o_http_request_handler.f_http_request_handler(
o_http_connection,
o_request_event,
o_self
)

} catch (err) {
console.log(`${this.s_file_name}: connection has finished or error: ${err}`)
console.log(`${err.stack}`)
// the connection has finished
break;
}
}

} catch (err) {
console.log(`${this.s_file_name}: listener has closed: or error: ${err}`)
console.log(`${err.stack}`)

// The listener has closed
break;
}
}
var o_server = Deno.listenTls(
{
certFile: o_self.o_config.o_ssl.s_path_certificate_file,
keyFile: o_self.o_config.o_ssl.s_path_key_file,
port: o_self.o_config.o_encrypted.n_port,
hostname: o_self.o_config.o_encrypted.s_host,
}
);
while (true) {
try {
const o_connection = await o_server.accept();
// ... handle the o_connectionection ...
// console.log(o_connection)
const o_http_connection = Deno.serveHttp(o_connection);
while (true) {

try {
const o_request_event = await o_http_connection.nextRequest();
// ... handle o_request_event ...
// console.log(`${this.s_file_name}: o_request_event: ${o_request_event}`)
await o_http_request_handler.f_http_request_handler(
o_http_connection,
o_request_event,
o_self
)

} catch (err) {
console.log(`${this.s_file_name}: connection has finished or error: ${err}`)
console.log(`${err.stack}`)
// the connection has finished
break;
}
}

} catch (err) {
console.log(`${this.s_file_name}: listener has closed: or error: ${err}`)
console.log(`${err.stack}`)

// The listener has closed
break;
}
}
18 replies
DDeno
Created by ChilliSniff on 9/24/2022 in #help
does not provide an export named... module import
im currently switching from the import { serveTls } from "https://deno.land/std@0.147.0/http/server.ts?s=serveTls"; to the native? Deno.listenTls , maybe this will solve my problem
18 replies
DDeno
Created by ChilliSniff on 9/24/2022 in #help
does not provide an export named... module import
thanks it cannot work because my webserver respond with the wrong file only sometimes
18 replies
DDeno
Created by ChilliSniff on 10/1/2022 in #help
Deno.serveTls with self signed certificate
wtf like this it works
var o_server_https = Deno.listenTls(
{
certFile: o_self.o_config.o_ssl.s_path_certificate_file,
keyFile: o_self.o_config.o_ssl.s_path_key_file,
port: o_self.o_config.o_encrypted.n_port,
hostname: o_self.o_config.o_encrypted.s_host,
}
);

while (true) {
try {
const o_connection = await o_server_https.accept();
// ... handle the o_connectionection ...
// console.log(o_connection)
const o_http_connection = Deno.serveHttp(o_connection);
while (true) {
console.log("no connection yet")
try {
const requestEvent = await o_http_connection.nextRequest();
// ... handle requestEvent ...
await requestEvent.respondWith(
new Response("hello world", {
status: 200,
}),
);
} catch (err) {
// the connection has finished
break;
}
}

} catch (err) {
// The listener has closed
break;
}
}
var o_server_https = Deno.listenTls(
{
certFile: o_self.o_config.o_ssl.s_path_certificate_file,
keyFile: o_self.o_config.o_ssl.s_path_key_file,
port: o_self.o_config.o_encrypted.n_port,
hostname: o_self.o_config.o_encrypted.s_host,
}
);

while (true) {
try {
const o_connection = await o_server_https.accept();
// ... handle the o_connectionection ...
// console.log(o_connection)
const o_http_connection = Deno.serveHttp(o_connection);
while (true) {
console.log("no connection yet")
try {
const requestEvent = await o_http_connection.nextRequest();
// ... handle requestEvent ...
await requestEvent.respondWith(
new Response("hello world", {
status: 200,
}),
);
} catch (err) {
// the connection has finished
break;
}
}

} catch (err) {
// The listener has closed
break;
}
}
10 replies