Jina fail to crawl - Unknown error #5878

Closed
opened 2026-02-21 18:13:02 -05:00 by yindo · 4 comments
Owner

Originally created by @damadorPL on GitHub (Sep 30, 2024).

Originally assigned to: @JohnJyong on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.9.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

select Jina add key - type any url

✔️ Expected Behavior

No response

Actual Behavior

An exception occurred while running crawling job:
Unknown error

ReferenceError: DataSourceProvider is not defined
at ts (layout-4ee0e1eb4478d6bf.js:1:8274)
at 4340-39749c4cf15ab253.js:1:55145
at 4340-39749c4cf15ab253.js:1:42544
at Object.a_ (fd9d1056-7863749520a823c0.js:1:72147)
at aR (fd9d1056-7863749520a823c0.js:1:72301)
at fd9d1056-7863749520a823c0.js:1:139240
at sF (fd9d1056-7863749520a823c0.js:1:139339)
at sM (fd9d1056-7863749520a823c0.js:1:139753)
at fd9d1056-7863749520a823c0.js:1:145896
at o4 (fd9d1056-7863749520a823c0.js:1:93336)

Screenshot 2024-09-30 143818
Screenshot 2024-09-30 143836

Originally created by @damadorPL on GitHub (Sep 30, 2024). Originally assigned to: @JohnJyong on GitHub. ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.9.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce select Jina add key - type any url ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior An exception occurred while running crawling job: Unknown error ReferenceError: DataSourceProvider is not defined at ts (layout-4ee0e1eb4478d6bf.js:1:8274) at 4340-39749c4cf15ab253.js:1:55145 at 4340-39749c4cf15ab253.js:1:42544 at Object.a_ (fd9d1056-7863749520a823c0.js:1:72147) at aR (fd9d1056-7863749520a823c0.js:1:72301) at fd9d1056-7863749520a823c0.js:1:139240 at sF (fd9d1056-7863749520a823c0.js:1:139339) at sM (fd9d1056-7863749520a823c0.js:1:139753) at fd9d1056-7863749520a823c0.js:1:145896 at o4 (fd9d1056-7863749520a823c0.js:1:93336) ![Screenshot 2024-09-30 143818](https://github.com/user-attachments/assets/b2aef82c-c120-4c5d-a0e5-1222204b2159) ![Screenshot 2024-09-30 143836](https://github.com/user-attachments/assets/15ba9778-19d8-4296-b408-d134418ccf68)
yindo added the 🐞 bug label 2026-02-21 18:13:02 -05:00
yindo closed this issue 2026-02-21 18:13:02 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Sep 30, 2024):

I found two similar discussions that might be relevant to your issue:

  1. Expecting value: line 1 column 1 (char 0) - This discussion is still open and was last updated on September 20, 2024.
  2. Firecrawl configuration for datasource was disabled - This discussion is also open and was last updated on September 7, 2024.

Regarding the error you're encountering, it seems like the DataSourceProvider is not defined in your code. This could be due to a missing import or an issue with how the DataSourceProvider is being referenced in your JavaScript files.

To troubleshoot this, you might want to check the following:

  1. Ensure that DataSourceProvider is correctly imported or defined in the files where it is being used.
  2. Verify that there are no typos or incorrect paths in your import statements.
  3. Look for any recent changes or commits related to DataSourceProvider in the repository that might have introduced this issue.

If you need more detailed steps or further assistance, please let me know!

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Sep 30, 2024): <!-- Answer --> I found two similar discussions that might be relevant to your issue: 1. [Expecting value: line 1 column 1 (char 0)](https://github.com/langgenius/dify/discussions/8604) - This discussion is still open and was last updated on September 20, 2024. 2. [Firecrawl configuration for datasource was disabled](https://github.com/langgenius/dify/discussions/8080) - This discussion is also open and was last updated on September 7, 2024. Regarding the error you're encountering, it seems like the `DataSourceProvider` is not defined in your code. This could be due to a missing import or an issue with how the `DataSourceProvider` is being referenced in your JavaScript files. To troubleshoot this, you might want to check the following: 1. Ensure that `DataSourceProvider` is correctly imported or defined in the files where it is being used. 2. Verify that there are no typos or incorrect paths in your import statements. 3. Look for any recent changes or commits related to `DataSourceProvider` in the repository that might have introduced this issue. If you need more detailed steps or further assistance, please let me know! <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@BryceWG commented on GitHub (Sep 30, 2024):

I have the same issue as you

@BryceWG commented on GitHub (Sep 30, 2024): I have the same issue as you
Author
Owner

@74sistemas commented on GitHub (Sep 30, 2024):

me too

@74sistemas commented on GitHub (Sep 30, 2024): me too
Author
Owner

@damadorPL commented on GitHub (Sep 30, 2024):

local variable 'api_key' referenced before assignment

Now this error :)

@damadorPL commented on GitHub (Sep 30, 2024): local variable 'api_key' referenced before assignment Now this error :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#5878