n4ze3m / page-assist

Use your locally running AI models to assist you in your web browsing
https://chromewebstore.google.com/detail/page-assist-a-web-ui-for/jfgfiigpkhlkbnfnbobbkinehhfdhndo
MIT License
1.2k stars 124 forks source link

Connect error #152

Open dashan996 opened 1 month ago

dashan996 commented 1 month ago

Hi guys, it worked well at first after I downloaded it. But I open it again , I meet the connect error problem. I have checked my ollama in terminal and on open webui, it works very well. I try to run " ollama run serve", it has no any change. I am sure no change about setting of http://127.0.0.1:11434. I am confused now. I think it is a good idea using it as a extension and want to use it again. Thank your help!

n4ze3m commented 1 month ago

Hey, sorry about that. Can you restart the Ollama if possible? Also, can you enable the custom header and save it? Let me know if it doesn't work, and I will look into it. Thanks.

image

dashan996 commented 1 month ago

Thanks for answer quickly. I have restart my chrome and ollama after enable the custom header and save it. but it doesn't work. I try the open webui again , and it works well. I don't know how to provide more useful message because it is a so simple setting.

n4ze3m commented 1 month ago

Oh no :/, is it possible to check the logs on the page assist web UI's console or network tab?

https://github.com/user-attachments/assets/f55b8c0c-9513-4f0f-9a17-5268595457e0

dashan996 commented 1 month ago

It works again after I reinstall it again

n4ze3m commented 1 month ago

That's nice. If you face the error again, please let me know. I'm not closing this issue

dashan996 commented 1 month ago

Thanks a lot for you help

kilmarnock commented 17 hours ago

Let me hijack this thread: After the connection error occured for me, I opened the network tab as suggested. It showed the error as

image 403: strict-origin-when-cross-origin

The internet suggested to restart ollama with the env variable OLLAMA_ORIGINS=*, what solved the problem for me.