Internal error has occured ... access error 500 #1778
-
Very much appreciate this! Thank so much How Shlink is set up on docker-compose.yml
SummaryWhen I go to https://example.com/url/whoami the browser returns "An unexpected error occurred" and the log returns [2023-05-08T14:13:06.716891-06:00] [22e85b08-96ed-491e-9551-48bf0a5996e2] Access.ERROR - - "GET /url/whoami HTTP/1.1" 500 28 Current behaviorWhen I go to https://example.com/url/whoami the browser returns "An unexpected error occurred" and the log returns [2023-05-08T14:13:06.716891-06:00] [22e85b08-96ed-491e-9551-48bf0a5996e2] Access.ERROR - - "GET /url/whoami HTTP/1.1" 500 28 after refreshing the page of the brower it forwards to the correct page. ie: https://example.com/whoam/ and the log shows: [2023-05-08T14:14:59.404806-06:00] [41bc9c74-6e37-4352-a110-25db9d270729] Access.INFO - - "GET /url/whoami HTTP/1.1" 302 0 When I use curl the same thing happens the first time and then subsequent times all is good. curl -X 'GET' Returns: enter same again: curl -X 'GET' returns: Suspecting that because of this error I am not able to connect to https://example.com/url on https://app.shlink.io Expected behaviorshould go directly the appropriator link without refreshing page. Curl should return information the first time. How to reproduceUse docker compose and create a link https://example.com/url/whoami that redirects to https;//example.com/whoami/ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There should be more information in the logs, like the full stack trace of the error. Can you share that? |
Beta Was this translation helpful? Give feedback.
Sorry for the late reply.... life got unexpectedly busy. I have changed from the stable tag to the latest tag and all seems to be going well.
This works well with traefik 2.9.10 and includes proper working cors including prefetch.
Here is the final docker-compose file: