Replies: 11 comments 13 replies
-
This is indeed weird, but it may indicate a network problem. Are you able to see the login request being sent in your browser's developer tools (Network tab), when pressing the login button? And if you do, are you getting a response, and if so, what does it say? |
Beta Was this translation helpful? Give feedback.
-
It gets to the server No idea what it means though. |
Beta Was this translation helpful? Give feedback.
-
Sorry to bother you, but this is where my limited knowledge hits Gives me Not sure if I need to uncomment environment as well? |
Beta Was this translation helpful? Give feedback.
-
OK Need to figure the colon as https://docs.dependencytrack.org/getting-started/configuration/ Does not seem to indicate them |
Beta Was this translation helpful? Give feedback.
-
OK so.... DT Started, but it did not fix it, have I missed something? I note that you said from line 73 above but I did it from line 72, but either way I still have the same problem :-( |
Beta Was this translation helpful? Give feedback.
-
I believe so |
Beta Was this translation helpful? Give feedback.
-
Hi Niklas, I might have fixed it and it is so so so annoying.
Swapped it from https to http as https is not yet supported. It is exceptionally weird as it ran for nearly a year with this setting and no issues and the temp server has it like that with no issues. Bit more testing, but fingers crossed. |
Beta Was this translation helpful? Give feedback.
-
That seems to be it. Just in case anyone else needs a cause and solution in very, very layman's terms. The cors problem appears to be when the system you are sending a call to responds with a response that makes it look like a different system is responding. Many systems do this and it is OK as long as the system is configured to support it. For us, we had not changed anything and the system had been fine for months and months with the current docker-compose.yml file and then it just stopped dead in allowing people to log in. The long and the short of it is that Dependency Track does not yet support HTTPS, but we had our server defined as
I can only guess that something changed either on the server or DT or browsers that stopped this being allowed. Changed it to the following and all seems to be OK.
(Base docker-compose.yml has
So should have seen it when we changed that) |
Beta Was this translation helpful? Give feedback.
-
Nop that does not appear to be it! |
Beta Was this translation helpful? Give feedback.
-
Ignore that it was it! |
Beta Was this translation helpful? Give feedback.
-
That did not fix my login CORS Problem: frontend base URL: And CORS is NOT commented out in the .yml- file:
|
Beta Was this translation helpful? Give feedback.
-
Did a complete refresh of my DT instance with the latest containers etc and deleted the DB as it would not migrate.
Came up fine.
Logged in with admin/admin and changed the pwd
Created a number of teams and IDs
I logged in with mine. All OK, can create projects etc.
My colleague could not with the default password I gave them.
I logged out and tried with their ID and pwd and could get in.
So we cleared cache, tried different browsers, rebooted, restarted DT nothing.
I could still log in, so I logged out again and I tried with theirs again and still OK, but now I can no longer log in with mine, admin or theirs.
Symptoms are enter the ID and PWD, select login button and absolutely nothing happens. No response whatsoever.
Any suggestions gratefully received.
I have come across this in the past for a smaller server and I have no idea what made it work.
I was working on Firefox, logged in with theirs on FF and then tried the Safari that they are using and that seems to possibly be what has broken me on either browser. (I think).
I do not want to have to rebuild it again, when it might be something simple.
Oh and no log errors either. The login page comes up fine. Just weird!
Beta Was this translation helpful? Give feedback.
All reactions