Andre Lopes
1 min readOct 1, 2020

Thank you very much! :)

Where exactly are you getting this error?

If it is in connection.start(), did you initialize the "connection" with "HubConnectionBuilder" and then finalized it with ".build()"?

const connection = new HubConnectionBuilder()

.withUrl('https://localhost:5001/hubs/chat')

.withAutomaticReconnect()

.build();

This way you create a connection with access to call "start()"

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Written by Andre Lopes

Full-stack developer @ Tesla | Public Speaker | AWS | Terraform | Serverless | Gamer | Eternal Geek 🤓

Responses (1)

Write a response

Hi Andre so the problem I am getting was in Chat.js and line # 46 to be specific
in the method sendMessage
where it is checking
connection.connectionStarted
it gives me this error
(property) HubConnection.connectionStarted: any...

--