T
Typebotβ€’3mo ago
Toni Matas

Unable to startchat

It fails with the chats we have installed via cdn script into a page
No description
16 Replies
Donal
Donalβ€’3mo ago
I had this same issue today. Inside your initStandard function, set the apiHost to "https://typebot.io" So your code should read: Typebot.initStandard({ typebot: 'your typebot ID', apiHost: 'https://typebot.io' })
Baptiste
Baptisteβ€’3mo ago
Should be fixed now. So sorry for the inconvenience. This bug was introduced lately as I am incrementally introducing the new chat API server
Toni Matas
Toni Matasβ€’3mo ago
Now we do not have streaming on chatbots made with OPENAI πŸ˜– which make our chatbots delay 20 seconds on showing texts. It seems they are not working.
Baptiste
Baptisteβ€’3mo ago
Ok I’ll check that asap. Does it work using the typebot URL directly? Ok indeed I managed to reproduce the issue I'm pushing a fix, it will be available in 5 minutes
Toni Matas
Toni Matasβ€’3mo ago
now it's not rendering any message text in streaming. it only shows the buttons
No description
No description
λ‹€λ―Έμ•ˆ
λ‹€λ―Έμ•ˆβ€’3mo ago
When will this bug be fixed? I too have been unable to serve bots with this error for 3 hours now. Here's my error message:
{ "message": "Can't get streaming if hosted on Vercel" }
Toni Matas
Toni Matasβ€’3mo ago
Same here! @Baptiste Please, Baptiste, with this bug, our web and our chatbots are not working and we're in panic! Besides we have a chatbot focused on the Holy Week which had hundreds of users every day which is not working either, and we're going to loose the campaign we've working in for the last 6 weeks.
Michaelvips
Michaelvipsβ€’3mo ago
The way for now I solve is by create a HTTP block request instead of using the GPT block
λ‹€λ―Έμ•ˆ
λ‹€λ―Έμ•ˆβ€’3mo ago
Has this issue been resolved? I am still experiencing problems, with critical services being down for the second day and facing considerable complaints. @Baptiste
Toni Matas
Toni Matasβ€’3mo ago
No, not solved yet. Critical situation here!
Michaelvips
Michaelvipsβ€’3mo ago
@Toni Matas how many GPT blocks do you have on your flow ?
Toni Matas
Toni Matasβ€’3mo ago
Not many, just 3 or 4 per chatbot, but we have 8 chatbots live and I thought it seemed more prudent to wait for a fix before trying your solution, but we're going to loose Palm Sunday so we're very open to be helped! Streaming is key in these chatbots as text responses are long.
Baptiste
Baptisteβ€’3mo ago
Very sorry about this I will be able to investigate in 30 minutes I was sure that my fix would work but it did not
Toni Matas
Toni Matasβ€’3mo ago
I'm so sorry for stressing you, Baptiste 😒 but we did a chatbot for the Holy Week and it's just the days.
Baptiste
Baptisteβ€’3mo ago
Man, that's totally understandable and that's 100% my fault. I'm pushing a fix right now And I will make sure this kind of event never happens again πŸ™ Next time for urgent requests make sure to use that section: https://docs.typebot.io/guides/how-to-get-help#if-this-is-urgent I will get a real-time alert
Toni Matas
Toni Matasβ€’3mo ago
Un grand merci, Baptiste, tu es le meilleur ! πŸ†