pip is configured with locations that require TLS/SSL
Randomly started getting this error while building a python service -
Project Id: 035791bb-b730-44dc-a2ac-2ee7394be7f0
Tried adding
libbz2-dev,libffi-dev,libssl-dev
Solution:Jump to solution
Okay so I found the issue -
As I was suspecting, there seems to be some issue with the latest nixpack base image
```ghcr.io/railwayapp/nixpacks:ubuntu-1695686596@sha256:863c9103f1ec289f4d8d56a656945c673b2d580080b96738e966e52e49463387 -> not working...
55 Replies
Project ID:
035791bb-b730-44dc-a2ac-2ee7394be7f0
okay tried adding NIXPACKS_LIBS openssl, tried with installing python-3.11 in every case its failing because of same issue
can someone from railway help here
https://railway.app/project/035791bb-b730-44dc-a2ac-2ee7394be7f0/service/10319341-508c-4c07-8555-75859f774b9d?id=1e066c5a-6947-473d-9557-db021e27938a till this build everything seems normal
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
have you tried install openssl too?
its already installed
can you provide a minimal reproducible example repo that will result in this error when deployed to railway?
pick any basic python code with requirements.txt
could you provide a minimal reproducible example repo please?
GitHub
GitHub - uber/Python-Sample-Application
Contribute to uber/Python-Sample-Application development by creating an account on GitHub.
thank you but I don't think I'd exactly use minimal to describe that
Can you deploy it for me Brody I am away from computer and I can’t test it
I am also away from my computer, but I definitely will when back in a bit
Akshay, you didn’t change anything with your application right?
nothing from requirement and NIXPACKS perspective
!team
Thread has been flagged to Railway team by @Angelo.
that repo fails with a completely different error, please provide a minimal reproducible example that fails with the error you are running into
that repo wants python 2, its from 9 years ago
if anyone from the team comes to it -
this is where its failing
@Brody I know you are trying to help, but its not helping :). Thanks for your concern though (and I saw eye rolling reaction) you could have kept it as is 🙂
just so that you know - I have a complicated monorepo where I have customized too many things - I need someone who has access to my structure and help there
a minimal reproducible example would help the team debug this now, and they would implement it into their testing projects to help prevent this in the future
again, I have too many things customized to come up with a minimal thing and that would not reflect anything correctly
it would be extremely helpful if you could provide that
as long as it reproduces the error
if you have time (as you are insisting), steps to create a minimal strucutre
1. create a nx workspace node repo
2. add a python app
3. add any basic requirement to it
4. try running
I am moving my setup to another provider in-between
as I can't wait someone to debug at the moment
would you happen to be on the pro plan?
yes
okay then perfect, but the team has left for a workcation, so you would have plenty of time to slap together an example that fails in the same way your app does
yeah - but my business doest care about workcation right? Perfectly working things break randomly here :). Thanks for your help though and if you feel I am being rude (sorry for that) but I am super pissd at the quality here
so I will spend time on moving out of the setup asap
this is community support, I am just a community member, and the attitude you have displayed towards me is unacceptable, if you do decide to stay please be more respectful to me and the community going forward
locking thread now, a team member will unlock it if they so desire
Hopping in here, you as a hobby plan user are not entitled to help from the Railway team in the slightest. The only assistance you have access to is community support. If you are rude to the community, you will not recieve that support
If you want direct help from the team, upgrade to the Pro plan. There is no SLA, but you gain access to the support email.
I am on Pro plan
What is your team id?
6f33a839-e42a-436b-b47b-c64e568c94e6
Great thanks, looks like the bot failed to apply your Pro plan role
If you are rude to the community, you will not recieve that supportAgain, I was not being rude, but trying to tell Brody multiple times that he may not be able to help here and I need someone from the team to help me out as I have a complex strucutre And recreating it for the sake of it is a time waste for me as I have a few time sensitive things going on I have said sorry even before he locked the thread
No, you were being rude. This is an issue that the team is not needed on as it's not an issue with the platform, but an issue with your configuration. This sort of issue is handled 10x a day by helpers in this server (namely, Brody)
No, you were being rude.Agreed and accepted (I have said this earlier as well)
The team is on vacation so they will not be responding. Additionally, it's the weekend. Community support is your only resource at the moment
again - this is not a config issue its a platform issue (nix pack version) as this exact thing was working till yesterday
sure 👍
I have dropped an email
Reading back on your messages so I can help, these are not reproducible steps. I currently have a node monorepo with a python service included that is running perfectly fine
can you share the sample?
No, it's private.
How do you have your monorepo setup on Railway? Are all the processes running on one service or are they split out?
okay can you try to re-deploy that now? or you have done it in last 2 hours?
one app per service
I pushed a commit after reading this thread, everything is working fine
And just your python service is failing?
yes
Please send the deployment/build logs. Whatever it's failing at
@Adam here. this fails when I trigger pip3 install -r requirements
Is this the repo you're aiming to deploy? This doesn't seem like a monorepo
for check I added a line (that's recommended by most threads) `python -m ssl``
no no - that's not the repo I am trying to deploy
mine is a private one
the message I linked before is the core error
Please send the full logs, there's more info I need
https://bookmarklets.up.railway.app/log-downloader/
DMed you
Seems like you're missing the "glibc" package. Please add it as a package in nixpacks.toml
Hey Akshay, a few things I wanna bring up here & on what Brody/Adam has communicated:
* Yes we’re currently all busy with travel, but we stay true to the objective of resolving issues for Pro plan users in 3-5 business days (North America times if that matters, and we don’t answer support requests over weekends unless for certain customers on Enterprise or https://docs.railway.app/reference/support#business-class). It’s business as usual for us, and our travels do not affect that
* You were asked for a minimal reproduction example, and while that can be hard for you to produce due to the complexity of your setup, the onus on providing information+context+what helps us figure it out is on you, and you were defensive about that. We want to help you, but you need to help us help you
I understand you’re on a timeline, but you have absolutely zero right to bulldoze in here. Your tone and conduct is not appreciated in this community, neither is “let’s bring it to DM”
@Ray we have established that I was rude, have no right to bulldoze or talk disrespectfully.
I have explicitly accepted and agreed to that, and said sorry explicitly to Brody.
I mis-understood pro support is explicitely though email, I considered this as the main channel.
Not sure how DMing is wrong here though, I don't want to share all the logs publicly at the moment, so shared on DM. If that violates the community rules, I apologies for that.
Gotcha, and I’d like to reiterate that yet again for the sake of the community.
Pro support isn’t only through emails FWIW, but most issues can get resolved here - you just need patience and willingness to work with whomever’s helping. Brody/Adam have intimate knowledge of the platform and can probably help you better than we can - we mostly deal with Railway-related bugs instead of project/setup specific help
It’s not “no DMs” but if you need to share extremely sensitive things, emailing us is preferred. Other users typically redact sensitive info from their logs before they send it here in the open, so that’s something you can consider doing
Otherwise, dump it in email and we’ll pick it up
What they’re asking for is also exactly what we’d ask for
My bottom line is if you want help, you need to help us to help you
Solution
Okay so I found the issue -
As I was suspecting, there seems to be some issue with the latest nixpack base image
For now I have fixed it by writing my custom dockerfile
@Adam @Brody thanks for your help 👍