Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker version is broken #346

Open
LZBNCC opened this issue Aug 30, 2024 · 11 comments
Open

Docker version is broken #346

LZBNCC opened this issue Aug 30, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@LZBNCC
Copy link

LZBNCC commented Aug 30, 2024

Describe the bug
Cannot search and the page keeps spinning, as mentioned in [https://github.com//issues/345]

Screenshots
image

Additional context
How can I get the error messages?

@LZBNCC LZBNCC added the bug Something isn't working label Aug 30, 2024
@ItzCrazyKns
Copy link
Owner

What are the logs from the browser console and the backend container

@LZBNCC
Copy link
Author

LZBNCC commented Aug 30, 2024

What are the logs from the browser console and the backend container
Thank you for your trouble. I have been troubled for several days, so I am very anxious now~
image
image

@ItzCrazyKns
Copy link
Owner

Those are the logs from SearXNG, I need the logs from the backend container

@leodu0926
Copy link

I have the same issue here and these are the logs
backend
searxng
webui

@leodu0926
Copy link

Those are the logs from SearXNG, I need the logs from the backend container

hi would you check my logs and help me with it?thanks

@LZBNCC
Copy link
Author

LZBNCC commented Sep 2, 2024

Those are the logs from SearXNG, I need the logs from the backend container

`docker logs 5a87e3640c34
yarn run v1.22.22
$ npm run db:push && node dist/app.js

perplexica-backend@1.9.0-rc2 db:push
drizzle-kit push sqlite

drizzle-kit: v0.22.7
drizzle-orm: v0.31.2

No config path provided, using default path
Reading config file '/home/perplexica/drizzle.config.ts'
[⣷] Pulling schema from database...
[✓] Pulling schema from database...

[i] No changes detected
info: WebSocket server started on port 3001
(node:64) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
info: Server is running on port 3001
error: Unhandled Rejection at: [object Promise], reason: Error: 403

<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script>

Sorry, you have been blocked

You are unable to access groq.com

  <div class="cf-section cf-highlight">
    <div class="cf-wrapper">
      <div class="cf-screenshot-container cf-screenshot-full">
        
          <span class="cf-no-screenshot error"></span>
        
      </div>
    </div>
  </div><!-- /.captcha-container -->

  <div class="cf-section cf-wrapper">
    <div class="cf-columns two">
      <div class="cf-column">
        <h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>

        <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
      </div>

      <div class="cf-column">
        <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

        <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
      </div>
    </div>
  </div><!-- /.section -->

  <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">

Cloudflare Ray ID: 8bb27f125be71587 Your IP: Click to reveal 101.80.78.161 Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script>

error: Unhandled Rejection at: [object Promise], reason: Error: 403

<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script>

Sorry, you have been blocked

You are unable to access groq.com

  <div class="cf-section cf-highlight">
    <div class="cf-wrapper">
      <div class="cf-screenshot-container cf-screenshot-full">
        
          <span class="cf-no-screenshot error"></span>
        
      </div>
    </div>
  </div><!-- /.captcha-container -->

  <div class="cf-section cf-wrapper">
    <div class="cf-columns two">
      <div class="cf-column">
        <h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>

        <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
      </div>

      <div class="cf-column">
        <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

        <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
      </div>
    </div>
  </div><!-- /.section -->

  <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">

Cloudflare Ray ID: 8bb282a3ef20cf1f Your IP: Click to reveal 101.80.78.161 Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script>

error: Unhandled Rejection at: [object Promise], reason: Error: 403

<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script>

Sorry, you have been blocked

You are unable to access groq.com

  <div class="cf-section cf-highlight">
    <div class="cf-wrapper">
      <div class="cf-screenshot-container cf-screenshot-full">
        
          <span class="cf-no-screenshot error"></span>
        
      </div>
    </div>
  </div><!-- /.captcha-container -->

  <div class="cf-section cf-wrapper">
    <div class="cf-columns two">
      <div class="cf-column">
        <h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>

        <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
      </div>

      <div class="cf-column">
        <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

        <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
      </div>
    </div>
  </div><!-- /.section -->

  <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">

Cloudflare Ray ID: 8bb289e4dd0424f3 Your IP: Click to reveal 101.80.78.161 Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script>

yarn run v1.22.22
$ npm run db:push && node dist/app.js

perplexica-backend@1.9.0-rc2 db:push
drizzle-kit push sqlite

drizzle-kit: v0.22.7
drizzle-orm: v0.31.2

No config path provided, using default path
Reading config file '/home/perplexica/drizzle.config.ts'
[⣷] Pulling schema from database...
[✓] Pulling schema from database...

[i] No changes detected
info: WebSocket server started on port 3001
(node:63) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
info: Server is running on port 3001
error: Unhandled Rejection at: [object Promise], reason: Error: 403

<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script>

Sorry, you have been blocked

You are unable to access groq.com

  <div class="cf-section cf-highlight">
    <div class="cf-wrapper">
      <div class="cf-screenshot-container cf-screenshot-full">
        
          <span class="cf-no-screenshot error"></span>
        
      </div>
    </div>
  </div><!-- /.captcha-container -->

  <div class="cf-section cf-wrapper">
    <div class="cf-columns two">
      <div class="cf-column">
        <h2 data-translate="blocked_why_headline">Why have I been blocked?</h2>

        <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
      </div>

      <div class="cf-column">
        <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

        <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
      </div>
    </div>
  </div><!-- /.section -->

  <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">

Cloudflare Ray ID: 8bc9ae589ab51563 Your IP: Click to reveal 101.80.78.161 Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script> `

@LZBNCC
Copy link
Author

LZBNCC commented Sep 2, 2024

Those are the logs from SearXNG, I need the logs from the backend container

`docker logs 5a87e3640c34 yarn run v1.22.22 $ npm run db:push && node dist/app.js

perplexica-backend@1.9.0-rc2 db:push
drizzle-kit push sqlite

drizzle-kit: v0.22.7 drizzle-orm: v0.31.2

No config path provided, using default path Reading config file '/home/perplexica/drizzle.config.ts' [⣷] Pulling schema from database... [✓] Pulling schema from database...

[i] No changes detected info: WebSocket server started on port 3001 (node:64) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) info: Server is running on port 3001 error: Unhandled Rejection at: [object Promise], reason: Error: 403

<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script> Please enable cookies. # Sorry, you have been blocked ## You are unable to access groq.com ```
      <span class="cf-no-screenshot error"></span>
    
  </div>
</div>

Why have I been blocked?

    <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
  </div>

  <div class="cf-column">
    <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

    <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
  </div>
</div>
```

Cloudflare Ray ID: 8bb27f125be71587 • Your IP: Click to reveal 101.80.78.161 • Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script>

error: Unhandled Rejection at: [object Promise], reason: Error: 403

<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script> Please enable cookies. # Sorry, you have been blocked ## You are unable to access groq.com ```
      <span class="cf-no-screenshot error"></span>
    
  </div>
</div>

Why have I been blocked?

    <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
  </div>

  <div class="cf-column">
    <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

    <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
  </div>
</div>
```

Cloudflare Ray ID: 8bb282a3ef20cf1f • Your IP: Click to reveal 101.80.78.161 • Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script>

error: Unhandled Rejection at: [object Promise], reason: Error: 403

<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script> Please enable cookies. # Sorry, you have been blocked ## You are unable to access groq.com ```
      <span class="cf-no-screenshot error"></span>
    
  </div>
</div>

Why have I been blocked?

    <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
  </div>

  <div class="cf-column">
    <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

    <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
  </div>
</div>
```

Cloudflare Ray ID: 8bb289e4dd0424f3 • Your IP: Click to reveal 101.80.78.161 • Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script>

yarn run v1.22.22 $ npm run db:push && node dist/app.js

perplexica-backend@1.9.0-rc2 db:push
drizzle-kit push sqlite

drizzle-kit: v0.22.7 drizzle-orm: v0.31.2

No config path provided, using default path Reading config file '/home/perplexica/drizzle.config.ts' [⣷] Pulling schema from database... [✓] Pulling schema from database...

[i] No changes detected info: WebSocket server started on port 3001 (node:63) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) info: Server is running on port 3001 error: Unhandled Rejection at: [object Promise], reason: Error: 403

<title>Attention Required! | Cloudflare</title> <style>body{margin:0;padding:0}</style> <script> if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } </script> Please enable cookies. # Sorry, you have been blocked ## You are unable to access groq.com ```
      <span class="cf-no-screenshot error"></span>
    
  </div>
</div>

Why have I been blocked?

    <p data-translate="blocked_why_detail">This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.</p>
  </div>

  <div class="cf-column">
    <h2 data-translate="blocked_resolve_headline">What can I do to resolve this?</h2>

    <p data-translate="blocked_resolve_detail">You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.</p>
  </div>
</div>
```

Cloudflare Ray ID: 8bc9ae589ab51563 • Your IP: Click to reveal 101.80.78.161 • Performance & security by Cloudflare

<script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>
</div><!-- /#cf-error-details -->
<script> window._cf_translation = {}; </script> `

It worked when I switched the chat model from groq to ollama, but why is there no Internet search? And why isn't groq working? Do you need to do anything other than provide the apikey?
image

@Jiayou-Chao
Copy link

Jiayou-Chao commented Sep 5, 2024

I'm having the same issue! It only works if the question doesn't require an Internet search.
I solved this temporarily by reverting back to the commit e8ed4df.

@LZBNCC
Copy link
Author

LZBNCC commented Sep 5, 2024

我遇到了同样的问题!只有当问题不需要互联网搜索时,它才有效。 我通过恢复到提交e8ed4df暂时解决了这个问题。

Do you use vpn when deploying projects? If so, how to set it?

@Jiayou-Chao
Copy link

Do you use vpn when deploying projects? If so, how to set it?

No, I don't use a VPN. I mean, this is definitely not the network issue. I can open localhost:4000 to use SearXNG with no issues. And commit e8ed4df works for me.

@streetmeat
Copy link

Same groq issues here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants