Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Typebot on Cloudron is great! You should try it

Scheduled Pinned Locked Moved Solved Typebot
typebotformsfeedback
17 Posts 4 Posters 403 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by nebulon
    #4

    I think you have to consult the upstream project for this.

    1 Reply Last reply
    0
  • nebulonN nebulon moved this topic from Discuss on
  • S Offline
    S Offline
    shrey
    replied to LoudLemur on last edited by
    #5

    @LoudLemur It does have a generic Webhook/API connector that can be used to integrate other tools.

    1 Reply Last reply
    1
  • P Offline
    P Offline
    plains.digital
    wrote on last edited by
    #6

    loving type bot so far, but attempting to enter api keys for sendgrid or OpenAI both give me invalid length errors

    is this something that needs be configured in the env.sh?

    P S 2 Replies Last reply
    0
  • P Offline
    P Offline
    plains.digital
    replied to plains.digital on last edited by
    #7

    @plains-digital said in Typebot on Cloudron is great! You should try it:

    api keys for sendgrid

    Sendgrid SMTP auth .. APPEARS at least to be configurable through the env.sh (i have yet to test it but there are variables in documentation. OpenAI, however, doesnt seem to have one.

    Im going to try to stupid things i should have tried first like making sure theres no trailing space .. but if anyone has jumped this hurdle Id love to hear about it!!!!

    1 Reply Last reply
    1
  • S Offline
    S Offline
    shrey
    replied to plains.digital on last edited by
    #8

    @plains-digital Don't know about Sendgrid, but the OpenAI key works fine for me at least.

    P 2 Replies Last reply
    0
  • P Offline
    P Offline
    plains.digital
    replied to shrey on last edited by
    #9

    @shrey f388e797-083a-44c2-ba52-acb2b71f9e4f-image.png

    no matter what i try, Invalid Key Length.

    i even tried using the redacted key that shows only sk-...xxx because i was desperate.
    nothing.

    1 Reply Last reply
    0
  • P Offline
    P Offline
    plains.digital
    replied to shrey on last edited by
    #10

    @shrey infuriatingly, using my openai api key on typebot.io directly worked without a hitch, but self hosted - buggered.

    so im going to try an resinstall and if that fails build on their hosted service as a proof of concept and then hopefully migrate if they ever gets addressed 😞

    reinstall for the win, fingers crossed!

    L P 2 Replies Last reply
    2
  • L Offline
    L Offline
    LoudLemur
    replied to plains.digital on last edited by
    #11

    @plains-digital said in Typebot on Cloudron is great! You should try it:

    reinstall for the win, fingers crossed!

    It is quite exciting! Please let us know if this solves the mystery! 🙂

    1 Reply Last reply
    1
  • P Offline
    P Offline
    plains.digital
    replied to plains.digital on last edited by
    #12

    @plains-digital said in Typebot on Cloudron is great! You should try it:

    @shrey infuriatingly, using my openai api key on typebot.io directly worked without a hitch, but self hosted - buggered.

    so im going to try an resinstall and if that fails build on their hosted service as a proof of concept and then hopefully migrate if they ever gets addressed 😞

    reinstall for the win, fingers crossed!

    Resintalled, updated cloludron, cleared my caches. still invalid length - but works fine on typebot.io.
    is everyone else installing via the Cloudron CLI? I will do that if need be lol
    someone rescue me, this is the app my project has been dreaming of for a month and im SOOO CLOSE lol.
    i refuse to build it on anything but self hosted though... and its still a stellar chat bot builder, even without openai
    sigh

    ByuntearBabyCryGIF.gif

    S 1 Reply Last reply
    0
  • S Offline
    S Offline
    shrey
    replied to plains.digital on last edited by shrey
    #13

    @plains-digital Sorry, i hadn't tried Typebot on Cloudron yet.

    My current instance is hosted elsewhere, where everything's working fine.

    @plains-digital said in Typebot on Cloudron is great! You should try it:

    @shrey infuriatingly, using my openai api key on typebot.io directly worked without a hitch, but self hosted - buggered.

    Indeed, there seems to be some issue with the way Typebot is set up on Cloudron.

    Logs for Cloudron team:

    Aug 28 12:07:28 Something went wrong DataError: Invalid key length
    Aug 28 12:07:28 at new DOMException (node:internal/per_context/domexception:53:5)
    Aug 28 12:07:28 ... 8 lines matching cause stack trace ...
    Aug 28 12:07:28 at async outputMiddleware (file:///app/code/builder/node_modules/.pnpm/@trpc+server@10.34.0/node_modules/@trpc/server/dist/index.mjs:297:24) {
    Aug 28 12:07:28 code: 'INTERNAL_SERVER_ERROR',
    Aug 28 12:07:28 name: 'TRPCError',
    Aug 28 12:07:28 [cause]: DOMException [DataError]: Invalid key length
    Aug 28 12:07:28 at new DOMException (node:internal/per_context/domexception:53:5)
    Aug 28 12:07:28 at __node_internal_ (node:internal/util:509:10)
    Aug 28 12:07:28 at validateKeyLength (node:internal/crypto/aes:78:11)
    Aug 28 12:07:28 at Object.aesImportKey (node:internal/crypto/aes:279:7)
    Aug 28 12:07:28 at SubtleCrypto.importKey (node:internal/crypto/webcrypto:562:10)
    Aug 28 12:07:28 at encrypt (/app/code/builder/apps/builder/.next/server/chunks/5044.js:40:37)
    Aug 28 12:07:28 at /app/code/builder/apps/builder/.next/server/chunks/4548.js:1691:124
    Aug 28 12:07:28 at async resolveMiddleware (file:///app/code/builder/node_modules/.pnpm/@trpc+server@10.34.0/node_modules/@trpc/server/dist/index.mjs:416:30)
    Aug 28 12:07:28 at async callRecursive (file:///app/code/builder/node_modules/.pnpm/@trpc+server@10.34.0/node_modules/@trpc/server/dist/index.mjs:452:32)
    Aug 28 12:07:28 at async outputMiddleware (file:///app/code/builder/node_modules/.pnpm/@trpc+server@10.34.0/node_modules/@trpc/server/dist/index.mjs:297:24)
    Aug 28 12:07:28 }
    
    1 Reply Last reply
    0
  • nebulonN nebulon marked this topic as a question on
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #14

    We've pushed a new app package which has the encryption key length fixed. This requires a re-installation of the app though as far as I understand.

    P 1 Reply Last reply
    4
  • P Offline
    P Offline
    plains.digital
    replied to nebulon on last edited by
    #15

    @nebulon thanks nebulon ill give that a try right meow! much appreciated on the fast turn around. i thought i was going nuts!

    P 1 Reply Last reply
    2
  • P Offline
    P Offline
    plains.digital
    replied to plains.digital on last edited by
    #16

    @plains-digital it worked!
    LiverpoolDanceGIF.gif

    1 Reply Last reply
    3
  • nebulonN nebulon has marked this topic as solved on
  • nebulonN nebulon referenced this topic on
  • L Offline
    L Offline
    LoudLemur
    wrote on last edited by
    #17

    You are amazing to have solved this and fixed it so quickly, @nebulon.

    To get the typebots you were running working again, you can try this:

    • Restore from an earlier working backup
    • Navigate to your typebot flow and at the three dots at the top right .... export the flow. Save it in a safe place.
    • Reinstall Typebot in Cloudron
    • create a new typebot by selecting the import flow
    • When you try and re-publish, it will give the typebot a new address, so you might like to edit that option to set it to your previously published address:

    brave_bITJdJAtRT.png

    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks