trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

trafficserver-8.0.6 issue in Ubuntu-20.04

Open saikumarscm opened this issue 3 years ago • 13 comments

HI I have installed trafficserver with version 8.0.6 in Ubuntu-20.06. For testing, tried curl command like curl -x http://trafficserer-ip:trafficserverport google.com. Command not responding after executing this command.

Issue: existing code traffic with broken pipe

Can anyone please advise.

saikumarscm avatar Sep 15 '22 11:09 saikumarscm

Please help on this issue.

saikumarscm avatar Sep 18 '22 10:09 saikumarscm

Can you attach logs and configs to this issue?

randall avatar Sep 19 '22 16:09 randall

Please make sure you have turn off this option: https://docs.trafficserver.apache.org/admin-guide/files/records.config.en.html#proxy-config-url-remap-remap-required .

bryancall avatar Sep 19 '22 23:09 bryancall

HI bryancall, Yes, I have make this 0 already.

image

But still issue coming.

saikumarscm avatar Sep 20 '22 15:09 saikumarscm

Hi randall, There is no logs coming, command is not coming. Like this coming.

image

Its not coming out from the command.

saikumarscm avatar Sep 20 '22 15:09 saikumarscm

Sorry,I was asking for trafficserver logs. I'm not sure where they would be in your environment. systemd possibly?

randall avatar Sep 20 '22 17:09 randall

Hi Randall, Thanks for the response. I have enabled logs and enabled debug logs, But no logs are writing in the diag.log and manager.log.

saikumarscm avatar Sep 21 '22 05:09 saikumarscm

Can you pass -v to the curl command?

Issue: existing code traffic with broken pipe

Where did the "broken pipe" come from?

maskit avatar Sep 21 '22 06:09 maskit

Hi maskit, Thanks for the update. Please find the below attachment for both curl -x and curl -v -x

image

saikumarscm avatar Sep 21 '22 08:09 saikumarscm

It seems like curl was able to connect to some server. If the IP address and port number are correct, you should see some debug log from traffic server.

Can you try this setting below? With this, you should see a lot of debug logs even without any connections.

CONFIG proxy.config.diags.debug.tags STRING .*

If you still don't see any errors with this, you are probably looking at a wrong log file.

maskit avatar Sep 21 '22 09:09 maskit

Hi maskit, I have enabled debug logs like this below.

CONFIG proxy.config.diags.debug.enabled INT 1 CONFIG proxy.config.diags.debug.tags STRING http|dns

I have configured logs path also in the traffic server, but its not updating and not generating squid.log.

We have tuned few OS parameters in Ubuntu, is this causing any issues ?

saikumarscm avatar Sep 21 '22 10:09 saikumarscm

Are you seeing any error messages? Can you post your logging.yaml file and records.config?

bryancall avatar Nov 02 '22 23:11 bryancall

This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

github-actions[bot] avatar Nov 03 '23 01:11 github-actions[bot]