https://linen.dev logo
#ask-community-for-troubleshooting
Title
# ask-community-for-troubleshooting
s

Sanchitha Sunil

01/10/2022, 5:44 PM
Hey guys, I have added clickhouse as a source, and S3 as a destination and tried to make a connection, I am getting
Failed to fetch schema. Please try again
. Does anyone know why?
👀 1
u

[DEPRECATED] Marcos Marx

01/10/2022, 5:47 PM
Hello @Sanchitha Sunil could you try adding the connection using the Source Page?
s

Sanchitha Sunil

01/10/2022, 6:34 PM
Thanks @[DEPRECATED] Marcos Marx for quick reply. Trying from the source page. It is still fetching. It's been already 30 mins.
Getting same error from source page as well.
Please let me how to fix this error. Thank you very much.
u

[DEPRECATED] Marcos Marx

01/10/2022, 10:53 PM
@Sanchitha Sunil please download the server logs and share it, probably there is the root cause error
s

Sanchitha Sunil

01/10/2022, 10:59 PM
Thanks @[DEPRECATED] Marcos Marx. Here is the log
Copy code
2022-01-10 09:48:24 [33mWARN[m i.a.s.s.AirbyteGithubStore(getLatestSources):68 - Unable to retrieve latest Source list from Github. Using the list bundled with Airbyte. This warning is expected if this Airbyte cluster does not have internet access.
java.io.IOException: Connection reset
u

[DEPRECATED] Marcos Marx

01/10/2022, 11:05 PM
This is not an error only a warning. From server logs there is not error; Maybe is something in the front-end side
Could you get the response in the Network tab from the call to discovery_schema endpoint?
s

Sanchitha Sunil

01/10/2022, 11:37 PM
sure, I am trying to reproduce the issue again . Takes 30-45mins.
@[DEPRECATED] Marcos Marx Captured logs from the network tab
Copy code
Request URL: <http://localhost:8000/api/v1/sources/discover_schema>
Request Method: POST
Status Code: 504 Gateway Time-out
Remote Address: [::1]:8000
Referrer Policy: strict-origin-when-cross-origin
here is the response:
Copy code
<!DOCTYPE html>
<html>
<head>
<title>Error</title>
<style>
    body {
        width: 35em;
        margin: 0 auto;
        font-family: Tahoma, Verdana, Arial, sans-serif;
    }
</style>
</head>
<body>
<h1>An error occurred.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>If you are the system administrator of this resource then you should check
the error log for details.</p>
<p><em>Faithfully yours, nginx.</em></p>
</body>
</html>
please find the attached har log
@[DEPRECATED] Marcos Marx Just wanted to check if anyone get a chance to look at the logs? Thank you!
u

[DEPRECATED] Marcos Marx

01/12/2022, 11:34 PM
I took a look but didnt find any meaningful error there
The server logs don’t have any error (beside the warn from github)
h

Hiroto Yamakawa

04/27/2022, 12:17 PM
Hi @Sanchitha Sunil, I have the same error here, were you able to fix it ? Did you have to set some parameters in Clickhouse?
11 Views