Open sesscon opened 6 months ago
Estou com mesmo problema
Hey @sesscon
Are you still facing issues with the last release ?
If not i will mark this issue as solved
Same issue here. Logs show a successful connection as in @sesscon 's logs.
Maybe this could help. It's not a ubuntu specific issue. On other devices the JS files are requested from localhost instead of the IP:
Found a workaround. I don't know if some of these steps aren't neccessary.
make build
sed -i 's#http://localhost:8080#https://your-domain-to-api.com#g' ./path-to-file
for /apps/OpenSignServer/index.js
, apps/OpenSignServer/runmigrate.js
, apps/OpenSign/build/static/js/main.b9b562fb.js
, apps/OpenSign/.env
and .env
sed -i 's#http://localhost:3000#https://your-domain.com#g' ./path-to-file
for apps/OpenSign/build/static/js/main.b9b562fb.js
, apps/OpenSign/.env
and .env
docker compose up -d
Thanks for the workaround.
R/S
Patrick J Huwiler Chief Technology Officer Advanced Business Resources (ABR) +1.414.702.4062 @.*** www.abrsecgroup.com
"The new standard in full-spectrum family office & corporate security."
Confidentiality Notice: The information contained in this email and any attachments may be legally privileged and confidential. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying, or use of this email or any attachment for any purpose, or taking any action in reliance on this email or the content contained herein is strictly prohibited. If you have received this email in error, please notify the sender and permanently delete the email and any attachments immediately.
On Thu, Jun 13, 2024 at 10:21 AM cube one @.***> wrote:
Found a workaround. I don't know if some of these steps aren't neccessary.
- make build
- Stop the docker containers
- sed -i 's#http://localhost:8080#https://your-domain-to-api.com#g' ./path-to-file for /apps/OpenSignServer/index.js, apps/OpenSignServer/runmigrate.js, apps/OpenSign/build/static/js/main.b9b562fb.js, apps/OpenSign/.env and .env
- sed -i 's#http://localhost:3000#https://your-domain.com#g' ./path-to-file for apps/OpenSign/build/static/js/main.b9b562fb.js, apps/OpenSign/.env and .env
- Delete the docker containers and images
- docker compose up -d
— Reply to this email directly, view it on GitHub https://github.com/OpenSignLabs/OpenSign/issues/647#issuecomment-2165820489, or unsubscribe https://github.com/notifications/unsubscribe-auth/A54N53XX2EIGQCIIST7ENWDZHGTH7AVCNFSM6AAAAABGZNV3WWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRVHAZDANBYHE . You are receiving this because you were mentioned.Message ID: @.***>
-- The content of this email is intended for the person or entity to which it is addressed only. This email may contain confidential information. If you are not the person to whom this message is addressed, be aware that any use, reproduction, or distribution of this message is strictly prohibited. If you received this in error, please contact the sender and immediately delete this email and any attachments.
I wasn't able to replicate the workaround.
Steps and Actions Taken
Change API and service references in the OpenSign application from localhost to 127.0.0.1 for local development, and ensure everything functions correctly using Docker and Nginx as a reverse proxy.
Modifications Using sed: Attempted to replace http://localhost with http://127.0.0.1 in configuration files to ensure proper referencing in a local context. Specific changes included:
sed -i 's#http://localhost:8080#http://127.0.0.1:8080#g' ./apps/OpenSignServer/index.js
sed -i 's#http://localhost:3000#http://127.0.0.1:3000#g' ./apps/OpenSign/build/static/js/main.131345f3.js
sed -i 's#http://localhost:3000#http://127.0.0.1:3000#g' ./apps/OpenSign/.env
Stopped and removed the running Docker containers with:
Cleared Docker images associated with the application to eliminate any outdated versions:
docker compose down --rmi all
docker compose up -d
--
Still have the same problem
Issue Description
Followed all instructions including modifying the .env file. However, when the site renders I can see the favicon but nothing is rendered for the site.
Here is a local curl:
<!doctype html>
Expected Behavior
OpenSign site is rendered and ready for use.
Current Behavior
No webpage is being rendered.
Steps to reproduce
Followed Instructions, confirmed each step.
Screenshots of the issue(optional)
No response
Operating System [e.g. MacOS Sonoma 14.1, Windows 11]
Ubuntu 22.04
What browsers are you seeing the problem on?
Chrome, Firefox, Microsoft Edge
What version of OpenSign™ are you seeing this issue on? [e.g. 1.0.6]
Latest Release
What environment are you seeing the problem on?
Dev (localhost or vercel)
Please check the boxes that apply to this issue report.
Code of Conduct