Getting Data In

How to troubleshoot and fix the website input 504 Gateway Timeout Error while configuring an input ?

Hemnaath
Motivator

Hi All, seeking help on this!

For POC purpose I was trying to configure the google.com home page into Splunk website inputs app, when Defining CSS selector ,under the page preview tab google.com page is not getting loaded. When checked the Health tab from the app could see this error details

Error Details:

2021-04-12 15:10:34,759 ERROR Exception generated while attempting to content for url=https://www.google.com/

Traceback (most recent call last):

  File "/opt/splunk/etc/apps/website_input/bin/website_input_ops_rest_handler.py", line 285, in get_load_page

    content = web_client.get_url(url, 'GET')

  File "/opt/splunk/etc/apps/website_input/bin/website_input_app/web_client.py", line 492, in get_url

    raise ConnectionFailure(str(e), e)

ConnectionFailure: <urlopen error Tunnel connection failed: 504 Gateway Timeout>, caused by URLError(error('Tunnel connection failed: 504 Gateway Timeout',),)

 I am using  Splunk Enterprise trial version (Single instance)  and is running in the AWS cloud instance, While configuring the app I have provide Splunk proxy server details  with http port 80.

Initially I thought it might be due to firewall block,  but when executed the curl command from the putty and could see the page is getting loaded with out any error and also checked with the systems team and found that under security group for my instance the port 80,8080 and 443 are open for incoming traffic.

Can any one throw some lights on this issue. 

Labels (1)

splunkettes
Path Finder

did you ever resolve this issue? 

0 Karma

DanielPi
Moderator
Moderator

Hi @splunkettes  -

I’m a Community Moderator in the Splunk Community. 
This question was posted 4 years ago, so it might not get the attention you need for your question to be answered. We recommend that you post a new question so that your issue can get the  visibility it deserves. To increase your chances of getting help from the community, follow these guidelines in the Splunk Answers User Manual when creating your post.

Thank you! 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...