databricks-demos / dbdemos

Demos to implement your Databricks Lakehouse
Other
255 stars 80 forks source link

Incorrect URL redirection - Page Not Found (error 404) #40

Closed SethiAbhinav closed 1 year ago

SethiAbhinav commented 1 year ago

Hi @QuentinAmbard

I was going through the Build your Chat Bot with Dolly demo and I encountered an issue when trying to access the notebooks hyperlinked in the tutorial (image below is one of the three notebooks mentioned in the tutorial).

image

The links redirect us to: https://www.dbdemos.ai/minisite/llm-dolly-chatbot/$./02-Data-preparation https://www.dbdemos.ai/minisite/llm-dolly-chatbot/$./03-Q&A-prompt-engineering-for-dolly https://www.dbdemos.ai/minisite/llm-dolly-chatbot/$./04-chat-bot-prompt-engineering-dolly

The $./ should be removed as the correct URLs are: https://www.dbdemos.ai/minisite/llm-dolly-chatbot/02-Data-preparation https://www.dbdemos.ai/minisite/llm-dolly-chatbot/03-Q&A-prompt-engineering-for-dolly https://www.dbdemos.ai/minisite/llm-dolly-chatbot/04-chat-bot-prompt-engineering-dolly

QuentinAmbard commented 1 year ago

Hi @SethiAbhinav , it's working well for me, what's happening is that we have a javascript script changing the links to remove the $ (The $ are required when we install the notebooks in the workspace to have the relative links)

Which browser are you using? Do you see an error in the javascript console maybe?

image
SethiAbhinav commented 1 year ago

Oh I see. That's insightful.

I am using these: Brave browser MAC OS

QuentinAmbard commented 1 year ago

I see I definitely did not test with Brave Would you mind trying with another browser just to confirm that's the issue?

SethiAbhinav commented 1 year ago

I tested with three browsers now. Issue seems to persist. Attaching screen snaps for the same:

1) Brave:

image

2) Chrome:

image

3) Safari:

image

Also, tested on my phone. Chrome browser, it doesn't load there as well. It is rather strange to me that it doesn't load on any of my devices even though it loads on yours.

SethiAbhinav commented 1 year ago

It seems to me that the href isn't updating correctly.

image

In the console there isn't any error related to this. I had some shields set up which auto disable some code from running on websites. But, even after removing it, the same sites load up.

SethiAbhinav commented 1 year ago

Tried it on a friend's device. It seems to be working fine on their device. I will try debugging what's going on in my systems. You can close this issue if you'd like.

SethiAbhinav commented 1 year ago

It got resolved on its own. Closing this issue. Thanks.